In: Statistics and Probability
A researcher would like to predict the calories in a beef hot dog from the sodium content of the hot dog. She gathers a sample of 20 hot dogs, and calculates the following summary statistics
• The average sodium content is 401.15mg.
• The average calorie count is 156.85cal.
• The standard deviation in sodium content is 102.43mg.
• The standard deviation in calorie count is 22.64cal.
• The predicted increase in calorie count when sodium content
increases by 1mg is 0.1961cal.
What is the least squares regression equation for predicting the number of calories in a beef hot dog, based on sodium content?
The least square regression equation between dependent variable number of calories in a beef hot dog and independent variable sodium content of the hot dog is,
Where, is the intercept and is the slope
Given that predicted increase in calorie count when sodium content increases by 1mg is 0.1961cal. which is the slope of the regression equation
Now, the intercept value is obtained by putting the average values of Y and X in regression equation ,
The least square regression equation is,