+
IN THE DATASET SMOKER, THERE IS INFORMATION ON 1196 MALES FROM THE UNITED STATES.

IN THE DATASET SMOKER, THERE IS INFORMATION ON 1196 MALES FROM THE UNITED STATES.

Rating:
Rating
(0)
Author: Christine Farr
Description:

http://theperfecthomework.com/in-the-dataset-smoker-there-is-information-on-1196-males-from-the-united-states/

Problem 1In the dataset Smoker, there is information on 1196 males from the United States. Data from this sampleincludes the variables:smoke= 1 for smokers, and 0 for nonsmokersage=age in yearseduc= number of years of schoolingincome= family incomepcigs= price of cigarettes in the individual’s statePart 1)a) Generate a dummy variable “hi_ed” that is a 1 if a person has 16 or more years of education.b) Estimate a linear regression (which in this context is called a linear probability model (LPM)) forthe binary variable smoke on the independent variable hi_ed. Report the beta coefficient on thedummy variable and its p-value. In words, express what the beta coefficient means in this case.c) Create a frequency table for the smoke and hi_ed variables. The command in STATA is tabulatesmoke hi_ed.d) Calculate the probability that a person smokes if low education. Calculate the probability forsmoking for high edcuation.e) What is the relationship between the results for parts b and d?f) Calculate the odds that a low education person smokes. Calculate the odds a high educationperson smokes. Calculate the odds ratio.g) Estimate the logistic regression (logistic command) for smoke and hi_ed. Confirm that this equalsthe odds ratio. In words, express what the odds ratio coefficient means in this case.

(more)
See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

25 Sophia partners guarantee credit transfer.

221 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 20 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.

Tutorial