Skip to content

Conversation

@PhoebeDreamer
Copy link

@PhoebeDreamer PhoebeDreamer commented Apr 24, 2018

Hi, thanks for your amazing solutions.

I found that in problem 6.10, you didn't include the intercept when calculating pred by omitting the coefficient of intercept. Though the outputs are almost same, R^2 can be very different.

Reference:
When is it ok to remove the intercept in a linear regression model?
Removal of statistically significant intercept term increases R2 in linear model

@PhoebeDreamer PhoebeDreamer changed the title Linear Regression should include intercept Ch6>ex 10c 10d>Linear Regression should include intercept Apr 24, 2018
@PhoebeDreamer PhoebeDreamer changed the title Ch6>ex 10c 10d>Linear Regression should include intercept Ch6>ex 10c 10d>The calculation of pred should include intercept Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant