/* 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
What would be the value of month at the end of data step execution and how many observations would be there?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
what has been your most common programming mistake? : Sas programming
what is treatment emergent events and treatment emregent adverse event
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
what is star schema? : Sas-di
Which function is used to count the number of intervals between two sas dates?
why is a stop statement needed for the point=option on a set statement? : Sas programming
What is substr function?
How does proc sql work?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
Explain what is the use of proc gplot?
what is sas metadata server? : Sas-di
What are the applications primarily used by business analyst? : Sas-bi