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

View source: R/Qtest.R

QtestR Documentation

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)

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3102/1076998619852953")}

See Also

predictionInterval

Examples

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

ReplicationSuccess documentation built on April 3, 2023, 5:11 p.m.