Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/alfaridge.plot.R

A plot of the regularised regression coefficients is shown.

1 | ```
alfaridge.plot(y, x, a, lambda = seq(0, 5, by = 0.1) )
``` |

`y` |
A numeric vector containing the values of the target variable. If the values are proportions or percentages, i.e. strictly within 0 and 1 they are mapped into R using the logit transformation. In any case, they must be continuous only. |

`x` |
A numeric matrix containing the continuous variables. |

`a` |
The value of the |

`lambda` |
A grid of values of the regularisation parameter |

For every value of *λ* the coefficients are obtained. They are plotted versus the *λ* values.

A plot with the values of the coefficients as a function of *λ*.

Michail Tsagris

R implementation and documentation: Giorgos Athineou <[email protected]> and Michail Tsagris <[email protected]>

Hoerl A.E. and R.W. Kennard (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1): 55-67.

Brown P. J. (1994). Measurement, Regression and Calibration. Oxford Science Publications.

Tsagris M.T., Preston S. and Wood A.T.A. (2011). A data-based power transformation for compositional data. In Proceedings of the 4th Compositional Data Analysis Workshop, Girona, Spain. http://arxiv.org/pdf/1106.1451.pdf

1 2 3 4 5 |

Compositional documentation built on Jan. 13, 2019, 5:04 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.