estimateSampleSize: Sample size estimate

Description Usage Arguments Details Value Author(s)

Description

estimateSampleSize(effect, sigLevel, powerLevel)

Usage

1
estimateSampleSize(effect = 0.1, sigLevel = 0.05, powerLevel = 0.8)

Arguments

effect

Numeric variable indicating effect size to discern

sigLevel

Numeric variable indicating the level of significance

powerLevel

Numeric indicator of the power level

Details

Function to compute minimum sample size required for Variable and partial response rates may affect sample size. To ensure that readers could rely upon non-significant results, this analyst conducted several power analyses using the pwr package (Ekstrom et al. 2017). Each test indicated the minimum sample size required to detect a small effect of 0.1, with the p<.05 probability of a type I error of p < .05 and power of 0.8

Value

power Data frame indicating minimum sample sizes for various statistical tests

Author(s)

John James, jjames@datasciencesalon.org


DataScienceSalon/chronic documentation built on May 8, 2019, 11:47 a.m.