Data Generating Code in Extended Binomial Vignette?
Closed this issue · 1 comments
awhug commented
Hi Lisa!
Fantastic manuscript and really useful resource. Just a quick question - I could be entirely wrong here, but is there an error in the extended binomial simulation vignette?
lmem_sim/vignettes/appendix3b_extended_binomial.Rmd
Lines 149 to 153 in eb25e36
I would have assumed that B_e = beta_e + S_e + I_e
, and B_c = beta_c + S_c
. But perhaps there's some simple algebraic reason (relating to the interaction?) that this simulation code works?
debruine commented
Good catch, thanks!!