simdata_blizhosm2006 {lb} | R Documentation |
Simulate Data based on Blizzard and Hosmer 2006
simdata_blizhosm2006(nobs, setting, rtype = c("list", "data.frame"))
nobs |
number of observations. |
setting |
an integer giving the simulation setting. Allowed values are \{1, 2, 3, 4, 5, 6, 7, 8\}. |
rtype |
a character giving the return type. Allowed values are |
depending on rtype either a list
or a data.frame
.
L. Blizzard and D. W. Hosmer. "Parameter estimation and goodness-of-fit in log binomial regression." Biometrical Journal 48.1 (2006): 5-22.
d <- simdata_blizhosm2006(500, 1)