pitakakariki / simr

Power Analysis of Generalised Linear Mixed Models by Simulation
70 stars 20 forks source link

Binomial makeGlmer #141

Open pitakakariki opened 5 years ago

pitakakariki commented 5 years ago
model2 <- makeGlmer(cbind(z, 15) ~ x + (x|g), family="binomial", fixef=b, VarCorr=V2, data=X)
pitakakariki commented 1 year ago

Note to self - this is an example of how I'd like it to work, but I still need to implement it.

pitakakariki commented 10 months ago

Although makeGlmer doesn't have this feature yet, doSim does already handle the cbind case. Would be good to have this work in all cases (Bernoulli, cbind, proportion w/ weights, count response).