- formula
a formula object, with the response on the left of a ~
operator, and the terms, separated by +
operators, on the right.
- data
a data frame in which to interpret the variables named in the formula.
- taus
a vector of two quantiles for the ratio to be estimated (the order is irrelevant).
- start
the algorithm with which obtain the starting values for one of the quantiles in the ratio. Possible options are "rq"
(linear regression model -- see rq
), "tsrq"
(quantile regression transformation model -- see tsrq
), "conquer"
(fast linear regression model -- see conquer
), "llqr"
(nonparametric linear regression model -- see llqr
)
- tsf
if start = "tsrq"
, see tsrq
.
- symm
if start = "tsrq"
, see tsrq
.
- dbounded
if start = "tsrq"
, see tsrq
.
- linearize
logical flag. If TRUE
(default), estimation is carried out with the linearized iterative algorithm of Farcomeni and Geraci (2023) by repeated calls to an appropriate linear estimation algorithm. Otherwise, the algorithm calls a nonlinear estimation routine. See argument method.rq
and method.nlrq
further below.
- kernel
an optional vector of weights to be used in the fitting process. Should be NULL or a numeric vector.
- maxIter
maximum number of iterations for fitting.
- epsilon
tolerance for convergence.
- verbose
logical flag. If TRUE
, progress on estimation is print out.
- method.rq
the method used to compute the linear fit. If linearize = TRUE
, the options are "conquer"
or any of those from rq
(see the argument method
).
- method.nlrq
the method used to compute the nonlinear fit. If linearize = FALSE
, the options are those from nlrq
(see the argument method
).