Question

The categories of a categorical variable are given along with the observed counts from a sample....

The categories of a categorical variable are given along with the observed counts from a sample. The expected counts from a null hypothesis are given in parentheses. Compute the χ2-test statistic, and use the χ2-distribution to find the p-value of the test.

Category A B C D

Observed
   (Expected)

25(20) 35(40) 50(60) 90(80)



Round your answer for the chi-square statistic to two decimal places, and your answer for the p-value to four decimal places.

chi-square statistic = Enter your answer; chi-square statistic

p-value = Enter your answer; p-value

Homework Answers

Answer #1

Using R code we can have the results.

CODE:

obs <- c(25,35,50,90)
exp <- c(20,40,60,80)
#Value of the statistic
sum(((obs-exp)^2)/exp)
#P-value
pchisq(sum(((obs-exp)^2)/exp),3,lower.tail = F)

OUTPUT:

> obs <- c(25,35,50,90)
> exp <- c(20,40,60,80)
> #Value of the statistic
> sum(((obs-exp)^2)/exp)
[1] 4.791667
> #P-value
> pchisq(sum(((obs-exp)^2)/exp),3,lower.tail = F)
[1] 0.1877036

Chi-squar statistic = 4.791667.

P-value = 0.1877036.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The categories of a categorical variable are given along with the observed counts from a sample....
The categories of a categorical variable are given along with the observed counts from a sample. The expected counts from a null hypothesis are given in parentheses. Compute the -test statistic, and use the -distribution to find the p-value of the test. Category A B C D Observed (expected) 60 (60) 111 (120) 166 (180) 254 (240) What is the chi-square statistic and what is the p-value?
A researcher conducted a goodness-of-fit test by using categorical data. Her data consists of 4 categories....
A researcher conducted a goodness-of-fit test by using categorical data. Her data consists of 4 categories. Her null hypothesis states that the data occur in each category with the same frequency. If she found the test statistic χ2=χ2=12.03: What is the degree of freedom of the χ2χ2 statistic? 3 What is the P-value of the goodness-of-fit test? (Round to 3 decimals)
A null hypothesis for a goodness-of-fit test and a frequency table from a sample are given....
A null hypothesis for a goodness-of-fit test and a frequency table from a sample are given. H 0 :   p a = 0.1 , p b = 0.34 ,   p c = 0.2 , p d = 0.16 , p e = 0.1 , p f = 0.1 H a : Some p i is wrong A B C D E F 203 862 531 438 212 154 (a) Find the expected count for the category labeled B. The expected...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5 categories are equally likely to be selected. Category Observed Frequency A 14 B 19 C 11 D 8 E 21 What is the chi-square test-statistic for this data? χ2=χ2= What are the degrees of freedom for this test? d.f. = What is the p-value for this sample? (Report answer accurate to four decimal places.) p-value =  
You are conducting a multinomial Chi-Square Goodness of Fit hypothesis test for the claim that the...
You are conducting a multinomial Chi-Square Goodness of Fit hypothesis test for the claim that the 4 categories occur with the following frequencies: HoHo : pA=0.1; pB=0.5; pC=0.1;  pD=0.3 Complete the table. Report all answers accurate to three decimal places. Category Observed Frequency Expected Frequency A 17 B 25 C 6 D 16 What is the chi-square test-statistic for this data? χ2= What is the P-Value? P-Value =
You are conducting a multinomial Goodness of Fit hypothesis test for the claim that the 4...
You are conducting a multinomial Goodness of Fit hypothesis test for the claim that the 4 categories occur with the following frequencies: HoHo : pA=0.4pA0.4;  pB=0.25pB0.25;  pC=0.25pC0.25;  pD=0.1pD0.1 Complete the table. Report all answers accurate to two decimal places, unless otherwise specified. Category Observed Frequency Expected Frequency A 39 B 18 C 30 D 7 What is the chi-square test-statistic for this data? (Round to two decimal places) χ2=χ2 What is the P-Value? (Round to four decimal places) P-Value =  
You are conducting a multinomial Goodness of Fit hypothesis test for the claim that the 4...
You are conducting a multinomial Goodness of Fit hypothesis test for the claim that the 4 categories occur with the following frequencies: HoHo : pA=0.1pA0.1;  pB=0.5pB0.5;  pC=0.3pC0.3;  pD=0.1pD0.1 Complete the table. Report all answers accurate to three decimal places. Category Observed Frequency Expected Frequency A 23 B 54 C 37 D 8 What is the chi-square test-statistic for this data? χ2= What is the P-Value? P-Value =   For significance level alpha 0.01, What would be the conclusion of this hypothesis test? Reject the...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5 categories are equally likely to be selected. Complete the table. Category Observed Frequency Expected Frequency A 19 B 9 C 21 D 9 E 7 Report all answers accurate to three decimal places. But retain unrounded numbers for future calculations. What is the chi-square test-statistic for this data? (Report answer accurate to three decimal places.) χ2=χ2= What are the degrees of freedom for this...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5 categories are equally likely to be selected. Complete the table. Category Observed Frequency Expected Frequency A 25 B 14 C 16 D 17 E 7 Report all answers accurate to three decimal places. But retain unrounded numbers for future calculations. What is the chi-square test-statistic for this data? (Report answer accurate to three decimal places.) χ2=χ2= What are the degrees of freedom for this...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5...
You are conducting a multinomial hypothesis test (αα = 0.05) for the claim that all 5 categories are equally likely to be selected. Complete the table. Category Observed Frequency Expected Frequency A 14 B 5 C 6 D 15 E 23 Report all answers accurate to three decimal places. But retain unrounded numbers for future calculations. What is the chi-square test-statistic for this data? (Report answer accurate to three decimal places.) χ2=χ2= What are the degrees of freedom for this...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT