Learn R Programming

circglmbayes (version 1.3.0)

getPMP: Obtain posterior model probabilities

Description

Compute posterior model probabilities from odds x and a prior odds.

Usage

getPMP(x, prior_odds = 1)

Arguments

x

A vector of odds for which to obtain the posterior model probabilities.

prior_odds

The prior odds.

Value

A matrix with two columns, giving the relative probabilities of the first hypothesis versus the second hypothesis.

Examples

Run this code
# NOT RUN {
getPMP(3)

# }

Run the code above in your browser using DataLab