renderCiPlot

fun renderCiPlot(sourceLabel: String, responseName: String, observations: Map<String, DoubleArray>, outputDir: Path, formats: Set<ReportFormat>, level: Double = 0.95, referencePoint: Double? = null, caption: String? = null, title: String? = null, xAxisLabel: String? = null, yAxisLabel: String? = null): ComparisonReportRenderer.WriteOutcome(source)

Render a side-by-side CI plot for responseName — one mean ± CI bar per checked experiment that records the response.

Parameters

level

confidence level for the CIs (default 0.95). Each alternative's CI is computed from its own observations via Statistic.confidenceIntervals, so unequal replication counts are allowed (unlike MCA).

referencePoint

optional vertical reference line on the value axis (e.g. a target throughput or known theoretical mean). null (the default) suppresses it.

caption

optional plot caption. Blank / null falls back to "Mean ± <CL>% CI — <response>".

title

optional report title. Blank / null falls back to "Comparison — Confidence Intervals — <response>".

xAxisLabel

optional override for the x-axis label (the value axis). Defaults to responseName.

yAxisLabel

optional override for the y-axis label (the alternative axis). Defaults to "Experiment".