BFc.bpnr {bpnreg} | R Documentation |
Bayes Factors for a Bayesian circular regression model
Description
Outputs Bayes Factors for the circular differences between several levels of a categorical variable and the baseline.
Usage
## S3 method for class 'bpnr'
BFc(object, hypothesis, type = "anchor")
Arguments
object |
a |
hypothesis |
the inequality constrained hypothesis to test. |
type |
type of hypothesis to test |
Value
Bayes Factors for inequality constrained hypotheses on mean differences.
Examples
library(bpnreg)
fit.Motor <- bpnr(pred.I = Phaserad ~ 1 + Cond, data = Motor,
its = 100, burn = 10, n.lag = 3)
BFc(fit.Motor, hypothesis = "Condsemi.imp < Condimp")
[Package bpnreg version 2.0.3 Index]