You are conducting a test of independence to see if getting the flu is independent of whether or not you got a flu shot. Use a = 0.05. Report all answers accurate to four decimal places. Here is the sample data. Category Got Flu Shot Did not get Flu Shot Category Got Flu Shot Did not get Flu Shot The expected observations for this table would be: (0 - E)² E Got the Flu 18 51 The resulting Category Got Flu Shot Did not get Flu Shot Did not get the Flu 118 19 Got the Flu Did not get the Flu for finding the test are: Got the Flu What is the p-value for this test-statistic? P-Value = Did not get the Flu What is the chi-square test-statistic for this data? (add the results from the previous table) x² =

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
### Chi-Square Test of Independence: Flu Shot and Flu Incidence

You are conducting a test of independence to examine if getting the flu is independent of whether or not you got a flu shot. Use \(\alpha = 0.05\). Report all answers accurate to four decimal places.

Here is the sample data:

| Category            | Got the Flu | Did not get the Flu |
|---------------------|-------------|---------------------|
| Got Flu Shot        | 18          | 118                 |
| Did not get Flu Shot| 51          | 19                  |

#### Expected Observations

The expected observations for this table would be:

| Category            | Got the Flu | Did not get the Flu |
|---------------------|-------------|---------------------|
| Got Flu Shot        |             |                     |
| Did not get Flu Shot|             |                     |

#### Chi-Square Calculation

The resulting \(\frac{(O - E)^2}{E}\) for finding the test are:

| Category            | Got the Flu | Did not get the Flu |
|---------------------|-------------|---------------------|
| Got Flu Shot        |             |                     |
| Did not get Flu Shot|             |                     |

#### Chi-Square Test Statistic

What is the chi-square test-statistic for this data? (add the results from the previous table)

\[
\chi^2 = 
\]

#### P-Value Calculation

What is the p-value for this test-statistic?

P-Value = 

On this educational webpage, detailed explanations and step-by-step calculations will follow this initial setup to guide you through each stage of conducting a chi-square test of independence.
Transcribed Image Text:### Chi-Square Test of Independence: Flu Shot and Flu Incidence You are conducting a test of independence to examine if getting the flu is independent of whether or not you got a flu shot. Use \(\alpha = 0.05\). Report all answers accurate to four decimal places. Here is the sample data: | Category | Got the Flu | Did not get the Flu | |---------------------|-------------|---------------------| | Got Flu Shot | 18 | 118 | | Did not get Flu Shot| 51 | 19 | #### Expected Observations The expected observations for this table would be: | Category | Got the Flu | Did not get the Flu | |---------------------|-------------|---------------------| | Got Flu Shot | | | | Did not get Flu Shot| | | #### Chi-Square Calculation The resulting \(\frac{(O - E)^2}{E}\) for finding the test are: | Category | Got the Flu | Did not get the Flu | |---------------------|-------------|---------------------| | Got Flu Shot | | | | Did not get Flu Shot| | | #### Chi-Square Test Statistic What is the chi-square test-statistic for this data? (add the results from the previous table) \[ \chi^2 = \] #### P-Value Calculation What is the p-value for this test-statistic? P-Value = On this educational webpage, detailed explanations and step-by-step calculations will follow this initial setup to guide you through each stage of conducting a chi-square test of independence.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 16 images

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