y x1 x2 0 14.44 13.93 0 18.45 3.16 1 5.45 8.51 0 10.77 10.04 0 11.21 10.02 0 8.31 9.5 1 13.09 2.66 1 19.72 9.61 1 18.06 9.24 0 8.13 9.32 0 6.26 4.19 0 5.31 10.89 1 19.83 3.33 1 7 7.27 1 9.77 5.66 0 19.83 13.03 0 9.87 8.06 0 6.31 8.99 1 17.01 10.6 1 4.59 8.08 The accompanying data file contains 20 observations for a binary response variable y along with the predictor variables x1 and x2. Estimate the logistic regression model to compute the probability and the odds when x1 = 12 and x2 = 8. Probability ________ Odds _______ What is the percentage change in the odds when x1 increases by one unit, holding x2 constant? The odds ______ by ______ percent.
y x1 x2 0 14.44 13.93 0 18.45 3.16 1 5.45 8.51 0 10.77 10.04 0 11.21 10.02 0 8.31 9.5 1 13.09 2.66 1 19.72 9.61 1 18.06 9.24 0 8.13 9.32 0 6.26 4.19 0 5.31 10.89 1 19.83 3.33 1 7 7.27 1 9.77 5.66 0 19.83 13.03 0 9.87 8.06 0 6.31 8.99 1 17.01 10.6 1 4.59 8.08 The accompanying data file contains 20 observations for a binary response variable y along with the predictor variables x1 and x2. Estimate the logistic regression model to compute the probability and the odds when x1 = 12 and x2 = 8. Probability ________ Odds _______ What is the percentage change in the odds when x1 increases by one unit, holding x2 constant? The odds ______ by ______ percent.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
y | x1 | x2 |
0 | 14.44 | 13.93 |
0 | 18.45 | 3.16 |
1 | 5.45 | 8.51 |
0 | 10.77 | 10.04 |
0 | 11.21 | 10.02 |
0 | 8.31 | 9.5 |
1 | 13.09 | 2.66 |
1 | 19.72 | 9.61 |
1 | 18.06 | 9.24 |
0 | 8.13 | 9.32 |
0 | 6.26 | 4.19 |
0 | 5.31 | 10.89 |
1 | 19.83 | 3.33 |
1 | 7 | 7.27 |
1 | 9.77 | 5.66 |
0 | 19.83 | 13.03 |
0 | 9.87 | 8.06 |
0 | 6.31 | 8.99 |
1 | 17.01 | 10.6 |
1 | 4.59 | 8.08 |
The accompanying data file contains 20 observations for a binary response variable y along with the predictor variables x1 and x2.
-
Estimate the logistic regression model to compute the probability and the odds when x1 = 12 and x2 = 8.
Probability ________Odds _______What is the percentage change in the odds when x1 increases by one unit, holding x2 constant?
The odds ______ by ______ percent.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 5 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman