summary.bmult_bridge {multibridge} | R Documentation |
summary method for class bmult_bridge
Description
Summarizes bridge sampling results and associated error measures
Usage
## S3 method for class 'bmult_bridge'
summary(object, ...)
Arguments
object |
object of class |
... |
additional arguments, currently ignored |
Value
Invisibly returns a list
which contains the log marginal likelihood for inequality constrained category proportions and associated error terms.
Examples
# data
x <- c(3, 4, 10, 11)
n <- c(15, 12, 12, 12)
# priors
a <- c(1, 1, 1, 1)
b <- c(1, 1, 1, 1)
# informed hypothesis
factor_levels <- c('theta1', 'theta2', 'theta3', 'theta4')
Hr <- c('theta1', '<', 'theta2', '<', 'theta3', '<', 'theta4')
## Multinomial Case
out_mult <- mult_bf_inequality(x=x, Hr=Hr, a=a, factor_levels=factor_levels,
niter=1e3, seed=2020)
summary(out_mult)
[Package multibridge version 1.2.0 Index]