GEV fit:
library(extRemes)
# fake data
data <- data.frame(years = 1950:2023, values = runif(74))
# fit GEV model
model <- fevd(values, data, unit = "mm", type = "GEV", method = "MLE")
# extract parameters
parameters <- model$results$par
loc <- parameters[["location"]]
scale <- parameters[["scale"]]
shape <- parameters[["shape"]]
After fitting the Generalized extreme value distribution, I want to store the parameters, the standard errors of the parameters as well as the AIC and BIC metric as numeric values.
I am able to store the parameters, but can’t find the errors and AIC/ BIC values in the model instance.
# extract Standard Error Estimates
loc_se <-
scale <-
shape <-
# Extract AIC and BIC
aic <-
bic <-
I appreciate any help!