420 likes | 642 Views
http://mrburkemath.blogspot.com/2010/12/snow-days.html. Part 1: Randomness. http://mikeess-trip.blogspot.com/2011/06/gambling.html. Applications of Probability. Games of Chance Diagnosis of Diseases Engineering Biology/agriculture Physics/Chemistry Business Management Computer Science.
E N D
Part 1: Randomness http://mikeess-trip.blogspot.com/2011/06/gambling.html
Applications of Probability • Games of Chance • Diagnosis of Diseases • Engineering • Biology/agriculture • Physics/Chemistry • Business Management • Computer Science
Chapter 1: Outcomes, Events, and Sample Spaces men men men http://www.thescientificcartoonist.com/?p=102
Sample Spaces: Examples For each of the following examples, determine the sample set and state the possible values for the elements of the sample set. • Tossing Coins: We toss a coin 3 times • Rolling two 4-sided dies • Lifetime of a light bulb • Genetics: Dominant (A=black hair) or recessive (a = red hair)
Events: Examples • Tossing Coins: 3 times • Determine the event that there is only one Head. • Identify in words the event: {HHH,TTT} • Rolling two 4-sided dies • Determine the event that the sum of the two dice is 9. • Determine the event that the difference between the numbers of the white and red dies is 1. • Identify in words the event: {(x, x+1): x {1,2,3} } • Lifetime of a light bulb • Determine the event that the light bulb lasts between 100 and 110 hours. • Identify in words the event: {x | x < 200} • Genetics: Dominant (A=black hair) or recessive (a = red hair) • Determine the event that the hair color is black. • Identify in words the event: {aa, aA, Aa}
Example 1.17: Pick ten songs A student hears 10 songs (in a random shuffle mode) on her music player, noting how many of these songs belong to her favorite type of music. • What is the sample space? • How many different events are there? • What is the event, A, that none of the first three songs are her favorite type of music? How many outcomes are there? • What is the event, B, that the even-numbered songs are from her favorite type of music? How many outcomes are there? • What is the event of A ∩ B? How many outcomes are there? • What is the event, C, that the last 5 songs are from her favorite type of music? How many outcomes are there? • What is the event B ∩ C? How many outcomes are there?
DeMorgan’s Laws • Theorem 1.22 DeMorgan’s first law For a finite or infinite collection of events, A1, A2, … • Theorem 1.23 DeMorgan’ssecond law For a finite or infinite collection of events, A1, A2, …
Set Theory: Other Laws • Distributive Laws Let A, B, and C be subsets of S. Then a) A ∩ (B U C) = (A ∩ B) U (A ∩ C) b) A U (B ∩ C) = (A U B) ∩ (A U C) • Associative and Commutative Laws Let A, B, and C be subsets of S, Then a) A ∩ B = B ∩ A b) A U B = B U A c) A ∩ (B ∩ C) = (A ∩ B) ∩ C d) A U (B U C) = (A U B) U C
Example: Subsets, etc. Write down the set of events for each of the following: Rolling 2 4-sided dice: A: the red die is a 4 B: the white die is a 2 C: The sum of the two dice is 4 D: the red die is a 3 • AC f) Ac\C • A ∩ C g) D U (B ∩ C) • A U C h) (D U B) ∩ (D U C) • AC ∩ C • AC U C
Chapter 2: Probability http://www.cartoonstock.com/directory/p/probability.asp
Disjoint Events: Example Rolling 2 4-sided dice: Events: A: the event that you roll a 2 on the red die B: the event that you roll a 3 on the white die C: the event that the sum of the dice is 3 D: the event that the sum of the dice is 2 Which of the following are mutually exclusive? a) A and B b) A and C c) A and D d) B and C e) B and D f) C and D g) A, B and C h) B, C and D
Example: Equally Likely Roll two 4-sided dice • Determine the probability that the sum of the dice is 5 • Determine the probability that the red die is more than the white die.
Example: Complementation Rule • If the bulls eye of the dartboard has a radius of 6.3 mm and the whole dartboard has a radius of 225 mm, what is the probability that I will shoot outside of the bulls eye in an equal likelihood situation? • What is the probability that I don’t roll a 20 on a 20-sided die?
Example: Domination Principle Roll a 4-sided die A = roll a 1 B = Roll an odd number • Without doing any calculations, explain why P(A) ≤ P(B) • Verify your answers by doing the calculations.
Example: General Addition Rule Select a card at random from a deck of cards. What is the probability that the card is either an Ace or a Heart?
Example for Inclusion-Exclusion Principle Suppose that 60% of the population read the Journal and Courier (J), 25% of the population read the Exponent (E), 10% of the population read the New York Times (N), 15% read both the J and the E, 5% read both the J and the N, 2% read both E and the N and 1% read all three. If a person from this city is selected at random, what is the probability that she does not read at least one of the newspapers?
Example 2.26 Consider a student who draws cards from a deck. After he draws the card, he replaces the card and then reshuffles the deck. He stops if if he draws the ace of spaces.
Example 2.27 A student hears ten songs (in a random shuffle mode) on her music player, paying special attention to how many of these songs belong to her favorite type of music. We assume the songs are picked independently of each other and that each song has probability p of being a song of the student’s favorite type.
Chapter 3: Independent Events http://www.cartoonstock.com/directory/p/probability.asp
Example: Independence Roll a red 4 sided die and a white 4 sided die. Let A: event that the red die is a 1 B: event that the white die is a 1 C: event that the sum of the two dice is 4 • Are events A and B independent? • Are events A and C independent?
Example: Disjoint and Independent Roll a red 4 sided die and a white 4 sided die. Are each of the following disjoint and/or independent? 1) A: event that the red die is a 1 B: event that the red die is a 2 2) A: event that the red die is a 1 B: event that the white die is a 2 3) A: event that the red die is a 1 B: event that the sum of the two dice is 4
Example: Pairwise Independence Roll a red 4 sided die and a white 4 sided die. Let A: event that the red die is even B: event that the white die is even C: event that the sum of the two dice is even • Show that A, B, and C are pairwise independent. • Show that A ∩ B and C are NOT independent.
Example: Mutual Independence Roll a red 6 sided die and a white 6 sided die. Let D: event that the red die is 1 or 2 or 3 E: event that the white die 4 or 5 or 6 F: event that the sum of the two dice is 5 Show that P(D ∩ E ∩ F) = P(D)P(E)P(F) but D, E and F are NOT (mutually) independent events.
Example 3.19: Independence A student flips a coin until the tenth head appears. Let A denote the event that at least 3 flips are needed between the 7th and 8th heads; let B denote the event that at least 3 flips are needed between the 8th and 9th heads. • What would be considered the trial? • Are A and B independent?
Example: Independence (cont.) If the probability that a fuse is good in a particular batch of fuses is 0.8 and each fuse is independent of the other fuses, what is the probability that 2 fuses are bad?
Theorem 3.24: Good before Bad Consider a sequence of independent trials, each of which can be classified as good, bad, or neutral, which happen (on any given trial) with probabilities p, q, and 1 – p – q. (We do not necessarily have q = 1 – p here, although that is allowed.) Then the probability that something good happens before something bad happens is
Chapter 4: Conditional Probability http://imgs.xkcd.com/comics/conditional_risk.png
Example 1: Conditional Probability Roll a fair 4 sided die 3 times A = the event that two 1’s are tossed B = the event that the first roll is an 1 C = the event that the second roll is an 1 Find: P(B|A), P(A|B), P(B|C)
Example 2: Conditional Probability A bus arrives punctually at a bus stop every half hour. Each morning, a commuter named Sarah leaves her house and casually strolls to the bus stop. a) Find the probability that that wait time is at least 10 minutes. b) Find the probability that the wait time is at least 10 minutes given that if someone is waiting there for more than 15 minutes, they will get a ride from a passing car. c) Find the probability that the wait time is at most 10 minutes given that if someone is waiting there for more than 15 minutes, they will get a ride from a passing car. X
Example 3: Conditional Probability 1) From the set of all families with two children, a family is selected at random and is found to have a girl. What is the probability that the other child of the family is a girl? 2) From the set of all families with two children, a child is selected at random and is found to be a girl. What is the probability that the other child of the family is a girl?
Theorem 4.10: Distributive Laws For any events, A1, A2, …
Example: Conditional Probabilities - Axioms Assume that the probability that there will be more than 1 inch of snow next week given that the temperature rises above 30 oF is 0.3. a) What is the probability that there will be less than 1 inch of snow next week given that the temperature rises above 30 oF? b) Given that the probability that there will be more than 2 inches of rain given that the temperature rises above 30 oFis 0.8 and the probability that there will be more than 2 inches of rain and there will be less than 1 inch of snow given that the temperature rises above 30 oFis 0.6, what is the probability that there will be more than 2 inches of rain or there will be less than 1 inch of snow given that the temperature rises above 30 oF?
Chapter 5: Bayes’ Theorem(And Additional Applications) http://pactiss.org/2011/11/02/bayesian-inference-homo-bayesianis/
Example: Bayes’ Theorem In a bolt factory, 30, 50, and 20% of the production is manufactured by machines I, II, and III, respectively. If 4, 5, and 3% of the output of these respective machines is defective, what is the probability that a randomly selected bolt that is found to be defective is manufactured by machine III?
Example: Bayes’ Theorem (Monty Hall Problem) This follows the game show ‘Let’s Make a Deal’ which was hosted by Monty Hall for many years. In the game show, there are three doors, behind each of which is one prize. Two of the prizes are worthless and the other one is valuable. A contestant selects one of the doors, following which the game show host (who does know where the valuable prize is), opens one of the remaining two doors to reveal a worthless prize. The host then offers the contestant the opportunity to change his selection. Should the contestant switch doors?
Example: Bayes’ Theorem (Diagnostic Tests) A diagnostic test for a certain disease has a 99% sensitivity and a 95% specificity. Only 1% of the population has the disease in question. If the diagnostic test reports that a person chosen at random from the population tests positive, what is the probability that the person does, in fact, have the disease?
Examples: General Multiplication Law • A consulting firm is awarded 51% of the contracts it bids on. Suppose that Melissa works for a division of the firm that gets to do 25% of the projects contracted for. If Melissa directs 41% of the projects submitted to her division, what percentage of all bids submitted by the firm will result in contracts for projects directed by Melissa? • Supposed that 8 good and 2 defective fuses have been mixed up. To find the defective fuses we need to test them one-by-one, at random. Once we test a fuse, we set it aside. What is the probability that we find both of the defective fuses in exactly three tests? • Using Pólya’s Urn, with r red balls, b black balls and c, what is the probability that the first two balls are red and the last ball is black?
Example: Electrical Components For the following problems, assume that each switch is independently closed or open with probability p and 1 - p, respectively. Note: The answers should include ‘p’. • In the figure below, there are 4 switches labeled 1, 2, 3 and 4. If a signal is fed to the input, what is the probability that it is transmitted to the output? • If a circuit is composed only of n parallel components, then what is the probability that, at a specified time, the system is working?