Summarizing Posterior Distribution with Parameters of Gumbel
Summarizing Posterior Distribution with Parameters of Gumbel
summary method for class "gumbelp"
## 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.
Returns
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
# Example with simulated datapointsx=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