MS VisualStudio2010を使用しています。
そして今、対数正規分布で3から200の範囲の乱数を生成したいと思います。
「中心極限定理」は一様分布を正規分布に変換できると聞きましたが、私の範囲には198の数値があるため、あまりにも手間がかかるようです。
a = random(MaxRange+1); // mean i have to write this for 198 time???!!!!
x = (a+.......)/198 ; //this will obtain a number which is a normal distribution right???
それなら、私はただ書くことができます
y = log (x); // and is this mean that y is log normal distribution????
私の質問に答えてくれてありがとう....