@article{JSSv046i02,
title={BIEMS: A Fortran 90 Program for Calculating Bayes Factors for Inequality and Equality Constrained Models},
volume={46},
url={https://www.jstatsoft.org/index.php/jss/article/view/v046i02},
doi={10.18637/jss.v046.i02},
abstract={This paper discusses a Fortran 90 program referred to as BIEMS (Bayesian inequality and equality constrained model selection) that can be used for calculating Bayes factors of multivariate normal linear models with equality and/or inequality constraints between the model parameters versus a model containing no constraints, which is referred to as the unconstrained model. The prior that is used under the unconstrained model is the conjugate expected-constrained posterior prior and the prior under the constrained model is proportional to the unconstrained prior truncated in the constrained space. This results in Bayes factors that appropriately balance between model fit and complexity for a broad class of constrained models. When the set of equality and/or inequality constraints in the model represents a hypothesis that applied researchers have in, for instance, (M)AN(C)OVA, (multivariate) regression, or repeated measurements, the obtained Bayes factor can be used to determine how much evidence is provided by the data in favor of the hypothesis in comparison to the unconstrained model. If several hypotheses are under investigation, the Bayes factors between the constrained models can be calculated using the obtained Bayes factors from BIEMS. Furthermore, posterior model probabilities of constrained models are provided which allows the user to compare the models directly with each other.},
number={2},
journal={Journal of Statistical Software},
author={Mulder, Joris and Hoijtink, Herbert and Leeuw, Christiaan de},
year={2012},
pages={1–39}
}