19) Do a hypothesis for the following, make sure to include and label all five steps: Test the claim that Treatment is independent of your reaction. Use a .05 significance level. Drug Placebo Headaches 18 20 No Headaches 82 70

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
Topic Video
Question
Can I get help with 19 please
### Hypothesis Testing: Treatment Independence

**Objective**: To test the claim that treatment is independent of the reaction (occurrence of headaches).

**Significance Level**: 0.05

Given Data:

|             | Drug | Placebo |
|-------------|------|---------|
| Headaches   | 18   | 20      |
| No Headaches| 82   | 70      |

**Steps to be Included**:

1. **Formulate the Hypotheses**:
   - Null Hypothesis (H0): Treatment is independent of the reaction (i.e., the treatment has no effect on the occurrence of headaches).
   - Alternative Hypothesis (H1): Treatment is not independent of the reaction (i.e., the treatment has an effect on the occurrence of headaches).

2. **Determine the Test Statistic**:
   - Use the Chi-Square test for independence.
   - Calculate the expected frequencies for each cell in the contingency table.

3. **Calculate the Chi-Square Test Statistic**:
   - Use the formula: χ² = Σ [(Observed - Expected)² / Expected].
   - Compare the observed frequencies in the table to the expected frequencies assuming the null hypothesis is true.
   
4. **Determine the Critical Value and P-value**:
   - Use a Chi-Square distribution table to find the critical value for α = 0.05 and degrees of freedom (df) = (rows - 1) * (columns - 1).
   - Calculate the p-value associated with the test statistic.

5. **Make a Decision**:
   - If the test statistic exceeds the critical value or if the p-value is less than 0.05, reject the null hypothesis.
   - Otherwise, do not reject the null hypothesis.

**Visual Representation**:

There is a table representing the frequency of individuals experiencing headaches or no headaches after receiving either a drug or placebo:

- **Treatment Group (Drug)**: 
  - 18 individuals reported headaches.
  - 82 individuals reported no headaches.

- **Control Group (Placebo)**:
  - 20 individuals reported headaches.
  - 70 individuals reported no headaches.

The table aids in calculating the expected frequencies and, subsequently, the Chi-Square test statistic.
Transcribed Image Text:### Hypothesis Testing: Treatment Independence **Objective**: To test the claim that treatment is independent of the reaction (occurrence of headaches). **Significance Level**: 0.05 Given Data: | | Drug | Placebo | |-------------|------|---------| | Headaches | 18 | 20 | | No Headaches| 82 | 70 | **Steps to be Included**: 1. **Formulate the Hypotheses**: - Null Hypothesis (H0): Treatment is independent of the reaction (i.e., the treatment has no effect on the occurrence of headaches). - Alternative Hypothesis (H1): Treatment is not independent of the reaction (i.e., the treatment has an effect on the occurrence of headaches). 2. **Determine the Test Statistic**: - Use the Chi-Square test for independence. - Calculate the expected frequencies for each cell in the contingency table. 3. **Calculate the Chi-Square Test Statistic**: - Use the formula: χ² = Σ [(Observed - Expected)² / Expected]. - Compare the observed frequencies in the table to the expected frequencies assuming the null hypothesis is true. 4. **Determine the Critical Value and P-value**: - Use a Chi-Square distribution table to find the critical value for α = 0.05 and degrees of freedom (df) = (rows - 1) * (columns - 1). - Calculate the p-value associated with the test statistic. 5. **Make a Decision**: - If the test statistic exceeds the critical value or if the p-value is less than 0.05, reject the null hypothesis. - Otherwise, do not reject the null hypothesis. **Visual Representation**: There is a table representing the frequency of individuals experiencing headaches or no headaches after receiving either a drug or placebo: - **Treatment Group (Drug)**: - 18 individuals reported headaches. - 82 individuals reported no headaches. - **Control Group (Placebo)**: - 20 individuals reported headaches. - 70 individuals reported no headaches. The table aids in calculating the expected frequencies and, subsequently, the Chi-Square test statistic.
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Knowledge Booster
Data Collection, Sampling Methods, and Bias
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
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