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)

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. 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)

Expert Solution
Step 1

Given :

Statistics homework question answer, step 1, image 1

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE 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