# Least Square Regression

1.The following data represent the number of calories per serving and

the number of grams of sugar per serving for a random sample of high -fiber

cerals. Here are the data to test this claim.

Calories, x 200 210 170 190 200 180 210 210 210

190

190 200

Sugar, y 18 23 17 20 18 19 23

16

17 12 11 11

a. Determine the least-squares regression equation from the sample

data.

b. Compute the standard error of y'

c. Compute the standard error of the slope "b" (note y' = a+bx)

d. Construct a 95% confidence interval about the slope.

#### Solution Preview

...an of y; denote the mean of x; In this problem we get =17.083; =196.667; Finally we get b=0.08214 and a=0.92857.

b.) The standard error of y` is STD(y`)= . Here n is the sample size and n=12. So ...