/* 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 |
name few built in sas transformation in DI studio ?
Does SAS ‘Translate’ (compile) or does it ‘Interpret’? Explain.
Which date functions advances a date time or date/time value by agiven interval?
what is the diff. b/w proc means and proc summary?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Which command is used to perform sorting in sas program?
why is a stop statement needed for the point=option on a set statement? : Sas programming
In which case u go for libname and in which case u go for proc sql pass thru facilit diff?
There is a river notoriously known for it?s large crocodile population. With ease, how do you safely cross it?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
What are the different types of sas functions?
is data integration and etl programming is same? : Sas-di