Variance-Covariance Matrix for a Fitted Quantile Ratio Regression Model Object
vcov.qrr.RdThis functions returns the variance-covariance matrix of the coefficients of a fitted qrr model object.
Usage
# S3 method for class 'qrr'
vcov(object, method = "approximate", R = 200, update = TRUE, ...)Arguments
- object
an object of
classqrr.- method
if
"approximate", the variance-covariance estimate is approximated by the inverse of the numerical Hessian. The latter is calculated as detailed in Farcomeni and Geraci (2023). If"boot", the variance-covariance estimate is calculated by means of ordinary bootstrap (seeboot).- R
the number of bootstrap replications.
- update
logical flag. If
TRUE(the default), the statistic to be resampled is obtained via anupdateof theqrrobject. IfFALSE, then the statistic to be resampled is obtained via ado.callof theqrrobject. See details.- ...
not used.
Details
The use of update = FALSE is preferred when the function vcov.qrr is called from within another function.