Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Probability 3.1 Events, Sample Spaces, and Probability Sample space - The set of all possible outcomes for an experiment Roll a die sample space {1,2,3,4,5,6} Flip a coin sample space {H, T} Measure heights sample space {height of smallest person to height of tallest} Some experiments consist of a series of operations. A device called a tree diagram is useful for determining the sample space. Example Flip a Penny, Nickel, and a Dime Event - Any subset of the sample space An event is said to occur when any outcome in the event occurs The probability of an event A, denoted P( A) , is the expected proportion of occurrences of A if the experiment were performed a large number of times. When outcomes are equally likely Examples: Flip a fair coin Roll a balanced die Number of outcomes favorable to event Probabilit y of an event Total number of outcomes When probability is based on frequencies Frequency of event Probabilit y of an event Sample size n Example Results of sample Males (event M) – 40 Females (event F) – 60 0 P( A) 1 P(sample space) 1 The closer to 1 a probability the more likely the event 3.2 Unions and Intersections Joint Probability – an event with two or more characteristics The union of two events, denoted A B , is the event composed of outcomes from A or B. In other words, if A occurs, B occurs, or both A and B occur, then it is said that A B occurred. The intersection of two events, denoted A B , is the event composed of outcomes from A and B. In other words, if both A and B occur, then it is said that A B occurred. 3.3 Complementary Events The complement of an event A, denoted P( A ) , P( Ac ) , or P(A) , is all sample points not in A. The complement rule: P( A ) 1 P( A) 3.4 The Additive Rule and Mutually Exclusive Events The addition rule P( A B) P( A) P( B) P( A B) We say the events A and B are mutually exclusive or disjoint if they cannot occur together P( A B) 0 3.5 Conditional Probability Sometimes we wish to know if event A occurred given that we know that event B occurred. This is known as conditional probability, denoted A|B. The conditional probability rule for A given B is P( A B) P( A | B) P( B) Example Roll a balanced green die and a balanced red die Denote outcomes by (G,R) A {sum of the dice is 7} B {both numbers 4} C {green die is 1} Red Die 1 2 3 4 5 6 1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) 2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) Green Die 3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) 4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) 5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) 6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) Example Select an individual at random from a population of drivers classified by gender and number of traffic tickets 0 tickets 1 ticket 2 tickets 3 or more tickets Total Female 1192 321 72 15 1600 Male 695 487 141 77 1400 Total 1887 808 213 92 3000 A {selected driver is female } B {selected driver has at least 2 tickets } 3.6 The Multiplicative Rule and Independent Events Two events are said to be independent if the occurrence (or nonoccurrence) of one does not effect the probability of occurrence of the other. P( A) P( A | B) Events that are not independent are dependent. P( A) P( A | B) Example Draw two cards without replacement A {first card is an ace} B {second card is an ace} Multiplication rule P( A B) P( A) P( B | A) Suppose we return the first card and thoroughly shuffle the cards before we draw the second Example Select an individual at random Ask place of residence and Do you favor combining city and county governments Favor (F) City (C) Outside Total 80 20 100 Oppose Total 40 10 50 120 30 150 3.7 Random Sampling A simple random sample of n measurements from a population is one selected in such a manner that every sample of size n from the population has equal probability of being selected, and every member of the population has equal probability of being included in the sample. 3.8 Some Additional Counting Rules How many different ways are there to arrange the 6 letters in the word SUNDAY? Suppose you have a lock with a three digit code. Each digit is a number 0 through 9. How many possible codes are there? The symbol, n! read as “n factorial” is defined as 0! 1 1! 1 2! 2 1 2 3! 3 2 1 6 4! 4 3 2 1 24 and so on Evaluate each expression 5! 9! 8! 2! 8! 2!6! Permutations Ordered arrangements of distinct objects are called permutations. (order matters) If we wish to know the number of r permutations of n distinct objects, it is denoted as n! n Pr (n r )! In how many ways can you select a president, vice president, treasurer, and secretary from a group of 10? Combinations Unordered selections of distinct objects are called combinations. (order does not matter) If we wish to know the number of r combinations of n distinct objects, it is denoted as n! n Cr r!(n r )! In how many ways can a committee of 5 senators be selected from a group of 8 senators?