Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible typo in the textbook: Section 2.8.3 #1

Open
mamcisaac opened this issue Jan 19, 2023 · 0 comments
Open

Possible typo in the textbook: Section 2.8.3 #1

mamcisaac opened this issue Jan 19, 2023 · 0 comments

Comments

@mamcisaac
Copy link

The paragraph at the start of Section 2.8.3 appears to say "slope" where it should say "intercept":

Covariates xij in (2.3) can either be continuous or categorical variables. If a categorical independent variable has k categories then k−1 indicator variables should be used to index the categories provided the regression model contains a slope. If the regression model does not contain a slope, then exactly k indicator variables are required.

I believe this is meant to say that the model could be
$$y_i = \beta_0 + \sum_{k=1}^{K-1} \beta_k x_{ik} + \varepsilon_i$$ or $$y_i = \sum_{k=1}^{K} \beta_k x_{ik} + \varepsilon_i$$
depending on whether the intercept $\beta_0$ is included.

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

No branches or pull requests

1 participant