Can you calculate the mean, median and mode of the following data set
using data step logic? Don't use any function or procedure.
data a;
input age @@;
datalines;
22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46
56 19 20
;
run;
I have calculated the mean which i have posted in the answer section.
Answer Posted / +59+
651
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
what is sas and what are the functions? : Sas-administrator
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
What is the use of PROC gplot?
What is the difference between reading data from an external file and reading data from an existing data set?
To what type of programms have you used scratch macros?
What are the difference between ceil and floor functions in sas?
what is the difference between nodup and nodupkey options? : Sas programming
What are the difficulties u faced while doing vital signs table or dataset?
what are 5 ways to perform a table lookup in sas? : Sas-administrator
Differentiate between ceil and floor functions.
How do you debug and test your SAS programs?
Which command is used to save logs in the external file?
how can you create zero observation dataset? : Sas programming
what is hierarchy flattening? : Sas-di
What is the basic syntax of a sas program?