plot.ggevp {MCMC4Extremes} | R Documentation |
Plot Fitted for the Dual Gamma Generalized Extreme Value Distribution (GGEV) Model
Description
The plot method plot.ggevp provides three differents plots: a histogram of the GGEV parameters, a plot of predictive density resulting of posterior distribution of GGEV parameters, and a return level plot of GGEV distribution.
Usage
## S3 method for class 'ggevp'
plot(x, type = c("histogram", "predictive", "retlevel"), t=2, k = 100, ...)
Arguments
x |
a |
type |
which chosen plot |
t |
start return level |
k |
end return level |
... |
other graphics parameters |
References
Nascimento, F. F.; Bourguigon, M. ; Leao, J. S. (2015). Extended generalized extreme value distribution with applications in environmental data. HACET J MATH STAT.
See Also
Examples
# Obtaining posterior distribution of a vector of simulated points
w=rggev(300,0.4,10,5,0.5)
# Obtaning 300 points of posterior distribution with delta=0.5
fit=ggevp(w,1,200,0.5)
## Not run: plot(fit,"histogram")
plot(fit,"predictive")
## Not run: plot(fit,"retlevel", 10, 50)
[Package MCMC4Extremes version 1.1 Index]