This function fits spline autoregression (SAR) model to quantile series (QSER).
qser2sar(
y.qser,
tau,
d = 1,
p = NULL,
order.max = NULL,
spar = NULL,
method = c("GCV", "AIC", "BIC"),
weighted = FALSE
)
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
sequence of quantile levels
length of time series
subsampling rate of quantile levels
option for weighted penalty function
object containing details of SAR fit
matrix or array of pre-calculated QSER, e.g., using qser()
sequence of quantile levels where y.qser
is calculated
subsampling rate of quantile levels (default = 1)
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 smooth.spline
(default = NULL
: automatically selected)
criterion for penalty parameter selection: "AIC"
(default), "BIC"
, or "GCV"
if TRUE
, penalty function is weighted (default = FALSE
)