Question
USE R STUDIO 3. The relationship between Alcohol Consumption and Total Household Income You are interesting in determining if people who consume more alcohol make
USE R STUDIO
3. The relationship between Alcohol Consumption and Total Household Income You are interesting in determining if people who consume more alcohol make more money. To answer this question, you draw a sample of 50 individuals from the NHANES dataset. You will examine AlcholoYear - "Estimated number of days over the past year that participant drank alcoholic beverages. Reported for participants aged 18 years or older." And HHIncomeMid - "Numerical version of HHIncome derived from the middle income in each category."
A. Which variable do you think should be the explanatory variable, which should be the response? Think about which of these might explain the other?
B. Take a sample of 50 adults and select() AlcoholYear, HHIncomeMid. Plot AlcoholYear vs HHIncomeMid. Describe the plot and state whether or not you think a relationship exists.
C. What is your estimate of the correlation between Alcohol consumption and Household income?
D. Construct and interpret a 95% confidence interval for the true correlation. Do you think a hypothesis test examining: H0 : = 0HA : 6= 0 would reject the null at the level of 5%?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started