Question

In: Statistics and Probability

Solve for the predicted values of y and the residuals for the following data. x 12...

Solve for the predicted values of y and the residuals for the following data.

x 12 21 28 8 20
y 17 15 22 19 24


Do not round the intermediate values. (Round your answers to 3 decimal places.)

x y Predicted (ŷ) Residuals (y-ŷ)
12 17
21 15
28 22
8 19
20 24

Solutions

Expert Solution

The following data are passed:

X Y
12 17
21 15
28 22
8 19
20 24

The independent variable is X, and the dependent variable is Y. In order to compute the regression coefficients, the following table needs to be used:

X Y X*Y X2 Y2
12 17 204 144 289
21 15 315 441 225
28 22 616 784 484
8 19 152 64 361
20 24 480 400 576
Sum = 89 97 1767 1833 1935

Based on the above table, the following is calculated:

Therefore, based on the above calculations, the regression coefficients (the slope m, and the y-intercept n) are obtained as follows

Therefore, we find that the regression equation is:

Y = 16.5096 + 0.1624 X

x y Predicted (ŷ) Residuals (y-ŷ)
12 17 18.4584 -1.4584
21 15 19.92 -4.92
28 22 21.0568 0.9432
8 19 17.8088 1.1912
20 24 19.7576 4.2424

Related Solutions

a. Estimate the regression equation and determine the predicted values of y b. Use the predicted...
a. Estimate the regression equation and determine the predicted values of y b. Use the predicted values and the actual values of y to calculate the residuals c. Plot the residuals (vertical axis) against the predicted values (horizontal axis). d. Does it appear that heteroscedasticity is a problem? Explain e. Draw a histogram of the residuals. Does it appear that the errors are normally distributed? Explain. f. Use the residuals to identify possible outlier(s) Weight Price 27 12.02 28.5 12.04...
Solve the system below having the initial values x(0) = 1 = y(0) x’ = x...
Solve the system below having the initial values x(0) = 1 = y(0) x’ = x + 2y y’ = -5x + 3y Please use solving systems of linear des by elimination. Thank You
At a relative maximum of a curve y(x), the slope dy/dx is zero. Use the following data to estimate the values of x and y that co
At a relative maximum of a curve y(x), the slope dy/dx is zero. Use the following data to estimate the values of x and y that correspond to a maximum point.
Solve the following system : z” + y ′ = cos x, y” − z =...
Solve the following system : z” + y ′ = cos x, y” − z = sin x, z(0) = −1, z′ (0) = −1, y(0) = 1, y′ (0) = 0.
2. Solve a function (e.g., y(x) = sin(x) / (sin(x/10) + x/10) for many different values...
2. Solve a function (e.g., y(x) = sin(x) / (sin(x/10) + x/10) for many different values of x between a user-defined min and max, and store the values in a list. Also, print the maximum value of y(x) for the given range.?
In exercise 12, the following data on x = average daily hotel room rate and y...
In exercise 12, the following data on x = average daily hotel room rate and y = amount spent on entertainment (The Wall Street Journal, August 18, 2011) lead to the estimated regression equation ŷ = 17.49 + 1.0334x. For these data SSE = 1541.4. Click on the webfile logo to reference the data. a. Predict the amount spent on entertainment for a particular city that has a daily room rate of $89 (to 2 decimals). $ b. Develop a...
Using matlab Find x and y that solve the following system: ln(x 2 + y) =...
Using matlab Find x and y that solve the following system: ln(x 2 + y) = 1 − y , xy = − √ x
solve y' +(x+2/x)y =(e^x)/x^2 ; y(1)=0
solve y' +(x+2/x)y =(e^x)/x^2 ; y(1)=0
1. The distance between the Y value in the data and the predicted Y value from...
1. The distance between the Y value in the data and the predicted Y value from the regression equation is known as the ? a. criterion gap b. residual c. prediction gap 4. seeming error 2. A linear regression has been based on a Pearson correlation of r=.8. Without even looking at a scatterplot of the data you can say.. a. the slope will be positive b. the slope will be negative c. the predictions will be accurate d. it...
Solve the system y'=x x'=-x+ry-y^3 r is a real number. Solve for eigenvalues & stability of...
Solve the system y'=x x'=-x+ry-y^3 r is a real number. Solve for eigenvalues & stability of system. Show bifurcation value.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT