Description Usage Arguments Value Examples
calculate d and g estimates and variances for N simulations of an m x n multi-SCD studies.
1 2 | run_equitime_simulations(N = 1000, m = 6, n = 20, k = 2, delta = 2,
sigma = 1, tau = 1)
|
N |
number of simulations |
m |
number of cases in each multi-SCD study |
n |
number of time observations for each study |
k |
number of complete baseline/treatment cycles |
delta |
true effect size parameter |
sigma |
within-case variance |
tau |
inter-case variance |
d, var_d, g, var_g, d_param: N-vectors related to effect size estimates and variances, and d_param is the true delta parameter
1 2 3 | sim_1000 <- run_equitime_simulations()
hist(sim_1000$d, col = 'grey80')
abline(h = sim_1000$d_param, col = 'red')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.