Commit 624010f6 authored by 王志伟's avatar 王志伟

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

parent 24d0a98f
...@@ -205,7 +205,7 @@ def chi_cal(data): ...@@ -205,7 +205,7 @@ def chi_cal(data):
print("t22:{}".format(t22_count)) print("t22:{}".format(t22_count))
###理论值计算 ###理论值计算
temp1=data.loc['共计'] temp1=data['共计']
print("共计:{}".format(temp1)) print("共计:{}".format(temp1))
rate1=temp1[0]/temp1[2] rate1=temp1[0]/temp1[2]
print("temp1[0]:{}".format(temp1[0])) print("temp1[0]:{}".format(temp1[0]))
......
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