ANOVA is used to test whether there is a significant difference between the means of groups.
The sample size which adoptr returns is the group wise sample size.
The function get_tau_ANOVA is used to obtain a parameter \(\tau\),
which is used in the same way as \(\theta\) to describe the difference of
means between the groups.
ANOVA(n_groups)
get_tau_ANOVA(means, common_sd = 1)number of groups to be compared
vector denoting the mean per group
standard deviation of the groups
see probability_density_function and
cumulative_distribution_function to evaluate the pdf
and the cdf, respectively. Use NestedModels to get insights
in the implementation of ANOVA.
model <- ANOVA(3L)
H1 <- PointMassPrior(get_tau_ANOVA(c(0.4, 0.8, 0.5)), 1)