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. The appropriate null hypothesis is …(use 2 decimal places, 2 dp) H0: pi1 = 0.30, pi2 = pi3 = pi4 = 2. What is the value of the test statistic?(2 dp) 3. How many students were enrolled in Term 1? (integer)
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. The appropriate null hypothesis is …(use 2 decimal places, 2 dp)
H0: pi1 = 0.30,
pi2 =
pi3 =
pi4 =
2. What is the value of the test statistic?(2 dp)
3. How many students were enrolled in Term 1? (integer)
Given :
Step by step
Solved in 4 steps with 1 images