CSCI2610-DiscreteMathematics.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CSCI2610-DiscreteMathematics.ppt

* * * * * * January 10 2006 * January 10 2006 * * * * * * * * * * * * * * * January 10 2006 * * * * * * * * * * * * * * * * * January 10 2006 * January 10 2006 * * * January 10 2006 * * January 10 2006 * * * * * January 10 2006 * * * * * * * * * * * * * * * * * * * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * January 10 2006 * * * * * * * * * * * * * * * * * Repeated trials If there are a number of trials being conducted, each of which has a probability of success of p and a probability of failure of q = 1 – p, then the probability of exactly k successes in n independent trials is C(n,k)pkqn-k This is called the binomial distribution. * Bayes’ Theorem Consider the following problem: There are two boxes holding red and green balls. Box 1 contains 2G, 7R. Box 2 contains 4G, 3R. A ball is selected by choosing a box at random, then choosing a bal at random from that box. If a red ball is selected, what is the probability it cam from the first box? * Bayes’ Theorem Let E be “a red ball is chosen” So E is “a green ball is chosen” Let F be “a ball is chosen from box 1” So F is “a ball is chosen from box 2” We want to know p(F|E). * Bayes’ Theorem By conditional prob, p(F|E) = p(F?E)/p(E). We know p(E|F) = 7/9 and p(E|F) = 3/7 We know p(F) = p(F) = 1/2 By conditional prob, p(E|F) = p(E?F)/p(F) So, p(E?F) = p(E|F)p(F) = (7/9)(1/2) = 7/18 By the same logic, p(E?F) = p(E|F)p(F) = 3/14 Since p(E) = p(E?F) + p(E?F), p(E) = 38/63. p(F|E) = p(F?E)/p(E) = (7/18)(63/38) = 49/76?64.5% * Bayes’ Theorem Given events E and F such that p(E) ? 0, p(F) ? 0, p(F|E) = p(E|F)p(F) p(E|F)p(F) + p(E|F)p(F) This is the equation resulting from the reasoning we just went through. It provides a means for calculating conditional

文档评论(0)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档