Generate Simulation Data for Benchmarking Sparse Regressions (Binomial Response)
Source:R/msaenet-sim.R
msaenet.sim.binomial.Rd
Generate simulation data for benchmarking sparse logistic regression models.
Usage
msaenet.sim.binomial(
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>