View source: R/sample_bootstrap.R
check_ech | R Documentation |
Determine the differences in mean that I can detect for a known sample size
check_ech(n, mean, sd, conf.level = 0.99, conf = 0.95, iter = 200, cut = 100)
n |
: Size of my sample. |
mean |
: Average of my reference sample. |
sd |
: Standard deviation of my sample. |
conf.level |
: Expected confidence on Student's test when I compare 2 samples (0 to 1) |
conf |
: Frequency of times we wish to have the desired p-value defined |
iter |
: Number of iterations per bootstrap |
cut |
: Resolution (number of steps) |
If I have a sample of which I know the size, what effect would I be able to see?
# What minimum variation could I detect for a sample of 20 individuals (mean 170, sd 20)?
check_ech(n=20,mean = 170,sd = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.