Description Usage Arguments Value Author(s) Examples
True beta values are generated from p*r independent draws from N(0, 1/p) distribution. X are n independent draws from p multivariate normal N(0, SigmaX). Y is then generated using X and true beta values with an iid error term that follows r multivariate normal distribution N(0, Sigma).
1 2 3 |
n |
desired sample size |
p |
desired dimension |
r |
number of responses |
sparsity |
desired sparsity for beta |
Sigma |
covariance matrix structure used to generate Y | X |
s |
option to specify diagonal elements in Sigma |
SigmaX |
covariance matrix structure used to generate data X |
sx |
option to specify diagonal elements in SigmaX |
... |
additional arguments to pass to data generating functions |
Y, X, betas, Sigma, SigmaX
Matt Galloway gall0441@umn.edu
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.