Question: please use r code 5. An ice-cream shop wants to model the relationship between ice cream sales and temperature. They collect data on temperature (in

 please use r code 5. An ice-cream shop wants to model

please use r code

the relationship between ice cream sales and temperature. They collect data on

5. An ice-cream shop wants to model the relationship between ice cream sales and temperature. They collect data on temperature (in Fahrenheit) and sales (in dollars) for twenty summer days. Let a: be the variable for temperature, and y be the variable for sales. The estimated regression line is iii = 352.517 + 3.1533.' (a) The average temperature across the twenty days was 79.515. What was the average in ice cream sales across the twenty days? (b) According to the model, how much ice cream sales are expected on a day with 81 degree weather? (c) On day 5, the temperature was 85.9 degrees, and the shop made $628.41 in ice cream sales. What is the value of the residual for this observation? Were sales that day better than expected, or worse than expected, based on the model? (d) The estimated stande error of the slope is .'e(Bl) = 1.524. Perform a t-test of hypotheses ng1=0 versus 114431950 with a = 0.01 to test whether there is a relationship between temperature and ice cream sales. Interpret your ndings in the context of the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!