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: Min 10 Median |-1.064 30 Маx 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 l1) 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
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:
Min
10 Median
30
Мах
|-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.00
0.99
Anxiety
0.002
1.347
611.470
0.998
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 27.7259 on 19 degrees of freedom
Residual deviance:
AIC: 9.7087
3.7087 on 17 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: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: Min 10 Median 30 Мах |-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.00 0.99 Anxiety 0.002 1.347 611.470 0.998 (Dispersion parameter for binomial family taken to be 1) Null deviance: 27.7259 on 19 degrees of freedom Residual deviance: AIC: 9.7087 3.7087 on 17 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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 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
  • 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