compareEstimatedResponses

fun compareEstimatedResponses(estimate1: EstimatedResponseIfc, estimate2: EstimatedResponseIfc, level: Double = DEFAULT_CONFIDENCE_LEVEL, indifferenceZone: Double = 0.0): Int(source)

Compares the estimated responses based on the difference between estimate 1 and estimate 2. The interval assumes normally distributed independent samples with unequal variances.

Return

-1 if estimate1 is less than estimate2, 0 if they are considered statistically equal, and 1 if estimate1 is larger than estimate2 based their averages

Parameters

estimate1

the first estimate

estimate2

the second estimate

level

the confidence level. Must be between 0 and 1.

indifferenceZone

an indifference parameter. If the difference within this value we consider the estimates equal.