qqplot | R Documentation |
Produce a Q–Q plot comparing empirical exceedances to the fitted eFCM tail, with an optional GPD tail overlay for diagnostic comparison.
qqplot(object, ...)
## S3 method for class 'fcm'
qqplot(
object,
which = 1,
gpd = TRUE,
thres = 0.9,
main = "Q-Q plot",
xlab = "Theoretical quantiles (exceedances)",
ylab = "Empirical exceedances",
...
)
object |
An object of class |
... |
Additional graphical arguments forwarded to |
which |
Integer scalar. Station (column) index to plot. |
gpd |
Logical; if |
thres |
Numeric in |
main , xlab , ylab |
Character. Graphical labels passed to |
The function first selects a threshold u
as the empirical
thres
-quantile of the selected station series x
.
It then forms exceedances Y = X - u \mid X>u
, fits the eFCM
(implicitly via qfcm()
and a scalar \lambda
estimate),
and plots empirical exceedances against theoretical eFCM quantiles in the tail.
If gpd=TRUE
, a GPD is fitted to the exceedances (threshold 0) and
its theoretical tail quantiles are added for visual comparison.
A numeric vector of fitted eFCM theoretical tail quantiles, invisibly returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.