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


Please Help Members By Posting Answers For Below Questions

What are the different operating system platforms in which we can use sas? : sas-grid-administration

586


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

559


What is the length assigned to the target variable by the scan function?

668


what is null hypothesis? why do you consider that?

2413


Mention what is SAS data set?

668






What is SAS?

616


Do you need to rearrange the order of the data for the report?

1828


What is factor analysis?

656


How to sort in descending order?

781


what is hash files in sas and why we are using this one in sas?

1722


how will you locate the sas platform applications? : Sas-bi

576


Differentiate between proc means and proc summary.

599


Explain data_null_?

602


What is the difference between using drop = data set option in data statement and set statement?

634


what is sas business intelligence? : Sas-bi

582