bayesanova-package {bayesanova}R Documentation

Bayesian ANOVA

Description

Provides a Bayesian version of the analysis of variance (ANOVA) based on a three-component Gaussian mixture, for which a Gibbs sampler produces the posteriors of the means and standard deviation of each component. Also, model assumptions can be checked and results visualised.

Details

The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.
The core function is bayes.anova which provides the Bayesian version of the ANOVA. Also, assumptions can be checked via assumption.check, and anovaplot produces visualizations of the results.

Author(s)

Riko Kelter

Maintainer: Riko Kelter

References

For details, see: https://arxiv.org/abs/1906.07524v1

Examples

set.seed(42)
x1=rnorm(75,0,1)
x2=rnorm(75,1,1)
x3=rnorm(75,2,1)
assumption.check(x1,x2,x3,conf.level = 0.95)
result=bayes.anova(n=1000,first=x1,second=x2,third=x3)
anovaplot(result)

[Package bayesanova version 1.6 Index]