Disease status and number of cigarettes smoked per day for.2225 males. For a data set with five rows and two columns, the p-value is <0.05 if X² is greater than 9.488. (Data from RR Sokal and FJ Rohlf's Biometry, 3rd ed.) Never smoked 1-10 11-20 21-40 >41 Lung cancer 15 36 Disease status 133 226 127 Healthy 822 136 328 311 91

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
Use chi-square to analyze the data
3. Disease status and number of cigarettes smoked per day for.2225 males. For a data set with five rows
and two columns, the p-value is <0.05 if X² is greater than 9.488. (Data from RR Sokal and FJ Rohlf's
Biometry, 3rd ed.)
FEB 1
26
80
$
4
R
F
200
F4
V
%
5
T
F5
Never smoked
1-10
11-20
21-40
>41
6
B
MacBook Pro
Y
H
&
7
N
Lung cancer
15
36
133
226
127
U
Disease status
J
* 00
8
DII
FB
M
Healthy
822
136
328
311
91
(
- O
9
K
Q tv A
F9
O
)
- O
F10
L
P
L
V
(3)
F11
(31))
F12
21
?"
Transcribed Image Text:3. Disease status and number of cigarettes smoked per day for.2225 males. For a data set with five rows and two columns, the p-value is <0.05 if X² is greater than 9.488. (Data from RR Sokal and FJ Rohlf's Biometry, 3rd ed.) FEB 1 26 80 $ 4 R F 200 F4 V % 5 T F5 Never smoked 1-10 11-20 21-40 >41 6 B MacBook Pro Y H & 7 N Lung cancer 15 36 133 226 127 U Disease status J * 00 8 DII FB M Healthy 822 136 328 311 91 ( - O 9 K Q tv A F9 O ) - O F10 L P L V (3) F11 (31)) F12 21 ?"
Expert Solution
Creating the test

Based on the given information, we can assume that the data set is a 4x2 contingency table. To test the hypothesis that smoking is associated with lung cancer, we can perform a chi-square test of independence.

First, we need to calculate the expected frequencies for each cell of the table under the null hypothesis of no association between smoking and disease status. We can do this by multiplying the row and column totals for each cell and dividing by the total sample size. For example, the expected frequency for the cell corresponding to "Never smoked" and "Lung cancer" is:

Expected frequency = (sum of "Never smoked" row) x (sum of "Lung cancer" column) / (total sample size) = (1+10+36+133+127) x (15+36+133+127) / 2225 = 201.13

We can repeat this calculation for all the cells to get the expected frequencies:

                              Disease status
                   Never smoked       Lung cancer      Healthy        Total
 1-10                 205.43              15.57           602.00       823
 11-20                73.55               5.59            21.86        101
 21-40                98.84               7.52            29.27        136
 >41                  91.18               6.92            26.90        125
 Total                469.00             35.60           680.03      2225

steps

Step by step

Solved in 2 steps

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