1. LON-CAPA Logo
  2. Help
  3. Log In
 

Browsing resource, all submissions are temporary.


χ2 Goodness-of-Fit Test

In a combined Stat 100 and Stat 200 survey in Fall 2017, one question asked was "What month were you born in?". The data can be downloaded here and then loaded to R using the command

f17 <- read.csv("stat100_200_2017fall_survey04.csv")

A description of the column variables can be found on this webpage. Explore the data.

We want to test the following hypothesis:

H0: Students in Stat 100 and Stat 200 were born with equal probability in each month.

  1. Assuming H0, what is the expected proportion of students born in each month? Round your answer to 3 decimal places.

  2. Expected proportion =

     Tries 0/5

  3. Now look at the survey data. What are the largest and smallest proportion of students born in the 12 months? Which months have the largest and smallest proportion?

  4. Largest proportion = (round to 3 decimal places) in

     Tries 0/5

    Smallest proportion = (round to 3 decimal places) in

     Tries 0/5

  5. Perform a χ2 goodness-of-fit test. Calculate the p-value [i.e. P(χ2 > observed χ2 | H0)]. Then use it to determine if the data is consistent with the hypothesis H0 at the 5% significance level.

  6. p-value = (round to 3 decimal places)

    Reject H0 at 5% significance level?


     Tries 0/5

    The next two parts of the problem will show up after you finish parts (a)-(c).