statsmodels.stats.robust_compare.TrimmedMean.ttest_mean¶
-
TrimmedMean.ttest_mean(value=
0
, transform='trimmed'
, alternative='two-sided'
)[source]¶ One sample t-test for trimmed or Winsorized mean
- Parameters:¶
- value
float
Value of the mean under the Null hypothesis
- transform{‘trimmed’, ‘winsorized’}
Specified whether the mean test is based on trimmed or winsorized data.
- alternative{‘two-sided’, ‘larger’, ‘smaller’}
- value
Notes
p-value is based on the approximate t-distribution of the test statistic. The approximation is valid if the underlying distribution is symmetric.
Last update:
Oct 29, 2024