Knapp – Stat 350
Lab #5:
Page 1 of 8
Lab 5 Assignment SOLUTION
Due Wednesday, March 5, 2008 at the beginning of class
The following is what you need to submit for this lab.
It should be done using a word processor
(
e.g.
, Microsoft Word).
Conduct the following analyses using SAS.
For all tests below, use a significance level of
0.05.
The National Center for Education Statistics collects data on undergraduate students
enrolled in U.S. colleges and universities.
The following table gives counts of undergraduate
enrollment in 4 different classifications for program and age group:
Program
2year
fulltime
2year
parttime
4year
fulltime
4year
parttime
Age
Under 18
36
98
75
37
18 to 21
1126
711
3270
223
22 to 34
634
1575
2267
1380
35 and over
221
1092
390
915
a.
Conduct a ChiSquared Test of Homogeneity to determine whether there is a significant
relationship between the age of a student and the type of program they are enrolled in
(based on the four classifications).
Give the value of the Chisquare statistic, the degrees
of freedom, the
p
value, and clearly state your conclusion.
χ
2
= 2915.1396
df
= 9
p
value < 0.0001
Conclusion:
There is a statistically significant relationship between a student’s age and
the program in which a student is enrolled.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentKnapp – Stat 350
Lab #5:
Page 2 of 8
b.
Now test whether there is a relationship between the agegroup of the student and
whether they are enrolled fulltime or parttime.
Give a 2way table to summarize the
data under these conditions, and then give the value of the Chisquare statistic, the
degrees of freedom, the
p
value, and clearly state your conclusion.
Age
full time
part time
Under 18
111
135
18 to 21
4396
934
22 to 34
2901
2955
35 and over
611
2007
χ
2
= 2770.0743
df
= 3
p
value < 0.0001
Conclusion:
There is a statistically significant relationship between a student’s age and
whether they are enrolled fulltime or parttime.
c.
Now test whether there is a relationship between the agegroup of the student and
whether they are enrolled in a 2year program or a 4year program.
Give a 2way table
to summarize the data under these conditions, and then give the value of the Chisquare
statistic, the degrees of freedom, the
p
value, and clearly state your conclusion.
Age
2year
4year
Under 18
134
112
18 to 21
1837
3493
22 to 34
2209
3647
35 and over
1313
1305
χ
2
= 211.4828
df
= 3
p
value < 0.0001
Conclusion:
There is a statistically significant relationship between a student’s age and
whether they are enrolled in a 2year or 4year program.
d.
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '08
 Staff
 Statistics, Fulltime, Parttime, Chisquare distribution, Pearson's chisquare test, Fisher's exact test

Click to edit the document details