confint.PLR_boot {LorenzRegression} | R Documentation |
Provides bootstrap confidence intervals for the explained Gini coefficient and Lorenz-R^2
for an object of class "PLR_boot"
.
## S3 method for class 'PLR_boot'
confint(
object,
parm = c("Gini", "LR2"),
level = 0.95,
type = c("norm", "basic", "perc"),
pars.idx = "BIC",
bias.corr = TRUE,
...
)
object |
An object of class |
parm |
A character string determining whether the confidence interval is computed for the explained Gini coefficient or for the Lorenz- |
level |
A numeric giving the level of the confidence interval. Default value is 0.95. |
type |
A character string specifying the bootstrap method. Possible values are |
pars.idx |
What grid and penalty parameters should be used for parameter selection. Either a character string specifying the selection method, where the possible values are:
Or a numeric vector of length 2, where the first element is the index of the grid parameter and the second is the index of the penalty parameter. |
bias.corr |
A logical determining whether bias correction should be performed. Only used if |
... |
Additional arguments. |
A vector providing the desired confidence interval.
## For examples see example(Lorenz.boot)