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 revisionPrevious revision
Next revisionBoth sides next revision
tips:models_with_or_without_intercept [2021/02/12 16:09] Wolfgang Viechtbauertips:models_with_or_without_intercept [2021/10/29 10:55] Wolfgang Viechtbauer
Line 76: Line 76:
 The ''btt'' argument stands for "betas to test" and is used to specify which coefficients we want include in the test. The ''btt'' argument stands for "betas to test" and is used to specify which coefficients we want include in the test.
  
-A different way to conduct the same test is to use the ''L'' argument, which allows us to specify one or more vectors of numbers, which are multiplied with the model coefficients. In particular, we can use:+A different way of conducting the same test is to use the ''L'' argument, which allows us to specify one or more vectors of numbers, which are multiplied with the model coefficients. In particular, we can use:
 <code rsplus> <code rsplus>
 anova(res, L=rbind(c(0,1,0),c(0,0,1))) anova(res, L=rbind(c(0,1,0),c(0,0,1)))
tips/models_with_or_without_intercept.txt · Last modified: 2022/08/03 11:34 by Wolfgang Viechtbauer