ri.d.demo: Simulation to demonstrate the meaning of the d-value...

Description Usage Arguments Value Examples

Description

Simulation to demonstrate the meaning of the d-value replication interval

Usage

1
2
ri.d.demo(n1 = 50, n2 = 50, rep.n1 = NA, rep.n2 = NA, pop.d = 0.5,
  number.trials = 10000, prob.level = 0.95, bias.correction = FALSE)

Arguments

n1

Original study: Cell size 1

n2

Original study: Cell size 2

rep.n1

(optional) Replication study: Cell size 1. If not specified, n is used.

rep.n2

(optional) Replication study: Cell size 2. If not specified, n is used.

pop.d

All samples are drawn from a common population. This specifies the population correlation.

number.trials

Indicate the number of pairs of sample (original, replication) that should be used. 10,000 or higher suggested for stable results.

prob.level

(optional 0 to 1 value) Probability level desired (0 to 1). If not specified .95 (i.e., 95 percent) will be used.

bias.correction

Apply bias correction formula to d-values.

Value

The replication interval and related statistics in list format.

Examples

1
ri.d.demo(n1=50,n2=50,rep.n1=100,rep.n2=100,pop.d=.50,number.trials=10)

replicationInterval documentation built on May 2, 2019, 3:35 p.m.