Correct note on Multiple Regression.
This commit is contained in:
parent
72e4f8da83
commit
c74be9a6d7
@ -107,9 +107,6 @@ normal distribution with mean 0.0 and standard deviation 2.0, and sample
|
||||
3. Play with different choices of the parameters above (including the
|
||||
sample size $n$) to see the effects on the parameter estimates and
|
||||
the $p$-values.
|
||||
|
||||
::: {callout-note}
|
||||
The more covariates you add the more variance can be explained by the linear model - $R^2$ increases. In order to balance goodness-of-tit of a model and its complexity, information criteria such as `aic` are considered.
|
||||
:::
|
||||
|
||||
## Multiple Regression Model
|
||||
@ -215,6 +212,10 @@ linmod3 = lm(@formula(Volume ~ Girth + Height + Girth*Height), trees)
|
||||
r2(linmod3)
|
||||
```
|
||||
|
||||
::: {callout-note}
|
||||
The more covariates you add the more variance can be explained by the linear model - $R^2$ increases. In order to balance goodness-of-tit of a model and its complexity, information criteria such as `aic` are considered.
|
||||
:::
|
||||
|
||||
## Generalized Linear Models
|
||||
|
||||
Classical linear model
|
||||
|
Loading…
x
Reference in New Issue
Block a user