Description Usage Arguments Value
Data generation corresponding to the four simulation setups used by Tibshirani (1996).
1 | Tibshirani(samplesize, ex, equi = FALSE)
|
samplesize |
The sample size. |
ex |
The example to generate data according to. Can be 1, 2, 3 or 4. |
equi |
True or false to indicate if equicorrelations should be used. |
Returns a list with the following:
X |
An n * p matrix containing the independent variables ( |
y |
An n * 1 matrix containing the dependent variable. |
mu |
An n * 1 matrix containing the true conditional mean. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.