simdata_louzhasun2014_sim_i1 {lb}R Documentation

Simulate Data based on Luo amd Zhang and Sun 2014

Description

Simulate Data based on Luo amd Zhang and Sun 2014

Usage

simdata_louzhasun2014_sim_i1(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\}.

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

Ji Luo and Jiajia Zhang and Han Sun. "Estimation of relative risk using a log-binomial model with constraints." Computational Statistics 29.5 (2014): 981-1003.

Examples

d <- simdata_louzhasun2014_sim_i1(nobs = 200, 1L)

[Package lb version 1.1 Index]