The following SAS program is submitted:
proc means data = sasuser.houses std mean max;
var sqfeet;
run;
Which one of the following is needed to display the standard deviation with only two decimal places?
A. Add the option MAXDEC = 2 to the MEANS procedure statement.
B. Add the statement MAXDEC = 7.2; in the MEANS procedure step.
C. Add the statement FORMAT STD 7.2; in the MEANS procedure step.
D. Add the option FORMAT = 7.2 option to the MEANS procedure statement.
Click Comment link to get answer
A
ReplyDeleteA
ReplyDeleteAnswer is A
ReplyDeleteOther commonly used options available in PROC MEANS include:
ReplyDelete• DATA= Specify data set to use
• NOPRINT Do not print output
• MAXDEC=n Use n decimal places to print output
So the Answer is A
Answer is A
ReplyDeletei dont understand that A is answer because, it will change std, mean and max to two decimal points. it would be better to use the statement C in the PROC MEAN step. which would only change the format of STD.
ReplyDeleteHi praveen sir
DeletePraveen because format statement is not supported / valid in proc means.
ReplyDeleteThnx.. i made a mistake..
ReplyDeleteVery helpful suggestions that help in the optimizing website.
ReplyDeletethank for sharing the link
goldenslot
gclub
gclub casino
a
ReplyDeleteA
ReplyDelete