* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Probability Summary
Survey
Document related concepts
Transcript
Type of event Meaning Examples Methods (When events occur in no particular order) Probability Notation Two Way Table Is a subset of the sample space A π(π΄) βWhat might happenβ Complementary events If A is an event, then not A (Aβ) is the complementary event Venn Diagram Aβ Totals P(A) A B Bβ Totals B P(Bβ|A) A Aβ P(A) Totals B Bβ Totals Aβ P(Bβ|A) Mutually exclusive events βCanβt both happen at onceβ Independent events The occurrence of A has no effect on the probability of B occurring βOne does not affect the chance of the otherβ A: Passing the test with high alcohol B: Passing the test with low alcohol P(B|A) A No notation Aβ Totals B Bβ Totals A B P(A) P(Bβ|A) A: Passing the test B: Born in April No notation Get P(A), P(B) and (π΄ β© π΅) from venn diagram then use formula. OR use meaning βbeing born in April will not affect the chance that you will pass the testβ OR use meaning βbeing born in April will not affect the chance that you will pass the testβ Bβ B * Bβ * B * Aβ P(Bβ|Aβ) Get P(A), P(B) and (π΄ β© π΅) from table then use formula. π(π΄β) = 1 β π(π΄) A P(B|Aβ) P(Aβ) π(π΄) + π(π΄β² ) = 1 Bβ B Aβ P(Bβ|Aβ) Two events that cannot occur in the same trial No. of favourable outcomes No. of trials B A P(B|Aβ) βNot Aβ π(π΄) = Bβ A P(Aβ) No. in event No. in sample space Experimental Probability: Aβ P(B|A) π(π΄) and π(π΄β) π(π΄) = Bβ B P(B|Aβ) P(Aβ) Theoretical Probability: A P(Bβ|Aβ) A: Failing the test Aβ: Not failing the test Formulas Tree Diagram P(B|A) A: Failing the test An event Method (when there is an order) Two events are mutually exclusive iff π(π΄ β© π΅) = 0 OR π(π΄ βͺ π΅) = π(π΄) + π(π΅) Bβ * Get P(A), P(B) and (π΄ β© π΅) from tree diagram then use formula. Two events are independent iff π(π΄ β© π΅) = π(π΄) × π(π΅) Hint: (π(π΅) = π(π΄ β© π΅) + π(π΄β β© π΅) OR use meaning βbeing born in April will not affect the chance that you will pass the testβ OR π(π΄|π΅) = π(π΄) Type of event Meaning Represents both events occuring Intersection of events Examples Methods (When events occur in no particular order) Probability Notation Two Way Table Venn Diagram Method (when there is an order) P(B|A) Passing the test and having high alcohol A π(π΄ β© π΅) Aβ Totals B Bβ Totals P(A) A B P(Aβ) B P(AnB) A P(Bβ|A) P(B|Aβ) βANDβ Formulas Tree Diagram Multiply along branches For independent events π(π΄ β© π΅) = π(π΄) × π(π΅) Bβ B Aβ P(Bβ|Aβ) Bβ Add between branches Represents A or B occurring (or both) Union of events P(B|A) Passing the test or having high alcohol level A π(π΄ βͺ π΅) Aβ Totals A B Bβ Totals B P(A) P(Aβ) β π(π΄ βͺ π΅) = π(π΄) + π(π΅) β π(π΄ β© π΅) P(Bβ|A) Conditional event P(B|A) Failing the test given that you have high alcohol level A π(π΄|π΅) Aβ P(A) Totals B Bβ Totals A βGIVEN THATβ Relative Risk Compares risk between two groups β non smokers and smokers Compares conditional events P(Bβ|A) P(B|Aβ) P(C|S) C No notation Cβ Totals C For mutually exclusive events: π(π΄ βͺ π΅) = π(π΄) + π(π΅) Bβ B Bβ B β π(π΄|π΅) = π(π΄ β© π΅) π(π΅) Bβ C S S Sβ Totals P(AβnB) Aβ P(Bβ|Aβ) Smokers are twice as likely to get cancer as nonsmokers P(AnBβ) A B P(Aβ) Bβ B Aβ P(Bβ|Aβ) Represents an event given that another has occurred P(AnB) A P(B|Aβ) βORβ B S P(C|Sβ) Cβ C Sβ Cβ = π(event | exposed) π(event | not exposed) = π(cancer | smoker) π(cancer | not smoker) Type of event An event Complementary events Mutually exclusive events Independent events Meaning Examples Probability Notation Methods (When events occur in no particular order) Two Way Table Venn Diagram Method (when there is an order) Tree Diagram Formulas Type of event Intersection of events Union of events Conditional event Relative Risk Meaning Examples Probability Notation Methods (When events occur in no particular order) Two Way Table Venn Diagram Method (when there is an order) Tree Diagram Formulas Theoretical Probability (Model estimates) True Probability Definition The probability that an event will occur based on a probability model. A theoretical probability gives an estimate of the true probability but its usefulness as an estimate depends on how well the model matches the situation being modelled. The actual probability that an event will occur. The true probability is usually unknown and may be estimated by a theoretical probability from a probability model or by an experimental probability. But really Imagine all the possibilities and the chances of each. What we want to know but canβtβ¦ Data from an experiment, real life or a simulation The true chance a baby will be a boy or a girl. Will be close but not exactly ½. Calculation of probability based on previous births. 2002 data in NZ gives a 0.515 chance of a boy. The true chance that a particular die lands on a 6 is likely to be close but not exactly 1/6. Rolling a dice 1000 times, gives 154 sixes. This gives an experimental probability of 0.154. Example 1 Experimental Probability (Experimental estimates) A probability that an event will occur calculated from trials of a probability activity by dividing the number of times the event occurred by the total number of trials. When an experimental probability is based on many trials the experimental probability should be a close approximation to the true probability of the event. Example 2 Presumed to have two equally likely outcomes so a ½ chance of a boy. This is presumed to have six equally likely outcomes, so the theoretical probability of rolling a 6 is 1/6 (0.167) Example 3 Model using the binomial distribution with n=4 and The true chance of having a certain number of girls Ο=theoretical or experimental estimate of P(girl). in a 4 child family Example 4 Use of Poisson distribution with Ξ» = 4.3 The true chance of a certain number of earthquakes in a certain region in a month. Get actual data from 1000 4 child families OR Simulate 4 child families using a theoretical or experimental estimate of the P(girl). Number of earthquakes in a certain region per month, calculated from data collected over 10 years. Probability Strategies Interpret from information Probability Probability graph function FREQUENCY ο· ο· Count Number Use a diagram Two way table ο Divide by total Multiply by total ο Venn Diagram Translation Tree diagram PROBABILITY / RELATIVE FREQUENCY ο· ο· Proportion Between 0 and 1 Notation to words Words to notation ο Multiply by n Divide by n ο Use a formula Identify and Substitute EXPECTED NUMBER ο· ο· Number Prediction RISK Probability ABSOLUTE RISK Conditional Probabilities P(injury) P(Iinjury | not wearing seatbelt) RELATIVE RISK Compare Conditional Probabilities (divide) P(Iinjury | not wearing seatbelt) P(Iinjury | wearing seatbelt) Other terms Random Experiment Definition But really Notation Example 1 Example 2 Trial Outcome Sample Space Event Equally likely