scipy.stats._result_classes.
TtestResult#
- class scipy.stats._result_classes.TtestResult(statistic, pvalue, **extra_fields)[source]#
- Result of a t-test. - See the documentation of the particular t-test function for more information about the definition of the statistic and meaning of the confidence interval. - Attributes:
- statisticfloat or array
- The t-statistic of the sample. 
- pvaluefloat or array
- The p-value associated with the given alternative. 
- dffloat or array
- The number of degrees of freedom used in calculation of the t-statistic; this is one less than the size of the sample ( - a.shape[axis]-1if there are no masked elements or omitted NaNs).
 
 - Methods - confidence_interval([confidence_level])