simfun_culc: simulation code, based approximately on Culcita data set not...

Description Usage Arguments

Description

simulation code, based approximately on Culcita data set not longitudinal; approximates toenail if n.ttt=2 simulates covariate x, but not currently used

Usage

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)

Arguments

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


bbolker/agqsims documentation built on May 11, 2019, 9:27 p.m.