LAB: Linear Regression on Whiteside data (2)

Published

March 18, 2025

M1 MIDS/MFA/LOGOS

Université Paris Cité

Année 2024

Course Homepage

Moodle

Code
data(whiteside)

Model comparison

Question

For the Whiteside data, build a linear model where the covariates are the interactions of Insul with powers of Temp (up to degree 5).

Question

Compare model Gas ~ Insul* poly(Temp, 5, raw=T) with models Gas ~ Insul + Temp and Gas ~ Insul * Temp.