This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: STAT 350 Fall 2008 Lab #5 Solution DUE: Friday, October 24th @ the beginning of class Conduct the following analyses using SAS. For all tests below, use a significance level of 0.05. The marketing department at a technical college wanted to conduct an analysis of its current enrollment. The following table gives counts of the college's students in 4 different classifications for program and age group. Program 2year fulltime 2year parttime 4year fulltime 4year parttime Under 18 5 5 8 4 18 to 21 82 71 198 22 22 to 34 63 157 227 138 Age 35 and over 22 57 39 92 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 pvalue, and clearly state your conclusion. 2 = 162.7233 df = 9 pvalue < 0.0001 Conclusion: There is a statistically significant relationship between the age of a student and the type of program he/she is enrolled in. In other words, age and program are not independent. Lab #5 Solution Page 1 of 9 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 pvalue, and clearly state your conclusion. fulltime parttime Under 18 13 9 18 to 21 280 93 22 to 34 290 295 Age 35 and over 61 149 2 = 124.1684 df = 3 pvalue < 0.0001 Conclusion: There is a statistically significant relationship between the age of a student and whether the student is enrolled full or parttime. In other words, age and full/part time status are not independent. 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 pvalue, and clearly state your conclusion. 2year 4year Under 18 10 12 18 to 21 153 220 22 to 34 220 365 Age 35 and over 79 131 2 = 1.6570 df = 3 pvalue = 0.6465 Conclusion: There is NO statistically significant relationship between the age of a student and whether the student is enrolled in a 2 or 4year program. In other words, age and 2/4year program are independent. Lab #5 Solution Page 2 of 9 d. Now test whether there is a relationship between whether a student is enrolled in a 2year or 4year program and whether the student is 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 pvalue, and clearly state your conclusion....
View Full
Document
 Fall '08
 Staff

Click to edit the document details