The following table show the data on three variables X, Y and Z
X | 6 | 5 | 3 | 5 | 7 |
Y | 1 | 2 | 3 | 4 | 3 |
Z | 2 | 3 | 2 | 3 | 2 |
Given that X is a function of Y and Z, find the multiple
regression equation, hence find the
value of X when Y and Z are 5 and 4, respectively.
Using R, we use lm function to fit regression model and predict function to predict new value
Get Answers For Free
Most questions answered within 1 hours.