/* 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 are the joins,types of joins and thier functions?
How sas treats the dsd delimiters?
Have you been involved in editing the data or writing data queries?
1 Answers BioServe, Oracle, Sasken,
what is hash files in sas and why we are using this one in sas?
Are the preferred term counts are always equal to Body system counts? If so, Why are they equal if not why they are not equal?
i have a macro variable var1,var2. i want titles for the each macro variable separately? how it is possible?
What are the difference between the sas data step and sas procs?
for what purpose would you use the retain statement? : Sas programming
what is null hypothesis? why do you consider that?
0 Answers Accenture, Quintiles,
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What is univariate n where it can be used n how...?
Can we replace a dataset into view?