Learn R Programming

fbst (version 2.2)

summary.fbst: summary.fbst

Description

Prints the results of a Full Bayesian Significance Test.

Usage

# S3 method for fbst
summary(object, ...)

Value

Prints the results onto the console.

Arguments

object

An Object of class "fbst".

...

Additional parameters, see "summary(object, ...)".

Author

Riko Kelter

Details

Summarises the results of a Full Bayesian Significance Test.

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 = fbst(posteriorDensityDraws = p, nullHypothesisValue = 0, 
dimensionTheta = 2, dimensionNullset = 1)
summary(res)

Run the code above in your browser using DataLab