Snapsolve any problem by taking a picture.
Try it in the Numerade app?
21. Price of eggs and milk: The following table presents the average price in dollars for dozeneggs and a gallon of milk for each month from January through December 20 Dozen Eggs Gallon of Milk 1.94 3.58 1.80 3.52 1.77 3.50 1.83 3.47 1.69 3.43 1.67 3.40 1.65 3.43 1.88 3.47 1.89 3.47 1.96 3.52 1.96 3.54 2.01 3.58 Source: Bureau of Labor Statistics a. Compute the least-squares regression line for predicting the price of milk from the price of eggs. b. If the price of eggs differs by $0.25 from one month to the next, by how much would you expect the price of milk to differ? c. Predict the price of milk in a month when the price of eggs is $1.95.Show more…
Added by Elizabeth G.
Step 1
This line is represented by the equation y = mx + b, where y is the dependent variable (price of milk), x is the independent variable (price of eggs), m is the slope of the line, and b is the y-intercept. To calculate m (slope), we use the formula: m = (NΣxy - Show more…
Show all steps