rrr.sim3: Simulation model 3

View source: R/sim.R

rrr.sim3R Documentation

Simulation model 3

Description

Generate data from a mixed-response reduced-rank regression model

Usage

rrr.sim3(
  n = 100,
  p = 30,
  q.mix = c(5, 20, 5),
  nrank = 2,
  intercept = rep(0.5, 30),
  mis.prop = 0.2
)

Arguments

n

sample size

p

number of predictors

q.mix

numbers of Gaussian, Bernolli and Poisson responses

nrank

model rank

intercept

a vector of intercept

mis.prop

missing proportion

Value

similated model and data

References

Chen, K., Luo, C., and Liang, J. (2017) Leveraging mixed and incomplete outcomes through a mixed-response reduced-rank regression. Technical report.


rrpack documentation built on June 16, 2022, 9:05 a.m.

Related to rrr.sim3 in rrpack...