if (.Platform$OS.type != "windows" || .Platform$r_arch != "i386")
stan_glm(Days ~ Sex/(Age + Eth*Lrn), data = MASS::quine, seed = 123,
family = neg_binomial_2, QR = TRUE, algorithm = "optimizing")
# or, equivalently, call stan_glm.nb() without specifying the family
Run the code above in your browser using DataLab