Description Usage Arguments Value
Fit quantile regression to bulk of data and extract exceedances
1 2 3 |
y |
response vector |
dates |
vector of dates of each observation |
df.lf |
natural spline degrees of freedom on date |
df.hf |
periodic basis spline degrees of freedom on the day of the year |
taus |
quantiles to estimate |
Xb |
(optional) matrix of basis functions. Each basis function is in a separate column. |
b.formula |
basis formula. Should be function of b.lf and b.hf |
threshold.tau |
quantile above or below which taus are to be interpreted conditionally for distributions exceeding threshold.tau (either below or above). |
return.basis |
(logical) should the basis matrix be returned? |
return.yhat |
(logical) should matrix of predicted quantiles (see taus) be returned? |
return.excd |
(logical) should vector of exceedances of highest quantile be returned? |
type |
one of "upper" or "lower" if tail tau quantiles should be handled separately. |
A list containing the basis matrix (Xb), fitted quantiles (yhat), QR basis coefficients (betas), lower and upper exceedances, dates, indices, and thresholds (lexcd, lexcd.dates, lexcd.id, lthresh) and (uexcd, uexcd.dates, uexcd.id, uthresh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.