welchAnova

fun ReportBuilder.welchAnova(anova: WelchANOVA, caption: String? = null, confidenceLevel: Double = 0.95)(source)

Appends a self-contained section reporting the results of a WelchANOVA test.

Produces (inside a section titled caption or "Welch's ANOVA"):

  1. A paragraph stating the number of groups, the significance level α, and H₀.

  2. A DataTable ("Test Statistics") with Property | Value rows: Groups k, Weighted mean, F statistic, Numerator df, Denominator df, p-value, α, Reject H₀.

  3. A DataTable ("Group Summary") with one row per group and columns: Group | N | Mean | Std Dev | Std Err | HW (level%) | CI Lower | CI Upper.

Usage:

val doc = report("ANOVA Results") {
welchAnova(anova)
}

Parameters

anova

the WelchANOVA result to report

caption

optional section title; defaults to "Welch's ANOVA"

confidenceLevel

confidence level for the per-group CI columns (default 0.95)