View source: R/linearModelTest.r
This function tests screening performance on linear models with user specified dimension. The function generates synthetic data using linear model and prints the screened variable for all method to the screen.
1 2 | linearModelTest(n, p, beta.not.null = c(1, 2, 3), num.select = 5 *
length(beta.not.null), ebic = FALSE)
|
n |
the sampel size |
p |
the model dimension |
beta.not.null |
the non-zero coefficient indexes |
num.select |
the same as in "screening" |
ebic |
the same as in "screening" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.