powered by
Outputs Bayes Factors for the circular differences between several levels of a categorical variable and the baseline.
# S3 method for bpnr BFc(object, hypothesis, type = "anchor")
Bayes Factors for inequality constrained hypotheses on mean differences.
a bpnr object obtained from the function bpnr().
bpnr object
bpnr()
the inequality constrained hypothesis to test.
type of hypothesis to test c("anchor", "isotropic"). As of yet only anchor hypotheses can be tested.
c("anchor", "isotropic")
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")
Run the code above in your browser using DataLab