/* 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;
Answer Posted / 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 |
Post New Answer View All Answers
Explain proc sort?
What is the basic syntax of a sas program?
Describe 5 ways to do a “table lookup” in SAS?
How do you use the do loop if you don’t know how many times you should execute the do loop?
State the difference between INFORMAT and FORMAT ?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
What do you understand by the term Normal Distribution?
what has been your most common programming mistake? : Sas programming
what is the use of proc contents and proc print in sas? : Sas-administrator
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Which function is used to count the number of intervals between two sas dates?
What does the trace option do?
what is the purpose of _error_? : Sas programming
Describe crosslist option in tables statement?
What is the differnce between SDTM 3.1.2 to 3.1.1 version