Question: Which fit is better, and why? > #Validation set - Linear >lm. fitl mean((logtdc-predict(lm. fit1, ceo_rproject)) [-train]^2) [1] 1.024548 > # Validation set Quadratic
Which fit is better, and why? > #Validation set - Linear >lm. fitl mean((logtdc-predict(lm. fit1, ceo_rproject)) [-train]^2) [1] 1.024548 > # Validation set Quadratic fit >lm.fit2 mean ((logtdc-predict(lm. fit2, ceo_rproject)) [-train]^2) [1] 0.9988668
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
