powered by
Inflate Sample Size for Attrition
inflate.sample(n, rate = 0.05, ceil.n = TRUE, verbose = 1)
inflated sample size.
sample size.
attrition rate.
rounds-up the inflated sample size.
1 by default (returns test, hypotheses, and results), if 2 a more detailed output is given (plus key parameters and definitions), if 0 no output is printed on the console.
1
2
0
inflate.sample(n = 100, rate = 0.05)
Run the code above in your browser using DataLab