This function fits spline autoregression (SAR) model to quantile series (QSER).
qser2sar(
y.qser,
tau0,
tau = tau0,
p = NULL,
order.max = NULL,
spar = NULL,
method = c("GCV", "AIC", "BIC"),
type = c(1, 2),
weights = rep(1, length(tau0)),
interval = c(-1.5, 1.5)
)a list with the following elements:
matrix or array of SAR coefficients
vector or matrix of SAR residual covariance
order of SAR model
penalty parameter
length of time series
quantile levels for evaluation
quantile levels for fitting
weights in penalty function
spline design matrices
object containing details of SAR fit
matrix or array of pre-calculated QSER at tau0 using, e.g., qser()
quantile levels used to compute y.qser
quantile levels for evaluation (min(tau0) <= tau <= max(tau0);
default = tau0)
order of SAR model (default = NULL: automatically selected by AIC)
maximum order for AIC if p = NULL (default = NULL: determined by stats::ar())
penalty parameter alla stats::smooth.spline() (default = NULL: automatically selected)
criterion for penalty parameter selection: "GCV" (default), "AIC", or "BIC"
type of quantile smoothing for residual variance: 1 = direct (default) or 2 = square root
sequence of weights (default = rep(1,length(tau0)))
interval for spar optimization (default = c(-1.5,1.5))