版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Basic ProbabilityChapter 4ObjectivesThe objectives for this chapter are: To understand basic probability concepts.To understand conditional probability To be able to use Bayes Theorem to revise probabilitiesTo learn various counting rulesBasic Probability ConceptsProbability the chance that an uncer
2、tain event will occur (always between 0 and 1)Impossible Event an event that has no chance of occurring (probability = 0)Certain Event an event that is sure to occur (probability = 1)Assessing ProbabilityThere are three approaches to assessing the probability of an uncertain event:1. a priori - base
3、d on prior knowledge of the process2. empirical probability3. subjective probabilitybased on a combination of an individuals past experience, personal opinion, and analysis of a particular situation Assuming all outcomes are equally likelyprobability of occurrenceprobability of occurrenceExample of
4、a priori probabilityWhen randomly selecting a day from the year 2015 what is the probability the day is in January?Example of empirical probabilityTaking StatsNot Taking StatsTotalMale 84145229Female 76134210Total160279439Find the probability of selecting a male taking statistics from the population
5、 described in the following table:Probability of male taking statsSubjective probabilitySubjective probability may differ from person to personA media development team assigns a 60% probability of success to its new ad campaign.The chief media officer of the company is less optimistic and assigns a
6、40% of success to the same campaignThe assignment of a subjective probability is based on a persons experiences, opinions, and analysis of a particular situationSubjective probability is useful in situations when an empirical or a priori probability cannot be computedEventsEach possible outcome of a
7、 variable is an event.Simple eventAn event described by a single characteristice.g., A day in January from all days in 2015Joint eventAn event described by two or more characteristicse.g. A day in January that is also a Wednesday from all days in 2015Complement of an event A (denoted A)All events th
8、at are not part of event Ae.g., All days from 2015 that are not in JanuarySample SpaceThe Sample Space is the collection of all possible eventse.g. All 6 faces of a die:e.g. All 52 cards of a bridge deck:Organizing & Visualizing EventsVenn Diagram For All Days In 2015Sample Space (All Days In 2015)J
9、anuary DaysWednesdaysDays That Are In January and Are WednesdaysOrganizing & Visualizing EventsContingency Tables - For All Days in 2015Decision TreesAll Days In 2015Not Jan.Jan.Not Wed.Wed.Wed.Not Wed.Sample SpaceTotalNumberOfSampleSpaceOutcomesNot Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan.
10、Not Jan. Total 4 27 48286(continued)Definition: Simple ProbabilitySimple Probability refers to the probability of a simple event.ex. P(Jan.)ex. P(Wed.)P(Jan.) = 31 / 365P(Wed.) = 52 / 365Not Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan. Not Jan. TotalDefinition: Joint ProbabilityJoint Probabilit
11、y refers to the probability of an occurrence of two or more events (joint event).ex. P(Jan. and Wed.)ex. P(Not Jan. and Not Wed.)P(Jan. and Wed.) = 4 / 365P(Not Jan. and Not Wed.)= 286 / 365Not Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan. Not Jan. TotalMutually exclusive eventsEvents that canno
12、t occur simultaneouslyExample: Randomly choosing a day from 2015 A = day in January; B = day in FebruaryEvents A and B are mutually exclusiveMutually Exclusive EventsCollectively Exhaustive EventsCollectively exhaustive eventsOne of the events must occur The set of events covers the entire sample sp
13、aceExample: Randomly choose a day from 2015 A = Weekday; B = Weekend; C = January; D = Spring;Events A, B, C and D are collectively exhaustive (but not mutually exclusive a weekday can be in January or in Spring)Events A and B are collectively exhaustive and also mutually exclusiveComputing Joint an
14、d Marginal ProbabilitiesThe probability of a joint event, A and B:Computing a marginal (or simple) probability:Where B1, B2, , Bk are k mutually exclusive and collectively exhaustive eventsJoint Probability ExampleP(Jan. and Wed.)Not Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan. Not Jan. TotalMa
15、rginal Probability ExampleP(Wed.)Not Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan. Not Jan. Total P(A1 and B2)P(A1)TotalEventMarginal & Joint Probabilities In A Contingency TableP(A2 and B1)P(A1 and B1)EventTotal1Joint ProbabilitiesMarginal (Simple) Probabilities A1 A2B1B2 P(B1) P(B2)P(A2 and B2
16、)P(A2)Probability Summary So FarProbability is the numerical measure of the likelihood that an event will occurThe probability of any event must be between 0 and 1, inclusivelyThe sum of the probabilities of all mutually exclusive and collectively exhaustive events is 1CertainImpossible0.5100 P(A) 1
17、 For any event AIf A, B, and C are mutually exclusive and collectively exhaustiveGeneral Addition RuleP(A or B) = P(A) + P(B) - P(A and B)General Addition Rule:If A and B are mutually exclusive, then P(A and B) = 0, so the rule can be simplified:P(A or B) = P(A) + P(B) For mutually exclusive events
18、A and BGeneral Addition Rule ExampleP(Jan. or Wed.) = P(Jan.) + P(Wed.) - P(Jan. and Wed.)= 31/365 + 52/365 - 4/365 = 79/365Dont count the four Wednesdays in January twice!Not Wed. 27 286 313 Wed. 4 48 52Total 31 334 365 Jan. Not Jan. TotalComputing Conditional ProbabilitiesA conditional probability
19、 is the probability of one event, given that another event has occurred:Where P(A and B) = joint probability of A and B P(A) = marginal or simple probability of AP(B) = marginal or simple probability of BThe conditional probability of A given that B has occurredThe conditional probability of B given
20、 that A has occurredWhat is the probability that a car has a GPS, given that it has AC ?i.e., we want to find P(GPS | AC)Conditional Probability ExampleOf the cars on a used car lot, 70% have air conditioning (AC) and 40% have a GPS. 20% of the cars have both.Conditional Probability ExampleNo GPSGPS
21、TotalAC0.20.50.7No AC0.20.10.3Total0.40.6 1.0Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a GPS and 20% of the cars have both.(continued)Conditional Probability ExampleNo GPSGPSTotalAC0.20.50.7No AC0.20.10.3Total0.40.6 1.0Given AC, we only consider the top row (70% of t
22、he cars). Of these, 20% have a GPS. 20% of 70% is about 28.57%.(continued)Using Decision TreesHas ACDoes not have ACHas GPSDoes not have GPSHas GPSDoes not have GPSP(AC)= 0.7P(AC)= 0.3P(AC and GPS) = 0.2P(AC and GPS) = 0.5P(AC and GPS) = 0.1P(AC and GPS) = 0.2AllCarsGiven AC or no AC:ConditionalProb
23、abilitiesUsing Decision TreesHas GPSDoes not have GPSHas ACDoes not have ACHas ACDoes not have ACP(GPS)= 0.4P(GPS)= 0.6P(GPS and AC) = 0.2P(GPS and AC) = 0.2P(GPS and AC) = 0.1P(GPS and AC) = 0.5AllCarsGiven GPS or no GPS:(continued)ConditionalProbabilitiesIndependenceTwo events are independent if a
24、nd only if:Events A and B are independent when the probability of one event is not affected by the fact that the other event has occurredMultiplication RulesMultiplication rule for two events A and B:Note: If A and B are independent, thenand the multiplication rule simplifies toMarginal ProbabilityM
25、arginal probability for event A:Where B1, B2, , Bk are k mutually exclusive and collectively exhaustive eventsBayes TheoremBayes Theorem is used to revise previously calculated probabilities based on new information.Developed by Thomas Bayes in the 18th Century.It is an extension of conditional prob
26、ability.Bayes Theoremwhere:Bi = ith event of k mutually exclusive and collectively exhaustive eventsA = new event that might impact P(Bi)Bayes Theorem ExampleA drilling company has estimated a 40% chance of striking oil for their new well. A detailed test has been scheduled for more information. His
27、torically, 60% of successful wells have had detailed tests, and 20% of unsuccessful wells have had detailed tests. Given that this well has been scheduled for a detailed test, what is the probability that the well will be successful?Let S = successful well U = unsuccessful wellP(S) = 0.4 , P(U) = 0.
28、6 (prior probabilities)Define the detailed test event as DConditional probabilities:P(D|S) = 0.6 P(D|U) = 0.2Goal is to find P(S|D)Bayes Theorem Example(continued)Bayes Theorem Example(continued)Apply Bayes Theorem:So the revised probability of success, given that this well has been scheduled for a
29、detailed test, is 0.667Given the detailed test, the revised probability of a successful well has risen to 0.667 from the original estimate of 0.4Bayes Theorem ExampleEventPriorProb.Conditional Prob.JointProb.RevisedProb.S (successful)0.40.6(0.4)(0.6) = 0.240.24/0.36 = 0.667U (unsuccessful)0.60.2(0.6
30、)(0.2) = 0.120.12/0.36 = 0.333Sum = 0.36(continued)Counting Rules Are Often Useful In Computing ProbabilitiesIn many cases, there are a large number of possible outcomes.Counting rules can be used in these cases to help compute probabilities.Counting RulesRules for counting the number of possible ou
31、tcomesCounting Rule 1:If any one of k different mutually exclusive and collectively exhaustive events can occur on each of n trials, the number of possible outcomes is equal toExampleIf you roll a fair die 3 times then there are 63 = 216 possible outcomesknCounting RulesCounting Rule 2:If there are
32、k1 events on the first trial, k2 events on the second trial, and kn events on the nth trial, the number of possible outcomes isExample:You want to go to a park, eat at a restaurant, and see a movie. There are 3 parks, 4 restaurants, and 6 movie choices. How many different possible combinations are there?Answer: (3)(4)(6) = 72 different possibilities(k1)(k2)(kn)(continued)Counting RulesCounting Rule
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年空運(yùn)出口貨物承運(yùn)合同規(guī)范模板2篇
- 二零二五年度墓地陵園墓碑刻字與雕刻服務(wù)合同4篇
- 2025年度車庫(kù)土地使用權(quán)買賣合同范本4篇
- 二零二五年度駕校教練員應(yīng)急處理能力聘用協(xié)議書2篇
- 2025年度車隊(duì)駕駛員薪資福利及晉升管理合同4篇
- 2025年度生態(tài)園林景觀設(shè)計(jì)施工樹木供應(yīng)與維護(hù)合同4篇
- 2025年特種用途柴油發(fā)電機(jī)定制采購(gòu)合同4篇
- 2024蘋果產(chǎn)業(yè)扶貧與鄉(xiāng)村振興合作協(xié)議3篇
- 二零二四年度醫(yī)療廢物處置設(shè)施投資合作合同3篇
- 文本類型理論指導(dǎo)下的安全性報(bào)告翻譯實(shí)踐報(bào)告
- 2024版塑料購(gòu)銷合同范本買賣
- JJF 2184-2025電子計(jì)價(jià)秤型式評(píng)價(jià)大綱(試行)
- GB/T 44890-2024行政許可工作規(guī)范
- 2025屆山東省德州市物理高三第一學(xué)期期末調(diào)研模擬試題含解析
- 2024年滬教版一年級(jí)上學(xué)期語(yǔ)文期末復(fù)習(xí)習(xí)題
- 兩人退股協(xié)議書范文合伙人簽字
- 2024版【人教精通版】小學(xué)英語(yǔ)六年級(jí)下冊(cè)全冊(cè)教案
- 汽車噴漆勞務(wù)外包合同范本
- 2024年重慶南開(融僑)中學(xué)中考三模英語(yǔ)試題含答案
- 建筑制圖與陰影透視-第3版-課件12
- 2023年最新的校長(zhǎng)給教師春節(jié)祝福語(yǔ)
評(píng)論
0/150
提交評(píng)論