楼主: lizziezeng
5611 2

【求助】ranuni(5555) < .5 这里边的参数具体是什么意思? [推广有奖]

  • 0关注
  • 0粉丝

本科生

6%

还不是VIP/贵宾

-

威望
0
论坛币
360 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
878 点
帖子
53
精华
0
在线时间
54 小时
注册时间
2008-8-2
最后登录
2017-6-18

楼主
lizziezeng 发表于 2010-1-1 17:07:22 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
【求助】ranuni(5555) < .5 这里边的参数具体是什么意思?

麻烦知道的好心人告诉我以下,这个随机数生成函数 中   5555    0.5   具体是什么意思。

或者share一份随机数生成函数的资料给到偶,不胜感激,谢谢。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:ranuni 是什么意思 RAN ANU 随机数生成 求助 意思 参数 ranuni

回帖推荐

jingju11 发表于2楼  查看完整内容

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 ...

本帖被以下文库推荐

沙发
jingju11 发表于 2010-1-2 00:39:17
1# lizziezeng

ranuni(5555) < .5
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,

  1. Male = (ranuni(5555) < .5)
复制代码
is to create a sample about gender in which the ratio of male and female is approximately half to half.
已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

总评分: 经验 + 3  论坛币 + 3   查看全部评分

藤椅
774941047 发表于 2013-10-3 13:58:36
jingju11 发表于 2010-1-2 00:39
1# lizziezeng
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.这一段不理解。例子也看不明白,详求解

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 22:11