Method for simulating a data set from
an object of class
currently not used.
object$ncat times the rows
model.frame(object) have and the same variables. If
weights has been specified in the call that generated
object, then the simulate frequencies will populate the
weights variable. Otherwise, the resulting
".weights" variable with the simulated multinomial
1 2 3 4 5 6 7 8 9 10 11 12
## Multinomial logistic regression data("housing", package = "MASS") houseML1 <- brmultinom(Sat ~ Infl + Type + Cont, weights = Freq, data = housing, type = "ML", ref = 1) simulate(houseML1) ## Adjacent-category logits data("stemcell", package = "brglm2") stemML1 <- bracl(research ~ religion + gender, weights = frequency, data = stemcell, type = "ML") simulate(stemML1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.