Description Usage Arguments Value Author(s)
Estimates by how much the simulated study size needs to be inflated or shrank in order to obtain the specified level of power. The ratio of z-statistic required for desired power to mean model z-statistic obtained indicates the relative changes in standard error required. This corresponds to the relative change on scale and square root of sample size.
1 2 | samplsize.calc(numcases = 2000, numcontrols = 8000, num.subjects = 500,
pheno.model = 0, pval = 1e-04, power = 0.8, mean.model.z = NULL)
|
numcases |
number of cases when outcome is binary. |
numcontrols |
number of controls when outcome is binary. |
num.subjects |
number of subjects when outcome is quantitative. |
pheno.model |
outcome model, binary=0 and quantitafive=1. |
pval |
cut-off p-value defining statistical significance. |
power |
desired power |
mean.model.z |
ratio of mean beta estimate over mean se estimate |
A table containing: numcases.required
number of
cases required to achieve the desired power under binary
outcome model numcontrols.required
number of
controls required to achieve the desired power under binary
outcome model numsubjects.required
number of
subjects required to achieve the desired power under a
quantitative outcome model
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.