RankCompareResult.confint_lintransf(const=- 1, slope=2, alpha=0.05, alternative='two-sided')[source]

confidence interval of a linear transformation of prob1

This computes the confidence interval for

d = const + slope * prob1

Default values correspond to Somers’ d.

const, slopefloat

Constant and slope for linear (affine) transformation.


Significance level for the confidence interval, coverage is 1-alpha


The alternative hypothesis, H1, has to be one of the following

  • ‘two-sided’ : H1: prob - value not equal to 0.

  • ‘larger’ : H1: prob - value > 0

  • ‘smaller’ : H1: prob - value < 0

lowerfloat or ndarray

Lower confidence limit. This is -inf for the one-sided alternative “smaller”.

upperfloat or ndarray

Upper confidence limit. This is inf for the one-sided alternative “larger”.