cqr.fit: Composite Quantile Regression (cqr) model fitting

View source: R/cqr.fit.R

cqr.fitR Documentation

Composite Quantile Regression (cqr) model fitting

Description

Composite quantile regression (cqr) find the estimated coefficient which minimize the absolute error for various quantile level. High level function for estimating parameter by composite quantile regression.

Usage

cqr.fit(X,y,tau,beta,method,maxit,toler,rho)

Arguments

X

the design matrix

y

response variable

tau

vector of 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

cqr.fit(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 cqr.fit in cqrReg...