全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学
2280 9
2010-10-14
Two players are interested in having a game of dice. A single dice is rolled until either two consecutive unequal even numbers appears, or alternatively, a 2, followed immediately by 3. For example, a 2-4 pair is two consecutive unequal even numbers but a 2-2 pair is not. We are interested in which event is more likely to occur, a pair of two consecutive unequal even numbers, or a 2-3 pair? The players would like to investigate.
The SAS data set called dice contains the result of 10000 rolls of a dice. Every time we obtain a pair of two consecutive unequal even numbers or a 2-3 the game is restarted.
Example 1 : rolling 4-6-2 counts as a 4-6 but not as a 6-2.
Example 2 : rolling 4-2-3 counts as a 4-2 but not as a 2-3.
Example 3 : rolling 4-2-2-3 counts as two pairs; a 4-2 and a 2-3.
Example 4 : rolling 4-2-4-6 counts as two pairs; a 4-2 and a 4-6.
Using the SAS data set dice, create two new SAS data sets EvenNum and TwoThree, each containing the one variable, NumRolls. The variable NumRolls indicates the number of dice rolls it took since the last restart. Submit code, and appropriate PROC for both EvenNum and TwoThree. Which event appears more likely to occur, a pair of two consecutive unequal even numbers, or a 2-3 pair? Give the probability and the mean numbers of NumRolls for the events.

对不起英文版给大家添加麻烦了。

大概就是说只要碰到2-3组合或者是非等偶数组合 游戏就会从头算起
然后放到两个不同的data set里面因为条件不一样,然后建立一个新的variable 数出每两个重启之间的筛筛数量。

请求高手帮忙啊~~~~
想破脑袋了。。。。
附件列表

dice.pdf

大小:518.71 KB

 马上下载

二维码

扫码加我 拉你入群

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

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

全部回复
2010-10-14 17:11:03
还搞英文的,大家的水平这么高啊
二维码

扫码加我 拉你入群

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

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

2010-10-14 17:46:15
楼主先解释哈题目嘛
每个人理解不一样的
二维码

扫码加我 拉你入群

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

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

2010-10-14 19:27:19
bobugy应该可以解答这个问题
二维码

扫码加我 拉你入群

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

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

2010-10-14 22:20:08
1# yuan0110

very interesting.
If you ar rolling like 1 1 4 6, the NumRolls is 3 or 4?

and
example 2: rolling 4-2-3 counts as a 4-2 but not as 2-3
looks like unfair to 2-3 pair.
二维码

扫码加我 拉你入群

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

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

2010-10-14 23:10:24
复制代码
抛砖引玉了,大牛们都是和偶们有时差的
感觉就是1/6和1/36的比,统计知识都忘光了,大家指正哈
又感觉没必要放在2个dataset了,就自作主张放一起了
放大样本,多跑了几次,貌似真的是1/6
无奈英语太差,没很大把握......
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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