simulation code, based approximately on Culcita data set not longitudinal; approximates toenail if n.ttt=2 simulates covariate x, but not currently used
1 2 3 | simfun_culc(n.blocks = 10, n.ttt = 4, n.rep = 3, N.binom = 1,
x.range = c(-1, 1), beta = c(5, -3.75, -4.4, -5.5), theta = 3.5,
seed = NULL)
|
n.blocks |
number of levels of RE grouping variable |
n.ttt |
number of levels of (categorical) fixed effect |
n.rep |
number of replicates per ttt*block combination |
N.binom |
number of trials per binomial sample |
x.range |
range of continuous covariate (unused) |
beta |
fixed-effects parameter vector |
theta |
RE parameter vector (Cholesky factor) |
seed |
random-number seed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.