The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


analyses:yusuf1985

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
analyses:yusuf1985 [2021/11/08 15:20] Wolfgang Viechtbaueranalyses:yusuf1985 [2022/08/03 11:25] (current) Wolfgang Viechtbauer
Line 46: Line 46:
 <code rsplus> <code rsplus>
 par(mfrow=c(1,2)) par(mfrow=c(1,2))
-llplot(measure="OR", ai=ai, n1i=n1i, ci=ci, n2i=n2i, data=dat, +llplot(measure="OR", ai=ai, n1i=n1i, ci=ci, n2i=n2i, data=dat,
        subset=(table=="6"), drop00=FALSE, lwd=1, xlim=c(-5,5))        subset=(table=="6"), drop00=FALSE, lwd=1, xlim=c(-5,5))
-llplot(measure="OR", ai=ai, n1i=n1i, ci=ci, n2i=n2i, data=dat, +llplot(measure="OR", ai=ai, n1i=n1i, ci=ci, n2i=n2i, data=dat,
        subset=(table=="6"), drop00=FALSE, lwd=1, xlim=c(-5,5), scale=FALSE)        subset=(table=="6"), drop00=FALSE, lwd=1, xlim=c(-5,5), scale=FALSE)
 </code> </code>
Line 83: Line 83:
   0.9332  0.7385  1.1792   0.9332  0.7385  1.1792
 </code> </code>
-Or, to round the estimated odds ratio to 2 digits, we can use: +Or, to round the estimated odds ratio to 2 digits, we can use:
 <code rsplus> <code rsplus>
 predict(res, transf=exp, digits=2) predict(res, transf=exp, digits=2)
Line 148: Line 148:
  
 --- ---
-Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 +Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
 </code> </code>
 The estimated log odds ratio can be back-transformed through exponentiation: The estimated log odds ratio can be back-transformed through exponentiation:
analyses/yusuf1985.txt · Last modified: 2022/08/03 11:25 by Wolfgang Viechtbauer