db Simulation Results
fun ReportBuilder.dbSimulationResults(db: KSLDatabase, expName: String, confidenceLevel: Double = 0.95, showPlots: Boolean = true)(source)
Appends a complete set of sections for the named experiment in the following order:
Simulation Summary — experiment metadata and across-replication statistics table
Histograms — one sub-section per response with histogram data (omitted if none)
Frequencies — one sub-section per response with frequency data (omitted if none)
This is the DB equivalent of simulationResults.
Usage:
val doc = report("Pharmacy Study") {
dbSimulationResults(db, "Experiment 1")
}
doc.showInBrowser()Content copied to clipboard
Parameters
db
the KSLDatabase to query
exp Name
the experiment name to report
confidence Level
confidence level for all statistical tables
show Plots
when true (default) histogram and frequency plots are included