Description Usage Arguments Value Author(s) References Examples
Measures of covariate heterogeneity proposed by Simmonds and Higgins (2007) for assessing the power of a meta-regression
1 |
m |
vector of study-level covariate means |
n |
vector of study sample sizes |
sigma2 |
vector of covariate sample variances |
A list with the following named components: t
, Qd
, Qe
, bar.Qd
,bar.Qe
, tilde.Qd
, tilde.Qe
S. Kovalchik s.a.kovalchik@gmail.com
Simmonds, M. C., Higgins, J. P. T., (2007), Covariate heterogeneity in meta-analysis: criteria for deciding between meta-regression and individual patient data, Statistics in Medicine, 26 (15): 2982-99.
1 2 3 4 5 6 7 8 9 10 11 12 | data(poynard)
#COVARIATE HETEROGENEITY FOR AGE
m <- (poynard$n0*poynard$age0+poynard$n1*poynard$age1)/(poynard$n0+poynard$n1)
n <- poynard$n0+poynard$n1
sigma2 <- ((poynard$n0-1)*poynard$age.s20+(poynard$n1-1)*poynard$age.s21)/(poynard$n0+poynard$n1-2)
Q <- Qt(m,n,sigma2)
lapply(Q,function(x){x/Q$t})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.