GEVPars | R Documentation |
Estimated parameters from a sample (with Lmoments or maximum likelihood estimation) or from L1 (first L-moment), Lcv (linear coefficient of variation), and LSkew (linear skewness)
GEVPars(x = NULL, mle = FALSE, L1, LCV, LSKEW)
x |
numeric vector. The sample |
mle |
logical argument with a default of FALSE. If FALSE the parameters are estimated with Lmoments, if TRUE the parameters are estimated by maximum likelihood estimation |
L1 |
first Lmoment |
LCV |
linear coefficient of variation |
LSKEW |
linear skewness |
The L-moment estimated parameters are by the method detailed in 'Hosking J. Wallis J. 1997 Regional Frequency Analysis: An Approach Based on L-moments. Cambridge University Press, New York'
Parameter estimates (location, scale, shape)
Anthony Hammond
#Get an annual maximum sample and estimate the parameters using Lmoments
AM.27090 <- GetAM(27090)
GEVPars(AM.27090$Flow)
#Estimate parameters using MLE
GEVPars(AM.27090$Flow, mle = TRUE)
#calculate Lmoments and estimate the parmeters with L1, Lcv and Lskew
Lmoms(AM.27090$Flow)
#store linear moments in an object
LPars <- as.numeric(Lmoms(AM.27090$Flow))[c(1,5,6)]
GEVPars(L1 = LPars[1], LCV = LPars[2], LSKEW = LPars[3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.