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
I need level 2 to 5 sas using companies in india
what is function of retain statment
Explain proc univariate?
Mention common programming errors committed in sas ?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
which date functions advances a date time or date/time value by a given interval? : Sas programming
Explain the difference between nodup and nodupkey options?
What do the put and input function do?
How to test the debugging in sas?
What is the command used to find missing values?
how can you create zero observation dataset? : Sas programming
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
what is the difference between nodup and nodupkey options? : Sas programming
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
How do you use the do loop if you don’t know how many times you should execute the do loop?