[Regression Analysis] How do you solve this? a) Is smoking a significant factor in the risk of stroke? Justify your answer testing appropriate hypothesis. Please, provide: hypotheses, test statistic, p-value, and conclusion. Use α = 0.05.  b) Form a 95% confidence interval for βsmoker. Interpret the interval.

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

[Regression Analysis] How do you solve this?

a) Is smoking a significant factor in the risk of stroke? Justify your answer testing appropriate hypothesis. Please, provide: hypotheses, test statistic, p-value, and conclusion. Use α = 0.05. 

b) Form a 95% confidence interval for βsmoker. Interpret the interval.

6. A 10-year study conducted by the American Heart Association provided data on how
age, blood pressure, and smoking relate to the risk of strokes. Assume that the following
data are from a portion of this study. Risk is interpreted as the probability (times 100)
that the patient will have a stroke over the next 10-year period. For the smoking variable,
a dummy variable was defined, with 1 indicating a smoker and 0 indicating nonsmoker.
## Risk Age Pressure Smoker
## 1
12 57
## 2
24
67
## 3
13 58
## 4
56 86
## 5
28
59
##
51 76
## 7
18 56
## 8
##
## 10
## 11
## 12
## 13
## 14
## 15
## 16
## 17
31 78
37 80
15 78
22 71
36 70
15 67
48 77
15 60
36 82
8 66
## 18
34 80
## 19
3 62
## 20 37 59
152
163
155
177
196
189
155
120
135
98
152
173
135
209
199
119
166
125
117
207
0
0
0
1
0
1
1
1
1
1
0
1
0
1
0
1
modC=1m (Risk Age+Pressure+Smoker);
anova (modC);
Df Sum Sq Mean Sq F value
1 1771.98 1771.98 53.4726
1 1607.66 1607.66 48.5138
1 281.10 281.10 8.4826
##
## Age
## Pressure
## Smoker
## Residuals 16 530.21 33.14
Transcribed Image Text:6. A 10-year study conducted by the American Heart Association provided data on how age, blood pressure, and smoking relate to the risk of strokes. Assume that the following data are from a portion of this study. Risk is interpreted as the probability (times 100) that the patient will have a stroke over the next 10-year period. For the smoking variable, a dummy variable was defined, with 1 indicating a smoker and 0 indicating nonsmoker. ## Risk Age Pressure Smoker ## 1 12 57 ## 2 24 67 ## 3 13 58 ## 4 56 86 ## 5 28 59 ## 51 76 ## 7 18 56 ## 8 ## ## 10 ## 11 ## 12 ## 13 ## 14 ## 15 ## 16 ## 17 31 78 37 80 15 78 22 71 36 70 15 67 48 77 15 60 36 82 8 66 ## 18 34 80 ## 19 3 62 ## 20 37 59 152 163 155 177 196 189 155 120 135 98 152 173 135 209 199 119 166 125 117 207 0 0 0 1 0 1 1 1 1 1 0 1 0 1 0 1 modC=1m (Risk Age+Pressure+Smoker); anova (modC); Df Sum Sq Mean Sq F value 1 1771.98 1771.98 53.4726 1 1607.66 1607.66 48.5138 1 281.10 281.10 8.4826 ## ## Age ## Pressure ## Smoker ## Residuals 16 530.21 33.14
summary (modC);
##
## (Intercept)
## Age
## Pressure
## Smoker
modR=1m (Risk Age+Pressure);
anova (modR);
summary (modR);
Pr (>|t|)
Estimate Std. Error t value
-91.7594984 15.22276009 -6.027783 1.757555e-05
1.0767411 0.16596361 6.487814 7.487302e-06
0.2518135 0.04522552 5.567951 4.243665e-05
8.7398711 3.00081543 2.912499 1.017355e-02
modR=1m (Risk Age+Pressure);
anova (modR);
Df Sum Sq Mean Sq F value
1 1771.98 1771.98 37.130
##
## Age
## Pressure 1 1607.66 1607.66 33.687
## Residuals 17 811.31 47.72
summary (modR);
##
## (Intercept)
## Age
## Pressure
Pr(>|t|)
Estimate Std. Error t value
-110.9422630 16.46987072 -6.736074 3.487048e-06
1.3150049 0.17328986 7.588470 7.434627e-07
0.2964047 0.05106897 5.804008 2.115249e-05
Transcribed Image Text:summary (modC); ## ## (Intercept) ## Age ## Pressure ## Smoker modR=1m (Risk Age+Pressure); anova (modR); summary (modR); Pr (>|t|) Estimate Std. Error t value -91.7594984 15.22276009 -6.027783 1.757555e-05 1.0767411 0.16596361 6.487814 7.487302e-06 0.2518135 0.04522552 5.567951 4.243665e-05 8.7398711 3.00081543 2.912499 1.017355e-02 modR=1m (Risk Age+Pressure); anova (modR); Df Sum Sq Mean Sq F value 1 1771.98 1771.98 37.130 ## ## Age ## Pressure 1 1607.66 1607.66 33.687 ## Residuals 17 811.31 47.72 summary (modR); ## ## (Intercept) ## Age ## Pressure Pr(>|t|) Estimate Std. Error t value -110.9422630 16.46987072 -6.736074 3.487048e-06 1.3150049 0.17328986 7.588470 7.434627e-07 0.2964047 0.05106897 5.804008 2.115249e-05
Expert Solution
steps

Step by step

Solved in 5 steps with 17 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