Description Usage Arguments Details Author(s) References See Also Examples
This function takes a bootpath object from
bootstrap.path and generates the histograms or the pairwise
scatter plots of the bootstrap coefficients.
1 2 3 |
x |
a |
type |
If |
mfrow |
determines the numbers of rows and columns of the histograms on a page. 2 rows are generated as a default. |
mar |
margin relative to the current font size |
... |
other options for the plot |
Fitting glmpath or coxpath gives a series of solution
sets with a varying size of the active set. Once we select an
appropriate value of the regularization parameter, and, thus a set of
coefficients, we may then validate the chosen coefficients through a
bootstrap analysis. plot.bootstrap summarizes the bootstrap
results by generating the histograms or the pairwise scatter plots of
the bootstrap coefficients.
Mee Young Park and Trevor Hastie
Bradley Efron and Robert Tibshirani (1993) An Introduction to the Bootstrap CHAPMAN & HALL/CRC, Boca Raton.
Mee Young Park and Trevor Hastie (2007) L1 regularization path algorithm for generalized linear models. J. R. Statist. Soc. B, 69, 659-677.
bootstrap.path, coxpath, glmpath
1 2 3 4 5 6 | data(heart.data)
attach(heart.data)
bootstrap.a <- bootstrap.path(x, y, B=5)
plot(bootstrap.a)
plot(bootstrap.a, type="pairplot")
detach(heart.data)
|
Loading required package: survival
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.