The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


tips:models_with_or_without_intercept

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:models_with_or_without_intercept [2020/03/19 14:22]
Wolfgang Viechtbauer
tips:models_with_or_without_intercept [2020/03/19 14:25] (current)
Wolfgang Viechtbauer [Models with Continuous Moderators]
Line 303: Line 303:
 </​code>​ </​code>​
  
-When the model only includes continuous (i.e., numeric) predictors/​moderators,​ then removing the intercept does just that: it removes the intercept. Hence, the model above forces the intercept to be 0, that is, it assumes that at the equator, the (average) log risk ratio is exactly zero. This seems like a rather strong assumption to make, so I would not recommend doing so. In fact, only in rare cases is it ever appropriate to remove the intercept term from a regression model.+When the model only includes continuous (i.e., numeric) predictors/​moderators,​ then removing the intercept does just that: it removes the intercept. Hence, the model above forces the intercept to be 0, that is, it assumes that at the equator, the (average) log risk ratio is exactly zero. This seems like a rather strong assumption to make, so I would not recommend doing so. In fact, only in rare cases is it ever appropriate to remove the intercept term from a regression model (that involves only continuous predictors/​moderators).
  
 ==== References ==== ==== References ====
tips/models_with_or_without_intercept.txt ยท Last modified: 2020/03/19 14:25 by Wolfgang Viechtbauer