{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

sol5S09

# sol5S09 - PSTAT 120C Solutions for Assignment#5 1 The data...

This preview shows pages 1–2. Sign up to view the full content.

PSTAT 120C: Solutions for Assignment #5 May 22, 2009 1. The data has marginal totals: Favor Oppose Don’t know Attends Every week 167 78 16 261 Church Every month 260 113 16 389 Services Never 258 81 14 353 685 272 46 1003 From this we can construct a table of the expected values, E i,j = r i c j /n : Favor Oppose Don’t know Attends Every week 178.25 70.78 11.97 261 Church Every month 265.67 105.49 17.84 389 Services Never 241.08 95.73 16.19 353 685 272 46 1003 Thus the χ 2 statistic is X 2 = (167 - 178 . 25) 2 178 . 25 + (78 - 70 . 78) 2 70 . 78 + (16 - 11 . 97) 2 11 . 97 + (260 - 265 . 67) 2 265 . 67 + (113 - 105 . 49) 2 105 . 49 + + (16 - 17 . 84) 2 17 . 84 + (258 - 241 . 08) 2 241 . 08 + (81 - 95 . 73) 2 95 . 73 + (14 - 16 . 19) 2 16 . 19 = 0 . 710 + 0 . 737 + 1 . 357 + 0 . 121 + 0 . 534 + 0 . 190 + 1 . 187 + 2 . 266 + 0 . 296 = 7 . 398 The critical value for α = 0 . 05 chi-squared random variable with ( r - 1)( c - 1) = 4 degrees of freedom is 9.48773 which is bigger than our test statistic. Therefore, even though a somewhat higher proportion in the sample of those that never attend services favor the legislation, there is not a statistically significant difference between the three groups. There is not evidence that people opposing the legislation are more likely to be church attendees.

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.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern