Closed JayCastro closed 3 years ago
Bit confused on how to exclude the intercept.
sorry should have mentioned this is Lab3
In R it is just:
lm( y ~ x + f ) # regular regression - one level of factor f dropped lm( y ~ x + f - 1 ) # no intercept - all levels of f retained
Bit confused on how to exclude the intercept.