作者einstein328 (pica)
看板Statistics
标题[问题] central limit theorem
时间Wed Oct 11 00:35:56 2006
大家好,我想用 C++ 去产生一组具有normal distribution特性的杂讯
中央极限定理,正好可满足我的目的
所以想利用中央极限定理去求出具有 normal distribution特性的随机值
----------------------------------------------------------------
中央极限定理是说,从母群中抽取的样本,会具有 normal 的特性
( iff 取样数目N大於某个值),而且无论母群是属於何种分布‧
那问题来了,我现在利用 c的函数 rand() 去取出抽样,
想请问,我若是产生了N个随机值,当作一个抽样样本 ( iff 取样数目N大於某个值)
那每ㄧ个随机值都具有normal distribution特性吗?
假如对的话,想请问此样本中 normal distribution 的 mean 和 variance 要如何求的
参考
http://mathworld.wolfram.com/CentralLimitTheorem.html 中的 公式(21)(22)
要求出两个参数,必须先知道每个样本的机率,近而得知期望值
想请问,用 rand() 产生出随机值的机率,都相同吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.230.227.14