BFBayesFactorConstraint is a S4 class that represents the Bayes factors
of multiple model comparisons and the Bayes factor of all individual effects
adhering to user-defined constraints. Furthermore, it also has slots
defined for representing the design matrices of the constraints model, and
for representing prior and posterior estimates.
generalTestObjan object of class BFBayesFactor representing the
model comparisons. All S4 methods as defined in
BFBayesFactor-class can be used.
constraintsan object of class BFConstraint-class.
individualEffectsa list containing a named vector for each level of the effect defined in the constraints. Effects are comprised of the common effect plus the individual deviation from it.
posteriorMeana named numeric giving the mean of the common effect.
posteriorSDa named numeric giving the standard deviation of individual effects.
totalThetasa list containing a data.frame for each level of the
effect defined in the constraints. Rows are sampling iterations and columns
comprised of individual estimates plus the common effect estimates.
mcmcFullan object of class BFmcmc, containing the MCMC samples
from the posterior.
designIndecesa list giving the column indeces of the mcmcFull that were used to calculate the estimates of interest.
observedEffectsa list containing a named vector for each level of the effect defined in the constraints. Values are the mean observed effect for each individual.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.