Question
1.Data from a British government survey of household spending may be used to examine the relationship between household spending on tobacco products and alcoholic beverages.You
1.Data from a British government survey of household spending may be used to examine the relationship between household spending on tobacco products and alcoholic beverages.You can find this data attached to this assignment, called tobacco.csv. As above, use the same instructions (as in #1 and #2) to upload and import this dataset into an RStudio Cloud work session.(1 point)
(1)Suppose tobacco spending is the explanatory variable, and alcohol spending is the response variable.What is the equation of the least-squares regression line? (Use the R lm() command to calculate the regression line.
(2)Show a scatterplot of the data.Include the least square regression line on the graph, using the abline() command.Describe the form, direction and strength of your data.
(3)What percent of the variation in alcohol spending is explained by the least squares regression line? Give the appropriate statistic.
(4)Are tobacco spending and alcohol spending independent?Perform a hypothesis test from the above regression output and state the hypotheses, p-value, and conclusion in terms of the question.
(5) Suppose you want to include the British territory of Northern Ireland in this analysis, so you look up Northern Ireland and find their tobacco spending is 4.56.Use this value in your regression line equation to predict what the alcohol spending might be for Northern Ireland.
region
alcohol
tobacco
North
6.47
4.03
Yorkshire
6.13
3.76
Northeast
6.19
3.77
East
Midlands
4.89
3.34
West
Midlands
5.63
3.47
East
Anglia
4.52
2.92
Southeast
5.89
3.2
Southwest
4.79
2.71
Wales
5.27
3.53
Scotland
6.08
4.51
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