Learn R Programming

MCMC4Extremes (version 1.1)

summary.gumbelp: Summarizing Posterior Distribution with Parameters of Gumbel

Description

summary method for class "gumbelp"

Usage

"summary"(object, ...)

Arguments

object
an object of class "gumbelp", usually, a result of a call to gumbelp.
...
further arguments passed to or from other methods.

Value

The function summary.gumbelp computes and returns a list of summary statistics of the posterior distribution given in object.
postmean
mean posterior
postmedian
median posterior
postCI
credibility interval
fitm
fit measures for standard Gumbel model

See Also

gumbelp

Examples

Run this code
# Example with simulated datapoints
x=rgev(300,0.01,10,5)
fit=gumbelp(x,1,300)
fitgum=summary(fit)

# Compare if the fit measures of gumbel is better than measures using GEV
## Not run: fit2=gevp(x,1,300)
## Not run: fitgev=summary(fit2)
# the best model is that with lowest fit measures

Run the code above in your browser using DataLab