遍历一系列正态分布的数字

时间:2018-06-30 15:46:26

标签: python

我正在尝试创建一个包含100个数字的列表。这些数字均应具有基于正态分布的唯一值,并具有唯一的均值和标准差。然后从这些列表中进行一些计算,然后再次迭代100次。最后,从所有迭代中找到围绕最小值的一些统计信息。例如:

for i in 100:
A = [2, 5, 7, 9 , 22, 32, .....] (Where A(1) is created out of normal distribution with a mean of 3 and std dev 1, A(2) is created out of a normal distribution with a mean of 6 and std 2 etc)    
B = [4, 7, 87, 34, 22, 20, ....] (same as above with B)    
Subt = A(i) - B(i)    
print (min(subt))    
i += 1    
print (min(Subt)

任何帮助或指导将不胜感激!

0 个答案:

没有答案