StatTable

data class StatTable(val stats: List<StatisticIfc>, val caption: String? = null, val confidenceLevel: Double = 0.95, val detail: Boolean = false) : ReportNode(source)

A horizontal summary/comparison table for any List of StatisticIfc instances.

Each row is one statistic; columns are: Name, Count, Average, Std Dev, Half-width, CI Lower, CI Upper, Min, Max. When detail is true a second diagnostic table is appended with Skewness, Kurtosis, Lag-1 Corr, Von Neumann test statistic + p-value, and Missing.

For reporting a single statistic as a property sheet use StatPropertyTable.

Parameters

stats

the statistics to tabulate; must not be empty

caption

optional table caption

confidenceLevel

confidence level for half-width and CI columns; defaults to 0.95

detail

false (default) = compact half-width summary; true = compact summary + diagnostic table

Constructors

Link copied to clipboard
constructor(stats: List<StatisticIfc>, caption: String? = null, confidenceLevel: Double = 0.95, detail: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun accept(visitor: ReportVisitor)

Double-dispatch entry point — each node calls the appropriate visitor method.