Learn R Programming

abc (version 1.2)

summary.postpr: Posterior model probabilities and Bayes factors

Description

This function extracts the posterior model probabilities and calculates the Bayes factors from an object of class "postpr".

Usage

## S3 method for class 'postpr':
summary(object, rejection = TRUE, \dots)

Arguments

object
an object of class "postpr".
rejection
logical, if method is "mnlogistic" or "neuralnet", should the approximate model probabilities based on the rejection method returned.
...
additional arguments.

Value

  • The returned value is list with the following components if method="rejection":
  • Proban object of class table of the posterior model probabilities.
  • BayesFan object of class table with the Bayes factors between pairs of models.
  • If method is "mnlogistic" or "neuralnet" and rejection is TRUE:
  • rejectiona list with the same components as above
  • mnlogistica list with the same components as above

See Also

postpr

Examples

Run this code
## see ?postpr for examples

Run the code above in your browser using DataLab