confint.LR_boot {LorenzRegression} | R Documentation |
Provides bootstrap confidence intervals for the explained Gini coefficient, Lorenz-R2 and theta vector for an object of class "LR_boot"
.
## S3 method for class 'LR_boot'
confint(
object,
parm = c("Gini", "LR2", "theta"),
level = 0.95,
type = c("norm", "basic", "perc"),
bias.corr = TRUE,
...
)
object |
An object of class |
parm |
A logical value determining whether the confidence interval is computed for the explained Gini coefficient, 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 |
bias.corr |
A logical determining whether bias correction should be performed. Only used if |
... |
Additional arguments. |
The desired confidence interval.
If parm="Gini"
or parm="LR2"
, the output is a vector.
If parm="theta"
, it is a matrix where each row corresponds to a different coefficient.
## For examples see example(Lorenz.boot)