Learn R Programming

ReplicationSuccess (version 1.3.3)

Qtest: Q-test to assess compatibility between original and replication effect estimate

Description

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

Usage

Qtest(thetao, thetar, seo, ser)

Value

p-value from Q-test.

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.

Author

Samuel Pawel

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.

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. tools:::Rd_expr_doi("10.3102/1076998619852953")

See Also

predictionInterval

Examples

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

Run the code above in your browser using DataLab