Qtest: Q-test to assess compatibility between original and...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Qtest.R

Description

Computes p-value from meta-analytic Q-test to assess compatibility between original and replication effect estimate.

Usage

1
Qtest(thetao, thetar, seo, ser)

Arguments

thetao

Numeric vector of effect estimates from original studies.

thetar

Numeric vector of effect estimates from replication studies.

seo

Numeric vector of standard errors of the original effect estimates.

ser

Numeric vector of standard errors of the replication effect estimates.

Details

This function computes the p-value from a meta-analytic Q-test assessing compatibility between original and replication effect estimate. Rejecting compatibility when the p-value is smaller than alpha is equivalent with rejecting compatibility based on a (1 - alpha) prediction interval.

Value

p-value from Q-test.

Author(s)

Samuel Pawel

References

Hedges, L. V., Schauer, J. M. (2019). More Than One Replication Study Is Needed for Unambiguous Tests of Replication. Journal of Educational and Behavioral Statistics, 44, 543-570. doi: 10.3102/1076998619852953

See Also

predictionInterval

Examples

1
Qtest(thetao = 2, thetar = 0.5, seo = 1, ser = 0.5)

florafauna/RStest documentation built on Dec. 20, 2021, 8:44 a.m.