student raised, and the number of hours each student volunteered. A DATA step creates
this data set.
data charity;
input School $ 1-7 Year 9-12 Name $ 14-20 MoneyRaised 22-26
HoursVolunteered 28-29;
datalines;
Monroe 2007 Allison 31.65 19
Monroe 2007 Barry 23.76 16
Monroe 2007 Candace 21.11 5
. . . more data lines . . .
Kennedy 2009 Sid 27.45 25
Kennedy 2009 Will 28.88 21
Kennedy 2009 Morty 34.44 25
;
Specify the analyses and the analysis options. FW= uses a field width of eight and
MAXDEC= uses two decimal places to display the statistics. ALPHA=0.1 specifies a
90% confidence limit, and the CLM keyword requests two-sided confidence limits.
MEAN and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.