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?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

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

-The proportions could be as stated.
-Some proportions significantly differ to those in the null hypothesis.
Expert Solution
Step 1

Test is that whether the proportions are same as stated in the null hypothesis.

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman