effectSizeReplicationSuccess: Computes the minimum relative effect size to achieve...

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

View source: R/effectSizeReplicationSuccess.R

Description

The minimum relative effect size (replication to original) to achieve replication success is computed based on the result of the original study and the corresponding variance ratio (relative sample size).

Usage

1
2
3
4
5
6
effectSizeReplicationSuccess(zo, 
                             c = 1,
                             level = 0.025, 
                             alternative = "one.sided", 
                             type = "golden")
       

Arguments

zo

A vector of z-values from original 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.

level

Replication success level. Default is 0.025.

alternative

either "one.sided" or "two.sided". Defaults to "one.sided". Specifies if the replication success level is one-sided or two-sided. If the significance level is one-sided, then effect size calculations are based on a one-sided assessment of replication success in the direction of the original effect estimate.

type

Type of recalibration. Can be either "nominal" (no recalibration), "liberal", "controlled" or "golden". The default is "golden" which ensures that for an original study just significant at the specified level, replication success is only possible if the replication effect estimate larger than the original one. See ?levelSceptical for details about recalibration types.

Value

The minimum relative effect size to achieve replication success

Author(s)

Leonhard Held, Charlotte Micheloud

References

Held, L., Micheloud, C. & Pawel, S. (2020). The assessment of replication success based on relative effect size. https://arxiv.org/abs/2009.07782

See Also

sampleSizeReplicationSuccess, levelSceptical

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
                                  
po <- c(0.001, 0.002, 0.01, 0.02, 0.025)
zo <- p2z(po, alternative = "one.sided")

effectSizeReplicationSuccess(zo = zo, 
                             c = 1, 
                             level = 0.025, 
                             alternative = "one.sided", 
                             type = "golden")
              
effectSizeReplicationSuccess(zo = zo, 
                             c = 10, 
                             level = 0.025, 
                             alternative = "one.sided", 
                             type = "golden")
              
              
effectSizeReplicationSuccess(zo = zo, 
                             c = 2, 
                             level = 0.025, 
                             alternative = "one.sided", 
                             type = "nominal")
       
effectSizeReplicationSuccess(zo = zo, 
                             c = 2, 
                             level = 0.05, 
                             alternative = "two.sided", 
                             type = "nominal")
              
              

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