Generate Simulation Data for Benchmarking Sparse Regressions (Poisson Response)
Source:R/msaenet-sim.R
msaenet.sim.poisson.Rd
Generate simulation data for benchmarking sparse Poisson regression models.
Usage
msaenet.sim.poisson(
n = 300,
p = 500,
rho = 0.5,
coef = rep(0.2, 50),
snr = 1,
p.train = 0.7,
seed = 1001
)
Author
Nan Xiao <https://nanx.me>