Q1. 807 people were randomly selected and data was collected on whether or not they smoked cigarettes in the past 12 months (smoked = 1 if they did, smoked = 0 otherwise), their years of schooling (educ), the natural log of their annual income in dollars (In[income]), age in years (age), and race (white = 1 if white, white = 0 otherwise). The following logit models were estimated and the results are summarized in the table below. The numbers in parentheses are the standard errors. (1) logit (2) logit (3) sample average constant 1.43 0.02 (0.40) -0.10 (1.06) educ -0.11 12 (0.03) (0.03) In[income] 0.16 10.8 (0.11) -0.02 age -0.02 41 (0.0004) (0.0004) white 0.02 0.7 (0.23) log-likelihood -525 -524 In column (2), the regression equation for smokeď* is: smoked* = x'3 +e= B1 + Bzeduc + 33 In[income]+ B4age + Bzwhite + e In column (3), the sample averages of the regressors are listed. For example, 12 is the sample average of educ, 10.8 is the average of In[income], etc. (a) Using the results in column (1), does the probability of being a smoker depend on one's education level? In other words, is educ a significant variable at the 5% level? In order answer, you must compute the appropriate test statistic, find a critical value, and explain your conclusion. (b) Mr. Smatresk has 20 years of education and is 70 years old. Using the results in column (1), what is the probability that he smoked a cigarette in the past 12 months? (c) Treating age as a continuous variable and using the results in column (1) along with the sample averages, calculate the partial effect of age on the probability of being a smoker. (d) Carry out a joint significant test of In[income] and white at the 1% significance level. In your answer, you must compute the appropriate test statistic, find a critical value, and explain your conclusion.
Q1. 807 people were randomly selected and data was collected on whether or not they smoked cigarettes in the past 12 months (smoked = 1 if they did, smoked = 0 otherwise), their years of schooling (educ), the natural log of their annual income in dollars (In[income]), age in years (age), and race (white = 1 if white, white = 0 otherwise). The following logit models were estimated and the results are summarized in the table below. The numbers in parentheses are the standard errors. (1) logit (2) logit (3) sample average constant 1.43 0.02 (0.40) -0.10 (1.06) educ -0.11 12 (0.03) (0.03) In[income] 0.16 10.8 (0.11) -0.02 age -0.02 41 (0.0004) (0.0004) white 0.02 0.7 (0.23) log-likelihood -525 -524 In column (2), the regression equation for smokeď* is: smoked* = x'3 +e= B1 + Bzeduc + 33 In[income]+ B4age + Bzwhite + e In column (3), the sample averages of the regressors are listed. For example, 12 is the sample average of educ, 10.8 is the average of In[income], etc. (a) Using the results in column (1), does the probability of being a smoker depend on one's education level? In other words, is educ a significant variable at the 5% level? In order answer, you must compute the appropriate test statistic, find a critical value, and explain your conclusion. (b) Mr. Smatresk has 20 years of education and is 70 years old. Using the results in column (1), what is the probability that he smoked a cigarette in the past 12 months? (c) Treating age as a continuous variable and using the results in column (1) along with the sample averages, calculate the partial effect of age on the probability of being a smoker. (d) Carry out a joint significant test of In[income] and white at the 1% significance level. In your answer, you must compute the appropriate test statistic, find a critical value, and explain your conclusion.
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
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 2 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