/* 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 |
i have a dataset with var1,var2,var3; i want to upload the titles for the variables . How can we?
Differentiate between ceil and floor functions.
tell me about intnx, intcx functions?
How can a SAS WEB REPORT STUDIO USER identify which report tabs they have been permitted without entering the SAS WEB REPORT STUDIO
Name and describe three SAS functions that you have used, if any?
What does the RUN statement do?
tell me about use of arrays in sas
Given an unsorted data set, how to read the last observation to a new data set?
how to delete the duplicates by using proc sql?
List down the reasons for choosing sas over other data analytics tools.
what is the use of proc sql? : Sas programming
What is the purpose of _error_?