2026-10-01 17:43:48 +08:00
|
|
|
"""stats —— 描述统计、统计推断、bootstrap。
|
|
|
|
|
|
|
|
|
|
S 级模块。`bootstrap_ci` 建议自己实现一遍(S 档,配完整函数卡片):
|
|
|
|
|
它是赛题里"没有解析解时怎么给区间"的通用答案。
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
from .bootstrap import bootstrap_ci, bootstrap_statistic
|
|
|
|
|
from .descriptive import coefficient_of_variation, describe, zscore
|
|
|
|
|
from .inference import (
|
|
|
|
|
anova,
|
|
|
|
|
chi_square_test,
|
|
|
|
|
confidence_interval,
|
|
|
|
|
correlation_matrix,
|
2026-10-03 14:53:05 +08:00
|
|
|
correlation_pvalues,
|
|
|
|
|
correlation_table,
|
2026-10-01 17:43:48 +08:00
|
|
|
fit_distribution,
|
|
|
|
|
goodness_of_fit,
|
|
|
|
|
t_test,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
"describe",
|
|
|
|
|
"zscore",
|
|
|
|
|
"coefficient_of_variation",
|
|
|
|
|
"correlation_matrix",
|
2026-10-03 14:53:05 +08:00
|
|
|
"correlation_pvalues",
|
|
|
|
|
"correlation_table",
|
2026-10-01 17:43:48 +08:00
|
|
|
"confidence_interval",
|
|
|
|
|
"t_test",
|
|
|
|
|
"anova",
|
|
|
|
|
"chi_square_test",
|
|
|
|
|
"fit_distribution",
|
|
|
|
|
"goodness_of_fit",
|
|
|
|
|
"bootstrap_statistic",
|
|
|
|
|
"bootstrap_ci",
|
|
|
|
|
]
|