plot.PLR {LorenzRegression}R Documentation

Plots for the Penalized Lorenz Regression

Description

plot.PLR provides plots for an object of class PLR.

Usage

## S3 method for class 'PLR'
plot(x, ...)

Arguments

x

Output of a call to Lorenz.Reg, where penalty!="none".

...

Additional arguments.

Value

Three types of plots The first is the Lorenz curve of the response and concentration curves of the response with respect to the estimated index (obtained with each selection method). In each of the remaining graphs, the horizontal axis is -log(lambda), lambda being the value of the regularization parameter. The second type of plot is a traceplot, where the vertical axis gives the size of the coefficient attached to each covariate. The third type of plot shows the evolution of the score(s) for each of the selection method chosen in the PLR object. For comparability reasons, the scores are normalized such that the larger the better and the optimum is attained in 1. Since the whole path depends on the chosen bandwidth for the kernel, and the optimal bandwidth may depend on the selection method, the plots are produced for each selection method used in the PLR object

See Also

Lorenz.Reg

Examples

data(Data.Incomes)
PLR <- Lorenz.Reg(Income ~ ., data = Data.Incomes, penalty = "SCAD",
                  sel.choice = c("BIC","CV"), h.grid = nrow(Data.Incomes)^(-1/5.5),
                  eps = 0.01, seed.CV = 123, nfolds = 5)
plot(PLR)


[Package LorenzRegression version 1.0.0 Index]