logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Quality ExpertBusiness
(5/5)

701 Answers

Hire Me
expert
StatAnalytica ExpertEngineering
(5/5)

787 Answers

Hire Me
expert
Persimmon BissoondathhCriminology
(5/5)

690 Answers

Hire Me
expert
Hemant Kumar KhatriStatistics
(/5)

752 Answers

Hire Me
STATA
(5/5)

Perform a simple linear regression of number of days used cocaine in past 12 months on race

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Contemporary Analytical Tools

Please download the Stata data file: nsduh2016_sample_data.dta from Canvas and save onto your flash drive. Please use STATA do file and log file for answering the following questions. Upload your all the STATA commands (the do file) and the results (formatted log file). Write and highlight your answer on the STATA output. Write your hypothesis and conclusion where requested.

Hints: You will see examples in lecture notes and in your labs

Q1. What is the sample size that the data file has? (2 points)

Q2. Draw a scatter diagram between age when first used cocaine and total number of days used cocaine in past 12 months. please give the appropriate title of the graph using STATA? (5+5 points)

Q3. Create a pie chart for the variable age with proper label and title using STATA (5+5 points)

Q4. What percentage of your samples are women? (2 points)

Q5. What percentage of your samples are non-Hispanic blacks? (2 points)

Q6. What is the mean and median number of days of cocaine use in past 12 months? (2+2 points)

Q7. What is the mean and median number of days of alcohol use in past 12 months who are never married? (5+5 points)

Q8. Can you conclude by performing a test that number of days used alcohol in past 12 months and number of days used cocaine in past 12 months are linearly related? How? State your null and alternative hypothesis and the conclusion. (5+5 points)

Q9. Can you conclude by performing a test that age and total family income are not independent? How? State your null and alternative hypothesis and the conclusion. (5+5 points)

Q10. Perform a simple linear regression of number of days used cocaine in past 12 months on race. Interpret the results of beta coefficients of Hispanics compared to the Whites. Is the relationship significant? (5+5+5 points)

Q11. Perform a multiple linear regression of number of days used cocaine in past 12 months on race, sex, family income, marital status, poverty, number of days used alcohol in past 12 months, number of days smoked cigarette in past 30 days and age at cocaine use. Interpret the results of beta coefficients for Hispanics and for number of days alcohol use in past 12 months.  Are these two beta coefficients significantly related to the outcome variable? (5+5+5 points)

There are 10 points for using and uploading the STATA do file.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

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

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme