zSceptical: Computes the test statistic of the sceptical p-value

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

View source: R/zSceptical.R

Description

The test statistic of the sceptical p-value is computed based on the z-value of the original and the replication study and the corresponding variance ratio.

Usage

1
zSceptical(zo, zr, c)

Arguments

zo

A vector of z-values from original studies.

zr

A vector of z-values from replication studies.

c

A vector of variance ratios of the original and replication effect estimates. This is usually the ratio of the sample size of the replication study to the sample size of the original study.

Value

The z-value of the sceptical p-value.

Author(s)

Leonhard Held

References

Held, L. (2020). A new standard for the analysis and design of replication studies (with discussion). Journal of the Royal Statistical Society: Series A (Statistics in Society), 183, 431-448. https://doi.org/10.1111/rssa.12493

See Also

sampleSizeReplicationSuccess, powerReplicationSuccess, pSceptical, levelSceptical

Examples

1
2
zSceptical(zo = 2, zr = 3, c = 2)
zSceptical(zo = 3, zr = 2, c = 2)

ReplicationSuccess documentation built on Dec. 2, 2020, 3 p.m.