differenceConfidenceInterval

fun differenceConfidenceInterval(estimate1: EstimatedResponseIfc, estimate2: EstimatedResponseIfc, level: Double = DEFAULT_CONFIDENCE_LEVEL): Interval(source)

Constructs an approximate confidence interval on the difference between estimate 1 and estimate 2. The interval assumes normally distributed independent samples with unequal variances.

Return

the confidence interval

Parameters

estimate1

the first estimate

estimate2

the second estimate

level

the confidence level. Must be between 0 and 1.