This preview shows pages 1–2. Sign up to view the full content.
SAS
In Class Exercise 2
1.
You have a SAS data set called college.sas7bdat (copy it to your SASdata folder).
a.
Compute the mean, median, minimum, maximum and the number of both missing
and nonmissing values for the variables ClassRank and GPA.
b.
Repeat part a, except compute the desired statistics for each combination of
Gender and SchoolSize. Do this twice, once using a BY statement, and once using
a CLASS statement.
c.
Report the mean and median GPA and ClassRank broken down by school size
(SchoolSize). Do this twice, once using a BY statement, and once using a CLASS
statement.
d.
Create a summary data set (call it Class_Summary) containing the n, mean, and
median of ClassRank and GPA for each value of SchoolSize. Use a CLASS
statement and be sure that the summary dataset only contains statistics for each
level of SchoolSize.
e.
Construct a 90% confidence interval for
μ
GPA
.
f.
Test the hypothesis H
0
:
μ
GPA
= 3.75 vs H
a
:
μ
GPA
≠
3.75 with
α
= 0.05
g.
Produce frequencies for the variables Gender and Scholarship.
h.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
 Spring '11
 Park

Click to edit the document details