Learn R Programming

ESTER (version 0.1.0)

simER: Simulates a sequential testing with evidence ratios for independent two-groups comparisons

Description

Simulates a sequential testing with evidence ratios for independent two-groups comparisons, as a function of sample size and standardized mean difference (Cohen's d).

Usage

simER(cohensd, nmin, n, ic = bic, plot = TRUE)

Arguments

cohensd

Expected effect size

nmin

Minimum sample size from which start computing ERs

n

Total sample size

ic

Indicates whether to use the aic or the bic.

plot

If TRUE, produces a plot of the evolution of the ERs

See Also

distER

Examples

Run this code
# NOT RUN {
simER(cohensd = 0.6, nmin = 20, n = 200, ic = aic, plot = TRUE)
simER(cohensd = 0, nmin = 20, n = 200, ic = bic, plot = TRUE)

# }

Run the code above in your browser using DataLab