test of (non-)equivalence for two dependent, paired sample
TOST: two one-sided t tests
null hypothesis: md < low or md > upp alternative hypothesis: low < md < upp
where md is the mean, expected value of the difference x1 - x2
If the pvalue is smaller than a threshold,say 0.05, then we reject the hypothesis that the difference between the two samples is larger than the the thresholds given by low and upp.
Parameters: | x1, x2 : array_like
low, upp : float
weights : None or ndarray
transform : None or function
|
---|---|
Returns: | pvalue : float
t1, pv1, df1 : tuple
t2, pv2, df2 : tuple
|