Suppose a logistic regression analysis of some data for restaurants gave the following result, in terms of L, which here represents the logit, that is, the log odds, lnOdds. L(x1, x2) = .3 − .2x1 + .1x2, where Y = 1 denotes closing within one year of startup, Y = 0 denotes staying in business more than one year , X1 = 1 if franchised, 0 if not, X2 = 1 if a fast-food restaurant, 0 if not, Px = Pr{Y = 1|x1,x2}, Qx = Pr{Y = 0|x1,x2}, L(x1, x2) = ln(Px1,x2 /Qx1,x2 ) = logit(Px1,x2 )   1. What is the value of L(0, 1) ? (A) .1 (B) .2 (C) .3 (D) .4 (E) .5 2. The number P(Y = 1|X1 = 0,X2 = 1) is the probability that (A)  a franchised fast-food restaurant is bankrupt within one year. (B)  a franchised non-fast food restaurant is not bankrupt within one year. (C)  a non-franchised fast-food restaurant is bankrupt within one year. (D)  a non-franchised non-fast food restaurant is bankrupt within one year. (E)  a fast-food restaurant is franchised. 3. (continuation) What is the value of this probability ?  (A).401 (B) .450 (C) .550 (D) .599 (E) .67   4. What is the value of L(0, 0)? (A) β0 (B) 0 (C) β0 + β12 (D) β12 (E) 1   5. What is the value of L(0, 1)? (A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1   6. What is the value of L(1, 0)?  (A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1   7. What is the value of L(1, 1)? (A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1    8. Given a binary (0,1) variable Y , let Px = Pr{Y = 1| x}. Then the regression function E[Y |x] = (1)Px.+(0)Qx =? (A) Px (B)Qx (C)0 (D)1 (E)½   9. If P = 1/2, what is the value of the logit function, ln(P/Q), where Q = 1 − P?  (A) 0 (B) 1/2 (C) 1 (D) 3/2 (E) 2   10. Forx>0,eln(x) =? (A)ex (B) ln(x) (C) x (D) 0 (E) 1   11. ln(ex) = ? (A) ex (B) ln(x) (C) x (D) 0 (E) 1   12.  ln(2e) = (A)1/2 (B) 1 (C) 2 (D) 3 (E) 1+ln(2)   13. Which of the following is closest to the value of the number e ? (A) 2.7 (B) 2.72 (C) 2.718280 (D) 2.7182818280 (E) 2.71828182846   14. Which of the following is closest to the value of the number 1/e ?  (A) 1/3 (B) 0.368 (C) 1/2 (D) 3 (E) 3.14159   15. If z = 0, what is the value of the logistic function, 1/(1 + e−z ) ?  (A) -1 (B) -1/2 (C) 0 (D) 1/2 (E) 1

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

Suppose a logistic regression analysis of some data for restaurants gave the following result, in terms of L, which here represents the logit, that is, the log odds, lnOdds.

L(x1, x2) = .3 − .2x1 + .1x2,

where

Y = 1 denotes closing within one year of startup,
Y = 0 denotes staying in business more than one year , X1 = 1 if franchised, 0 if not,
X2 = 1 if a fast-food restaurant, 0 if not,
Px = Pr{Y = 1|x1,x2}, Qx = Pr{Y = 0|x1,x2},
L(x1, x2) = ln(Px1,x2 /Qx1,x2 ) = logit(Px1,x2 )

 

1. What is the value of L(0, 1) ?

(A) .1 (B) .2 (C) .3 (D) .4 (E) .5

2. The number P(Y = 1|X1 = 0,X2 = 1) is the probability that

  • (A)  a franchised fast-food restaurant is bankrupt within one year.
  • (B)  a franchised non-fast food restaurant is not bankrupt within one year.
  • (C)  a non-franchised fast-food restaurant is bankrupt within one year.
  • (D)  a non-franchised non-fast food restaurant is bankrupt within one year.
  • (E)  a fast-food restaurant is franchised.

3. (continuation) What is the value of this probability ? 

(A).401 (B) .450 (C) .550 (D) .599 (E) .67

 

4. What is the value of L(0, 0)?

(A) β0 (B) 0 (C) β0 + β12 (D) β12 (E) 1

 

5. What is the value of L(0, 1)?

(A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1

 

6. What is the value of L(1, 0)? 

(A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1

 

7. What is the value of L(1, 1)?

(A) β0 (B)0 (C) β0 + β12 (D)β12 (E)1 

 

8. Given a binary (0,1) variable Y , let Px = Pr{Y = 1| x}. Then the regression function E[Y |x] = (1)Px.+(0)Qx =?

(A) Px (B)Qx (C)0 (D)1 (E)½

 

9. If P = 1/2, what is the value of the logit function, ln(P/Q), where Q = 1 − P? 

(A) 0 (B) 1/2 (C) 1 (D) 3/2 (E) 2

 

10. Forx>0,eln(x) =?

(A)ex (B) ln(x) (C) x (D) 0 (E) 1

 

11. ln(ex) = ?

(A) ex (B) ln(x) (C) x (D) 0 (E) 1

 

12.  ln(2e) =

(A)1/2 (B) 1 (C) 2 (D) 3 (E) 1+ln(2)

 

13. Which of the following is closest to the value of the number e ?

(A) 2.7 (B) 2.72 (C) 2.718280 (D) 2.7182818280 (E) 2.71828182846

 

14. Which of the following is closest to the value of the number 1/e ? 

(A) 1/3 (B) 0.368 (C) 1/2 (D) 3 (E) 3.14159

 

15. If z = 0, what is the value of the logistic function, 1/(1 + e−z ) ? 

(A) -1 (B) -1/2 (C) 0 (D) 1/2 (E) 1

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Forecasting methods
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