Description Usage Arguments Details Value Author(s) References Examples
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 
There were 50 or more warnings (use warnings() to see the first 50)
Call: metatest(formula = y ~ x, variance = yvar, data = metadata)
Number of iterations untill convergence: 5
Estimate of residual variance
parameter LLR df p(LLR)
variance 0.1004 24.2537 1 NA
coef se t p(ztest) p(ttest) df(t) LLR p(LLR)
(Intercept) 0.4123 0.1173 3.5164 0.0004 0.0245 4 6.8229 0.0090
x 0.2709 0.1784 1.5180 0.1290 0.2036 4 1.8617 0.1724
BLLR p(BLLR) p(perm)
(Intercept) 5.4138 0.0200 0.030
x 1.4507 0.2284 0.148
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.