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

Description Usage Arguments

View source: R/esSim.R

Description

Run one simulation analysis to assess bias and variance of effect size index. 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
2
3
4
5
6
7
simFunc(
  simsetup,
  shape = 0.5,
  n = 500,
  alpha = 0.05,
  vcovFunc = sandwich::vcovHC
)

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.

vcovFunc

function for computing the covariance matrix


simonvandekar/RESI documentation built on Jan. 22, 2021, 2:40 a.m.