simFunc: Run one simulation analysis to assess bias and variance of...

Description Usage Arguments

View source: R/es_sim.R

Description

Run one simulation analysis to assess bias and variance of effect size index. Also, includes code to assess coverage and width of confidence intervals from Kent, J. T., & Hainsworth, T. J. (1995). Confidence intervals for the noncentral chi-squared distribution. Journal of Statistical Planning and Inference, 46(2), 147–159. https://doi.org/10.1016/0378-3758(94)00104-4. See image.statMap for additional arguments

Usage

1
simFunc(simsetup, shape = 0.5, n = 500, alpha = 0.05)

Arguments

simsetup

list, output from simSetup function.

shape

numeric, shape parameter for gamma distribution.

n

integer, sample size for this simulation.

alpha

numeric, probability for confidence interval.


simonvandekar/Reproducible documentation built on Nov. 21, 2020, 7:35 p.m.