/* To determine the maximum and minimum of V1 */
data before3;
input v1 v2 v3;
cards;
3 2 1
4 6 5
2 1 3
6 5 4
1 3 2
5 4 6
;
run;
Answers were Sorted based on User's Feedback
Answer / chandrakanth
proc means data=befor3 max min;
var v1;
run;
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / venkatesh
proc tabulate data=datasetname;
var v1;
table (min max)*v1;
run;
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / alok karan
/* To determine the maximum and minimum of V1 */
data before3;
input v1 v2 v3;
cards;
3 2 1
4 6 5
2 1 3
6 5 4
1 3 2
5 4 6
;
run;
proc sql;
select max(v1)as maximum , min(v1) as minimum
from before3;
quit;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sonia
Obs v1 v2 v3
1 3 2 1
2 4 6 5
3 2 1 3
4 6 5 4
5 1 3 2
6 5 4 6
| Is This Answer Correct ? | 0 Yes | 4 No |
what is the purpose of _error_? : Sas programming
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
How would you delete duplicate observations?
Hi, I have one dataset, could you please ans for this. id amount paid_amount 1 700 400 2 900 250 3 300 300 a 400 250 b 500 320 c 800 650 x 200 190 y 900 250 z 300 180 i want create new dataset having id and paid_amount who are paid high amount comparing amount. ex: 1d paid_amount 3 300 c 650 x 190
What are exact SAS Base contents..?N what r SAS Tools..?
How to create an external dataset with sas code?
Differentiate between format and informat? : sas-grid-administration
What is difference between N and n????
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
How to specify variables to be processed by the freq procedure?
What would be the value of month at the end of data step execution and how many observations would be there?
What is the general format of function in sas? : sas-grid-administration