阅读背景:

如何通过编程向R的截距项添加模型系数?

来源:互联网 

Running regressions with categorical variables allows you to essentially calculate group means using the resulting intercept and coefficients (and it's a common replacement for ANOVA analysis). For instance, in this example predicting age by marital status, the intercept shows the mean age for unmarried people, while the intercept + the married coefficient shows the mean age for married people:Running regressions with categorical variables




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: