summary.g12post: Object Summaries

Description Usage Arguments Value Examples

Description

A generic function used to produce result summaries of the results of various model fitthing functions. The distinctive models are binombeta, nbinombeta, poisgamma, gamgam and normnorm respectively.

Usage

1
2
## S3 method for class 'g12post'
summary(object, ...)

Arguments

object

an object for which a summary is desired.

...

additional arguments affecting the summary produced.

Value

the function summary.g12post returns a list of summary statistics such as mean, variance and quantiles of prior and posterior distribution, repectively.

Examples

1
2
3
4
## Obtain the posterior distribution with binomial-beta model and summary
## it
ep1 <- binombeta(alpha = 1, beta = 2, n = 10, r = 3)
summary(ep1)

yijin71/statg012 documentation built on May 23, 2019, 4:04 p.m.