Categorical predictors (comparing means)
Discover Statistics
0:00 / 0:00
Categorical predictors (comparing means)
8 927 просмотров · 5 лет назад
Discover Statistics
52,7 тыс. подписчиков
8 927 просмотров · 5 лет назад
In this lecture we look at how to incorporate categorical predictors (group membership) into a linear model to compare the means of those categories/groups. We look at using dummy/indicator coding to compare means of two groups, then extend the example to look at 3 groups. We see that the parameter estimates (b) represent differences between group means. We also see that the overall model fit is assessed with the F-statistic, which is calculated in the same way as for models with continuous predictors.
Learn R alongside these lectures with the discovr package (https://www.discovr.rocks/discovr/)
Suggested soundtrack:
Helloween: Halloween ( • HELLOWEEN - Halloween (Official Live Video) )