rrr.sim3 {rrpack}R 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.


[Package rrpack version 0.1-13 Index]