Under the null hypothesis, how many students were expected to be enrolled in Term 1? (2 dp) 2. What are the degrees of freedom for this test? Answer 3. Using a significance level of 0.05, would you Not reject the null hypothesis?
Professor takes a random sample of students enrolled in Statistics 301 at Earth University where students are in one of four terms of their degrees.
He finds the following: there are 25 first term students in the sample, 32 second term students, 18 third term students and 20 final term students.
Professor decides to help you and use the R program to carry out this test.
The code and output are as follows:
null.probs = c(0.3,0.2,0.3,0.2)
freqs = c(25, 32, 18, 20)
chisq.test(freqs, p=null.probs)
barplot(freqs, main="Distribution of Stat 101 Students", horiz=FALSE, xlab="Term", names.arg= c("First", "Second", "Third", "Fourth"), col="blue")
Chi-squared test for given probabilities
data: freqs
X-squared = 13.24561, df = 3, p-value = 0.004134
Use the output to test the appropriate hypothesis.
1. Under the null hypothesis, how many students were expected to be enrolled in Term 1? (2 dp)
2. What are the degrees of freedom for this test? Answer
3. Using a significance level of 0.05, would you
Not reject the null hypothesis? | Reject the null hypothesis? |
choose from below
Test is that whether the proportions are same as stated in the null hypothesis.
Step by step
Solved in 2 steps