Suppose that we are working with some doctors on heart attack patients. The dependent variable is whether the patient has had a second heart attack within 1 year (yes=1). We have two independent variables, one is age of the patient and the other is a score on anxiety scale (a higher score means more anxious). After applying logistic regression model, we have the following output: Deviance Residuals: 10 Median Min 30 Маx |-1.064 0.000 0.000 0.000 1.446 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -471.441 223186.509 -0.002 0.998 Age 6.394 3057.349 0.002 0.998 Anxiety 1.347 611.470 0.002 0.998 | (Dispersion parameter for binomial family taken to be 1) Null deviance: 27.7259 on 19 degrees of freedom Residual deviance: 3.7087 on 17 degrees of freedom AIC: 9.7087 Number of Fisher Scoring iterations: 23 a. Determine the estimated logistic regression equation. b. Calculate the odds ratio and interpret.

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
icon
Concept explainers
Question
Problem 5
Suppose that we are working with some doctors on heart attack patients. The dependent
variable is whether the patient has had a second heart attack within 1 year (yes=1). We have
two independent variables, one is age of the patient and the other is a score on anxiety scale (a
higher score means more anxious). After applying logistic regression model, we have the
following output:
Deviance Residuals:
10 Median
Min
30
Мах
-1.064
0.000
0.000
0.000
1.446
Coefficients:
Estimate Std. Error z value Pr (>|z|)
|(Intercept)
Age
Anxiety
-471.441 223186.509 -0.002
0.998
6.394
3057.349
0.002
0.998
1.347
611.470
0.002
0.998
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 27.7259 on 19
Residual deviance: 3.7087 on 17 degrees of freedom
AIC: 9.7087
degrees of freedom
Number of Fisher Scoring iterations: 23
a. Determine the estimated logistic regression equation.
b. Calculate the odds ratio and interpret.
Transcribed Image Text:Problem 5 Suppose that we are working with some doctors on heart attack patients. The dependent variable is whether the patient has had a second heart attack within 1 year (yes=1). We have two independent variables, one is age of the patient and the other is a score on anxiety scale (a higher score means more anxious). After applying logistic regression model, we have the following output: Deviance Residuals: 10 Median Min 30 Мах -1.064 0.000 0.000 0.000 1.446 Coefficients: Estimate Std. Error z value Pr (>|z|) |(Intercept) Age Anxiety -471.441 223186.509 -0.002 0.998 6.394 3057.349 0.002 0.998 1.347 611.470 0.002 0.998 (Dispersion parameter for binomial family taken to be 1) Null deviance: 27.7259 on 19 Residual deviance: 3.7087 on 17 degrees of freedom AIC: 9.7087 degrees of freedom Number of Fisher Scoring iterations: 23 a. Determine the estimated logistic regression equation. b. Calculate the odds ratio and interpret.
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
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.
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