In: Statistics and Probability
Multiple Regression: Must find a model that best fits the data: USING R
1. Test to see if x1 and x2 are highly correlated using variance inflation factor technique. What can we conclude? Is Multicollinearity present?
2. Construct scatter plot in R to visualize relationship between y and each x.
Dataset:
Y= Time
X1= School
X2=District
"School" "District" "Time"
1,3,4
2,6,7
18,9,24
4,10,114
9, 2, 16