Learn R Programming

fbst (version 2.2)

access_fbet-method: Returns an object from an object of class fbet.

Description

Returns an object from an object of class fbet

Arguments

Value

-

Author

Riko Kelter

Details

-

References

For a details, see: https://arxiv.org/abs/2001.10577 and https://arxiv.org/pdf/2001.10577.pdf.

Examples

Run this code
set.seed(57)
grp1=rnorm(50,0,1.5)
grp2=rnorm(50,0.8,3.2)

p = as.vector(BayesFactor::ttestBF(x=grp1,y=grp2, 
  posterior = TRUE, iterations = 3000, 
  rscale = "medium")[,4])

# flat reference function
res = fbet(p, interval = c(-0.1,0.1), nu=1, FUN=NULL, par=NULL)

# Return the Bayesian evidence value for the interval null hypothesis
res$eValueH0

Run the code above in your browser using DataLab