simdata_blizhosm2006 {lb}R Documentation

Simulate Data based on Blizzard and Hosmer 2006

Description

Simulate Data based on Blizzard and Hosmer 2006

Usage

simdata_blizhosm2006(nobs, setting, rtype = c("list", "data.frame"))

Arguments

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 "list" and "data.frame".

Value

depending on rtype either a list or a data.frame.

References

L. Blizzard and D. W. Hosmer. "Parameter estimation and goodness-of-fit in log binomial regression." Biometrical Journal 48.1 (2006): 5-22.

Examples

d <- simdata_blizhosm2006(500, 1)

[Package lb version 1.1 Index]