/* 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 is SAS/Graph?
What is the basic structure of the SAS base program?
What are SAS/ACCESS and SAS/CONNECT?
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?
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 is incremental update ? is this possible in SAS OLAP CUBE STUDIO.
Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.
What is the order of evaluation of the comparison operators: + - * /** ()?
Can you execute a macro within a macro? Describe. : sas-macro
what is the Population you used in your project, is it ITT or PP?
0 Answers Accenture, Quintiles,
Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?
What are the statements in proc sql?