leave1out: Compute Leave-One-Out Diagnostics for "nsue" Objects

leave1outR Documentation

Compute Leave-One-Out Diagnostics for “nsue” Objects

Description

Repeatedly fits the specified model, leaving out one study at a time.

Usage

leave1out(x, ...)

## S3 method for class 'nsue'
leave1out(x, formula = ~1, hypothesis = NULL,
    n.imp = 500, maxiter = 200, tol = 1e-06, ...)

Arguments

x

an object of class "nsue".

formula

an object of class "formula": a symbolic description of the model to be fitted.

hypothesis

a hypothesis, or NULL to simply test the coefficients of the model.

n.imp

number of imputations of NSUEs per study.

maxiter

maximum number of iterations in the REML estimation of τ^2.

tol

tolerance in the REML estimation of τ^2.

...

other arguments (currently ignored).

Details

Use nsue, smc_from_t, smd_from_t or zcor_from_r to create objects of class "nsue".

Models for meta and leave1out are specified symbolically. The formula is a series of terms which specify a linear predictor for x. A formula specification of the form first + second indicates a multiple regression by first and second. A specification of the form first:second indicates the interaction of first with second. The specification first*second is the same as first + second + first:second.

Each hypothesis must be a matrix (or vector) giving linear combinations of coefficients by rows.

Value

leave1out returns an object of class "leave1out.nsue", which is a list containing a list for each iteration with the component study (the study discarded) and the component meta, which is an object of class "meta.nsue".

The functions print and summary may be used to print the details or a summary of the results.

Author(s)

Joaquim Radua

References

Radua, J., Schmidt, A., Borgwardt, S., Heinz, A., Schlagenhauf, F., McGuire, P., Fusar-Poli, P. (2015) Ventral striatal activation during reward processing in psychosis. A neurofunctional meta-analysis. JAMA Psychiatry, 72, 1243–51, doi:10.1001/jamapsychiatry.2015.2196.

Albajes-Eizagirre, A., Solanes, A, Radua, J. (2019) Meta-analysis of non-statistically significant unreported effects. Statistical Methods in Medical Research, 28, 3741–54, doi:10.1177/0962280218811349.

See Also

nsue, smc_from_t, smd_from_t and zcor_from_r for creating objects of class "nsue".

meta for conducting a meta-analysis.

Examples

t <- c(3.4, NA, NA, NA, NA, 2.8, 2.1, 3.1, 2.0, 3.4)
n <- c(40, 20, 22, 24, 18, 30, 25, 30, 16, 22)
leave1out(smc_from_t(t, n))

metansue documentation built on Sept. 13, 2022, 9:05 a.m.

Related to leave1out in metansue...