全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1103 1
2014-09-25

大家好,我的问题是这样的:

重复地掷色子1枚! => 先出现5紧接着6, 先出现6紧接着6,请问哪种情况先出现(likelihood更大)

给出了:
data work.dice;
drop i;
call streaminit(42);
do i=1 to 10000;
x=ceil(rand('uniform')*6);
output;

end; run;

请问:every time we obtain 5/6 or 6/6 the game is restarted. using work.dice to create two datasets fivesix and sixsix, each containing a
variable numrolls (number of rolls since last restart)
which event is more likely to occur first,5/6 pair or 6/6pair?? give the probability that 5/6 is rolled before 6/6. use if then do
statement.


不胜感激!!!




二维码

扫码加我 拉你入群

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

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

全部回复
2014-9-27 00:49:37
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群