Learn R Programming

bpnreg (version 1.0.3)

BFc: Bayes Factors

Description

BF gives Bayes factors for inequality constrained hypotheses on circular mean differences.

Usage

BFc(object, hypothesis, type = "anchor")

Arguments

object

an object used to select a method.

hypothesis

the inequality constrained hypothesis to test.

type

type of hypothesis to test c("anchor", "isotropic").

Details

the methods BFc.bpnr and BFc.bpnme have their own help page.

Examples

Run this code
# NOT RUN {
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