Commit 252a9db5 authored by 王志伟's avatar 王志伟

数据指标波动假设检验统计

parent 7d48290c
......@@ -125,6 +125,7 @@ def t_test(x,y): #进行t检验
# print(t_p_value)
if t_p_value > 0.05:
print("策略前后两组数据无显著性差异,即该指标没有显著提升,p_value:{}" .format(t_p_value))
print("\n")
else:
print("策略前后两组数据有显著性差异,即该指标获得显著提升,p_value:{}" .format(t_p_value))
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment