麻烦知道的好心人告诉我以下,这个随机数生成函数 中 5555 0.5 具体是什么意思。
或者share一份随机数生成函数的资料给到偶,不胜感激,谢谢。

|
楼主: lizziezeng
|
5611
2
【求助】ranuni(5555) < .5 这里边的参数具体是什么意思? |
|
本科生 6%
-
|
回帖推荐1# lizziezeng
Create a random number with uniform (0, 1) distribution using seed number of 555. and then compare the random number to a constant of .5. Of note, the seed number which makes the replication of those random numbers possible is not essential here. That is, the results should be very similar to ranuni(123) < .5.
For example,is to create a sample about gender in which the ratio ...
本帖被以下文库推荐
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


