Linear Regression

profileemma123
Assignment-5.pdf

PSYC 2317 Mark W. Tengler, M.S.

Linear Regression

5.1 For the following set of data,

X Y 1 2 4 7 3 5 2 1 5 14 3 7

a. Compute the Pearson correlation. Determine if there is a relationship, what type of relationship, and how strong or weak that relationship is, if any relationship exists.

b. Find the linear regression equation for predicting Y from X (use the linear regression equation formula #1 from class handout).

c. Use the regression equation that you derived (part b above) to compute the predicted Y for each actual value of X. Compare the predicted Y scores to the actual Y scores. Why is there a difference between the predicted Y values and the actual Y values? How do you explain this difference?

Assignment #5