Learn R Programming

quantreg (version 5.99.1)

sfn.control: Set Control Parameters for Sparse Fitting

Description

Auxiliary function for setting storage dimensions and other parameters for rq.fit.sfn(), rq.fit.sfnc() and rqss().

Usage

sfn.control(nsubmax = NULL, tmpmax = NULL, nnzlmax = NULL, cachsz = 64,
            small = 1e-06, maxiter = 100,
            tiny = 1e-30, Large = 1e128,
            warn.mesg = TRUE)

Value

A list with components named as the arguments given above.

Arguments

nsubmax

upper bound for dimension of lindx

tmpmax

upper bound for dimension of tmpvec

nnzlmax

upper bound for non-zero entries of L stored in lnz, including diagonal

cachsz

size of cache in kbytes on target machine

small

convergence tolerance for interior point algorithm

maxiter

maximal number of interior point iterations

tiny

a tiny positive number; values below tiny * max(diag) are replaced by Large; originally was \(10^{-30}\) hardcoded in Fortran code.

Large

a large number, practically “Infinite” to replace tiny diagonal entries in Cholesky; was \(10^{128}\), hardcoded in compiled code.

warn.mesg

logical flag controlling printing of warnings.

Author

Roger Koenker

Details

Sparse fitting requires a number of temporary storage arrays whose size depends on problem specific features in somewhat mysterious ways, parameters controlling these sizes and some other fitting aspects can be controlled by specifying elements of this control object.

See Also

rq.fit.sfn, rq.fit.sfnc, and rqss from which sfn.control() is called.