查看: 1245| 回复: 4
跳转到指定楼层
上一主题 下一主题
收起左侧

提问一个统计概率的问题, 求好心人解答

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
3 workers work on a cluster that has a daily limit of 2 compute ’credits’. When the total daily amount of computing credits of the three data scientists exceeds that daily limit, the company is charged a one thousand dollar penalty. Assume each worker’s daily cluster usage in computing credits is distributed between 0 and 1 and that the chance the usage belongs in some subinterval of [0, 1] is equal to the length of the subinterval. Assume also that the daily usages of the workers across the year are independent. You are asked to estimate the total cost of this penalty over one business year (252 days) with a single number.

我的思路是worker's daily usagexi~Ber(p) 然后p~uniform(0,1)。 一天三个workers' usage~Bin(3,p) 然后P(一天的usage>2| p ~uniform(0,1))。然后我就不会了。。。我觉得应该算个期望啥的但是又好像不对?

上一篇:请教入坑DS从哪里开始
下一篇:22fall ds/cs defer申请求定位
推荐
Sustc_Shuai 2021-8-27 10:11:32 | 只看该作者
全局:
本帖最后由 Sustc_Shuai 于 2021-8-27 10:16 编辑

我的理解是, sum of independent uniform distribution 是可以计算的,设sum=w,那么在w大于等于2的时候,这个概率密度是f(w)=(w-3)^2/2,也就是说一天当中被惩罚的概率是f(w)从2积分到3为1/6,也就是p(punishment)=1/6,那么p(no punishment)=5/6。所以一天当中罚款的期望是E[punishment]=-1000*1/6+0*5/6=-500/3,然后252天的惩罚的-500/3*252=42000. 1point 3 acres
. 1point 3 acres
可能想错了,到时候有答案告诉我下

评分

参与人数 2大米 +5 收起 理由
ak478564217 + 2 给你点个赞!
llwc + 3 给你点个赞!

查看全部评分

回复

使用道具 举报

推荐
anoymous 2021-8-27 10:10:41 | 只看该作者
全局:
可以参考https://en.wikipedia.org/wiki/Irwin%E2%80%93Hall_distribution,三个相加的时候,在(2,3)的概率密度是1/2(3-x)^2,积分可以得到是1/4.
我不是学这个的仅供参考。

补充内容 (2021-08-28 12:40 +8:00):
好久没积分算错了。。。应该是1/6。
回复

使用道具 举报

🔗
cokezero 2021-8-27 12:32:19 | 只看该作者
全局:
anoymous 发表于 2021-8-27 10:10
. 1point 3acres 可以参考https://en.wikipedia.org/wiki/Irwin%E2%80%93Hall_distribution,三个相加的时候,在(2,3)的概率 ...

should be 1/6
回复

使用道具 举报

全局:
做过这题,是42000,过程楼上有人说了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表