Description Usage Arguments Value
Calculate one or more Bayes factors using a bootstrapMetricMatrix.
1 | computeBayesFactor(bootstrapMetricMatrix, refPredIndex, invertBayes)
|
bootstrapMetricMatrix |
An NxM matrix where M is the number of bootstraps performed and N is the number of prediction sets (output of bootstrappingMetric function). |
refPredIndex |
Column index of the reference prediction to calculate Bayes factor (e.g. best prediction). |
invertBayes |
Boolean to invert Bayes factor. if(largerIsBetter == T & currentPred<=refPred)invertBayes = T, if(largerIsBetter == T & currentPred>refPred)invertBayes = F, if(largerIsBetter == F & currentPred<=refPred)invertBayes = T, if(largerIsBetter == F & currentPred>refPred)invertBayes = F |
A matrix of Bayes factors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.