tsEvaComputeRLsGEVGPD {RtsEva} | R Documentation |
tsEvaComputeRLsGEVGPD
Description
tsEvaComputeRLsGEVGPD
is a function that calculates the return levels
and their associated errors for a Generalized Extreme Value (GEV)
and Generalized Pareto (GPD) distribution using the parameters obtained
from a non-stationary extreme value analysis.
It supports non-stationary analysis by considering different parameters
for each time index.
Usage
tsEvaComputeRLsGEVGPD(nonStationaryEvaParams, RPgoal, timeIndex, trans = NA)
Arguments
nonStationaryEvaParams |
The parameters obtained from a non-stationary extreme value analysis. |
RPgoal |
The target return period for which the return levels are computed. |
timeIndex |
The index at which the time-varying analysis should be estimated. |
trans |
A character string indicating the transformation to be applied to the data before fitting the EVD. default value is NA, corresponding to no transformation. Currently only the "rev" for reverse transformation is implemented. |
Value
A list containing the following components:
Fit
A character string indicating whether the EVD could be fitted to the data ("No fit") or the EVD was successfully fitted to the data ("Fitted").
ReturnLevels
A data frame containing the target return period (
ReturnPeriod
), GEV return level (GEV
), GPD return level (GPD
), GEV return level error (errGEV
), and GPD return level error (errGPD
) for the specified time index.Params
A list containing the GEV and GPD parameters for the specified time index, including their standard errors.
See Also
tsEvaComputeReturnLevelsGEV
, tsEvaComputeReturnLevelsGPD