Description Usage Arguments Value
This function generates synthetic data and run BCVO, LASSO, or others, and summarize its performance from several replications.
1 | runRepExperiment(genData, n, p, nRep, ratio, weight_method, fixedBeta)
|
genData |
Function to generate synthetic training and testing data |
n |
Integer value of sample size |
p |
Integer number of variables |
nRep |
Integer number (>1) of replications in the experiment |
ratio |
Fraction (0 to 1) of the data used to generate solution paths |
weight_method |
String ('simple' or 'ARM') of method to use in weighting subsets |
fixedBeta |
Boolean indicator of whether to use fixed design in test |
Printout of means and standard errors of prediction loss, number of overfitted variables, and number of underfitted variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.