qrfit: Quantile Regression (qr) model fitting

View source: R/qrfit.R

qrfitR Documentation

Quantile Regression (qr) model fitting

Description

High level function for estimating parameters by quantile regression

Usage

qrfit(X,y,tau,beta,method,maxit,toler,rho)

Arguments

X

the design matrix

y

response variable

tau

quantile level

method

"mm" for majorize and minimize method,"cd" for coordinate descent method, "admm" for Alternating method of mulipliers method,"ip" for interior point mehod

rho

augmented Lagrangian parameter

beta

initial value of estimate coefficient (default naive guess by least square estimation)

maxit

maxim iteration (default 200)

toler

the tolerance critical for stop the algorithm (default 1e-3)

Value

a list structure is with components

beta

the vector of estimated coefficient

b

intercept

Note

qrfit(x,y,tau) work properly only if the least square estimation is good. Interior point method is done by quantreg.


cqrReg documentation built on June 7, 2022, 9:06 a.m.

Related to qrfit in cqrReg...