qreg: Quantile Regression

Description Usage Arguments Value

View source: R/robustregression.R

Description

A simple point estimator for quantile regression. Standard errors are returned, calculated under the i.i.d. assumption, however, I recommend validating any constructed confidence intervals using the qreg.boot function to obtain bias corrected and accelerated bootstrap confidence intervals.

Usage

1
qreg(formula, data, q = c(0.2, 0.5, 0.8), hd = F)

Arguments

formula

model formula

data

data frame

q

a number corresponding to the quantile of interest (i.e, 0.50 for the median), or a vector of values between 0 and 1 indicating the desired quantiles.

hd

if TRUE the Harrell-Davis quantile estimates are modeled.

Value

a quantilereg object


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.