Description Usage Arguments Value
Fit tail GPD to exceedances where the log(shape) parameter varies as a linear combination of basis functions.
1 2 3 |
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 |
Xb |
basis design matrix for tails (log(scale) of GPD). Each basis function is in a separate column. |
b.formula |
formula for natural spline basis and periodic basis splines. Must be written in terms of b.lf and b.hf |
winter.ind |
should a separate shape paramter be estimated for the winter months? |
return.basis |
(logical) should the basis matrix Xb be returned? |
list par: estimated parameters (last column corresponds to shape) first several correspond to log(scale) basis terms Xb: basis matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.