bayesplain.frequentist.paired_means

bayesplain.frequentist.paired_means(x, y, level=0.95)[source]

Paired t-test: a one-sample t-test on the within-pair differences.

Parameters:
x : array_like

The two measurements on each unit, in the same order. The difference is oriented as y - x. Pairs with either value missing are dropped.

y : array_like

The two measurements on each unit, in the same order. The difference is oriented as y - x. Pairs with either value missing are dropped.

level : float, default 0.95

Confidence level.

Returns:

The conventional result on the average difference.

Return type:

FrequentistTwin