pScepticalMu {ReplicationSuccess}R Documentation

Sceptical p-value for a general point null hypothesis

Description

The sceptical p-value is computed based on the effect estimates of the original and replication studies and their respective standard errors for the general point null hypothesis H_0: θ = μ.

Usage

pScepticalMu(thetao, thetar, se_thetao, se_thetar, mu, alternative = "two.sided")

Arguments

thetao

A vector of effect estimates from original studies.

thetar

A vector of effect estimates from replication studies.

se_thetao

Standard errors of thetao

se_thetar

Standard errors of thetar

mu

A vector of values for the null hypothesis

alternative

either "one.sided" or "two.sided". Defaults to "two.sided". If "one.sided" then the sceptical p-value is based on a one-sided assessment of replication success in the direction of the original effect estimate. If "two.sided" then the sceptical p-value is based on a two-sided assessment of replication success regardless of the direction of the original and replication effect estimate.

Value

The sceptical p-value.

Author(s)

Charlotte Micheloud

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

Held, L. (2020). The harmonic mean chi-squared test to substantiate scientific findings. Journal of the Royal Statistical Society: Series C (Applied Statistics), 69, 697-708. https://doi.org/10.1111/rssc.12410

See Also

pSceptical

Examples

pScepticalMu(thetao = 0.4, thetar = 0.2, se_thetao = 0.1, se_thetar = 0.1, 
             mu = c(0, 0.2, 0.4, 0.6), alternative = "two.sided")

[Package ReplicationSuccess version 0.1-3 Index]