summary.gumbelp: Summarizing Posterior Distribution with Parameters of Gumbel

Description Usage Arguments Value See Also Examples

View source: R/summary.gumbelp.R

Description

summary method for class "gumbelp"

Usage

1
2
## S3 method for class 'gumbelp'
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

1
2
3
4
5
6
7
8
9
# 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

Example output

Loading required package: evir
[1] 0.02222222
[1] 0.04444444
[1] 0.06666667
[1] 0.08888889
[1] 0.1111111
[1] 0.1333333
[1] 0.1555556
[1] 0.1777778
[1] 0.2
[1] 0.2222222
[1] 0.2444444
[1] 0.2666667
[1] 0.2888889
[1] 0.3111111
[1] 0.3333333
[1] 0.3555556
[1] 0.3777778
[1] 0.4
[1] 0.4222222
[1] 0.4444444
[1] 0.4666667
[1] 0.4888889
[1] 0.5111111
[1] 0.5333333
[1] 0.5555556
[1] 0.5777778
[1] 0.6
[1] 0.6222222
[1] 0.6444444
[1] 0.6666667
[1] 0.6888889
[1] 0.7111111
[1] 0.7333333
[1] 0.7555556
[1] 0.7777778
[1] 0.8
[1] 0.8222222
[1] 0.8444444
[1] 0.8666667
[1] 0.8888889
[1] 0.9111111
[1] 0.9333333
[1] 0.9555556
[1] 0.9777778
[1] 1

MCMC4Extremes documentation built on May 1, 2019, 8:50 p.m.