Homework 3
Please estimate the effects of the MLDA on alcohol consumption. The figures and tables you create will form the core of the second paper. The dataset NHIS.csv is a sample drawn from the National Health Interview Sample Adult Files 1997.2007. It includes the following variables: HS diploma, Hispanic, white, black, uninsured, employed, married, working 1w, going school, male,days 21 (Days to 21st birthday), drinks alcohol (Reports they drink alcohol),AGE yrs, perc days drink (Percent of days on which they report drinking). Each row on the dataset is a record for an individual,
Data
Alcohol Consumption from the National Health Interview Survey Ç3
Steps
1. Determine what bin width to use for your age profile of whether or not people drink alcohol (variable name: drinks alcohol). Please attach a panel with various choices of bin width. Why did you pick the one you did? Please include your code.
2. Determine what range of age to include In your age profile of whether or not people drink alcohol (variable name: drinks alcohol). Please attach a panel with various choices of range. Why did you pick the one you did? Please include your code.
3. Determine what range of alcohol consumption levels to use in your age profile of whether or not people drink alcohol (variable name: drinks alcohol). Please attach a panel with various chokes of the range of drinks alcohol. Why did you pick the one you did? Please include your code.
4. Create a table of regression estimates of the increase in the proportion of people who drink with different order polynomials going from least to most flexible. You should also create a figure with the regressions superimposed over the scatter plot to help you assess which model best fits the age profile. Which regression specification do you prefer and why?
5. Create a carefully labeled figure of the first stage relationship between the MIDA and whether or not people drink alcohol (variable name: drinks alcohol) with the range and bin width chokes you made in steps 1•3. Also please superimpose the fitted values of your preferred regression specification from step 4. Please include your code.
6. Does the MIDA reduce the proportion of people who drink? If so by how much?
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme