AnovaResult
data class AnovaResult(val fStatistic: Double, val pValue: Double, val dfBetween: Int, val dfWithin: Int, val ssBetween: Double, val ssWithin: Double, val msBetween: Double, val msWithin: Double)(source)
The result of a one-way ANOVA test.
Contains the F-statistic, p-value, and the full ANOVA decomposition into between-group and within-group components.
Example:
val result = oneWayAnova(group1, group2, group3)
result.fStatistic // ratio of between-group to within-group variance
result.pValue // p-value from F-distribution
result.dfBetween // number of groups minus one
result.dfWithin // total observations minus number of groupsContent copied to clipboard