bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _stats_py / TtestResult
class
scipy.stats._stats_py:TtestResult
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_stats_py.py:6058
Signature
class TtestResult(statistic, pvalue, df, alternative, standard_error, estimate, statistic_np = None, xp = None)Members
Summary
Result of a t-test.
Extended Summary
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
statistic: float or arrayThe t-statistic of the sample.
pvalue: float or arrayThe p-value associated with the given alternative.
df: float or arrayThe 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_intervalComputes a confidence interval around the population statistic for the given confidence level. The confidence interval is returned in a
namedtuplewith fieldslowandhigh.
Aliases
scipy.stats._stats_py.TtestResult