metatest
fits and tests a metaregression model. In addition to
the traditional z test on the estimated coefficients, metatest
also yields more reliable statistics: the ttest, log likelihood ratio
test, Bartlett corrected log likelihood ratio test, and the permutation
test. The Bartlett corrected log likelihood ratio test and the
permutation test are to be recommended since their type 1 errors are
adequate.
1 2 3 4 5 6 
formula 

variance 
The variances of the effect sizes to be modelled (a
vector or a variable name interpreted in 
data 
A 
threshold 
The threshold used in estimating the model; the threshold is the change in the value of the random effects variance parameter. 
maxiter 
Maximum number of iterations allowed in estimating the model. 
npermut 
Number of permutations performed by the permutation test. 
object, x 
Object of class 
digits 
Determines the number of digits to use in printing the results. 
... 
Not currently used. 
The effect sizes to be analyzed can be of arbitrary type; some
transformations
between different effect size measures
are provided. For many more see the package compute.es.
The print and summary methods are currently identical (this may change in the future), and print the random effects variance, the coefficients, and all the computed statistics and associated pvalues.
metatest
returns an object of class metatest
which is a named list
with the following elements:
convergence 
Convergence info; 0 indicates convergence; 1 signals that the estimator of between study variance was set to zero during estimation (with a warning). 
iter 
Number of iterations used in optimizing the parameters. 
variance 
Matrix with between study variance estimate, its associated log likelihood ratio statistic, df and pvalue. 
coefficients 
Estimated coefficients. 
se 
Standard errors of the coefficients. 
tval 
The tratios of the coefficients. 
pZtest 
The pvalues associated with the ztest. 
dfttest 
The df's associated with the ttests. 
pttest 
The pvalues associated with the ttest. 
LLR 
The log likelihood ratio statistics. 
pLLR 
The pvalues associated with the LLR statistics. 
bartLLR 
The Bartlett corrected LLR statistics. 
bartscale 
The Bartlett scaling factor used to compute the corrected LLR statistics. 
pBartlett 
The pvalues associated with the Bartlett corrected LLR statistics. 
ppermtest 
The pvalues of the permutation tests. 
call 
The function call that created the metatest object. 
Ingmar Visser & Hilde Huizenga. Maintainer: Ingmar Visser <i.visser@uva.nl>
Hilde M. Huizenga, Ingmar Visser & Conor V. Dolan (2011). Hypothesis testing in random effects metaregression, British Journal of Mathematical and Statistical Psychology, 64, 119.
1 2 3 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.