Description Usage Arguments Value References Examples
Monte Carlo power calculation for trend-in-trend design.
1 |
N |
Sample Size. |
time |
Number of time points. |
G |
Number of CPE strata. |
cstat |
Value of the c-statistic. |
alpha_t |
A scaler that qunatifies the trend in exposure prevalence. |
beta_0 |
Intercept of the outcome model. |
h1.OR |
A given odds ratio. |
nrep |
Number of Monte Carlo replicates. |
power |
Power of detecting the given Odds Ratio. |
Ertefaie A, Small DS, Ji X, Leonard C, Hennessy S (2018). Statistical Power for Trend-in-trend Design. Epidemiology. 29(3), e21–e23.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.