1 / 29

STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

STAT 230 MIDTERM 1 EXAM-AID October 11, 2011. Introduction. Steve Hobbs 3A Actuarial Science and Statistics Double Major Second Time Volunteering for SOS Hardcore Gamer Hobbs_Steve@hotmail.com. Outline. 1 . Sample Spaces and Probability Counting Arguments

miyoko
Download Presentation

STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

  2. Introduction • Steve Hobbs • 3A Actuarial Science and Statistics Double Major • Second Time Volunteering for SOS • Hardcore Gamer • Hobbs_Steve@hotmail.com

  3. Outline 1. Sample Spaces and Probability • Counting Arguments • Unions and Intersections of Events • Independence and Mutual Exclusivity 5. Conditional Probability

  4. Sample Space • Sample Space (S): A set of distinct outcomes for an experiment or process, such that exactly one outcome occurs on each trial • e.g. the sample space for the outcomes on one roll of a die = {1, 2, 3, 4, 5, 6} • Usually the denominator for a probability

  5. Simple Event • Simple Event - contains only one point • e.g. rolling a 1 is a simple event within our die sample space, since the event contains only the point {1} • Probability of a simple event – if {a1, a2, …, ak} make up a sample space, then the probability of ai occurring for i = 1, 2, …, k follows • 0 ≤ P(ai) ≤ 1 • Sum of all P(ai’s) =1 • If all events are equally likely, then P(ai) = 1/k

  6. Compound Event • Compound Event – contains two or more simple events • e.g. rolling a 1 or a 2 is a compound event within our die sample space, since the event contains the points {1, 2} • Probability of compound event - sum of the probabilities for all the simple events that make up the compound event • For an event A, P(A) = number of outcomes in A total number of outcomes in S • P(S) = 1

  7. Addition Rule • The Addition Rule: If we can do A in p ways and B in q ways,then we can do either A or B but not both in p + q ways • For events with no overlap (mutually exclusive) • e.g. if we can roll a 1 in one way and we can roll a 2 or 3 in two ways, then we can roll a 1, 2, or 3 in three ways

  8. Multiplication Rule • The Multiplication Rule: If we can do job A in p ways and for each of these ways we can dojob B in q ways, then we can do both A and B in p x q ways • e.g. if we roll an even number on our first roll of the die (3 ways) and an odd number on our second roll of the die (3 ways), the total number of {even, odd} pairs = 3 x 3 = 9

  9. Problem 1 Rebecca Black and her two friends each randomly choose a car for their ride home. There are four cars from which to choose, and a capacity of six people per car. Three of the cars are white, and one is black. a) What is the probability that they all end up in the black car? b) What is the probability that they all end up in the same car? c) What is the probability that they all end up in different cars? d) What is the probability that no one ends up in the black car?

  10. Permutations • The number of ways to arrange n distinct objectsin a row is: n! = n(n-1)(n-2)…(1) • Note that we are arranging all n objects, not a subset of the n objects

  11. Permutations • The number of ways to arrange r objects selected from n distinct objects is: n(r) = n! / (n-r)! = n(n-1)(n-2)…(n-r+1) • For permutations, the order of arrangement matters!

  12. Permutations • The number of distinct arrangements of n objects when n1 are alike of one type, n2 alike of a second type, …, nk alike of a kth type (where n1 + n2 + … + nk = n) is: n! (n1! x n2! x … x nk!)

  13. Combinations • The number of ways to choose r objects from n distinct objects is denoted by: n n! r r! x (n-r)! • The order of selection does not matter! • # of combinations ≤ # of permutations =

  14. Problem 2 Is the following a permutation or a combination? Write out the expression for the number of ways to: a) Choose a President, VP, and Secretary from a group of 30 people b) Order a 3-topping pizza from a selection of 11 toppings

  15. Problem 3 The letters of the word EXCELLENT are arranged in a random order. Find the probability that: a) The letter X occurs first b) the same letter occurs at each end c) X, C, and N occur together, in any order How many three letter combinations can be chosen containing at most one of each letter?

  16. Replacement • With replacement: each time an object is selected from a group of n objects, it is returned to the group of n objects • There are always n objects • Probabilities remain constant! • Without replacement: each time an object is selected from the group of objects, it is removed from the group • The number of objects decreases after each trial • Probabilities change as well!

  17. Problem 4 Three numbers are chosen from 1, …, 10. Find the probability that the numbers are drawn in increasing order if: a) draws are made without replacement b) draws are made with replacement

  18. Unions and Intersections • If A  B, then P(A) ≤ P(B) • P(A) = 1 – P( A ) • P(A U B) = P (A) + P(B) – P(A  B) • Union of A and B contains events in A or B (or both) • Intersection of A and B contains only events in both A and B

  19. De Morgan’s Laws • A U B = A  B • A  B = A U B

  20. Problem 5 According to a survey of people in Stat 230, 55% are female, 55% are intelligent, and 15% are male and not intelligent. What percent are female and intelligent?

  21. Independence and Mutual Exclusivity • A and B are independent if and only if: P(A  B) = P(A) x P(B) • A and B are mutually exclusive (disjoint) if and only if: P(A  B) = 0 How can events be both independent and mutually exclusive?

  22. Problem 6 Given P(A) = 0.3, P(B) = 0.35, calculate P(A U B) given: i) A and B are independent ii) A and B are mutually exclusive iii) A is a subset of B

  23. Conditional Probability • The conditional probability of event B, given that event A occurs, is: P(B|A) = P (B  A) P(A) • If A and B are independent: P(B | A) = P(B) • P(B|A) = 1 – P(B|A) • Multiplication Rule: P (B  A) = P(A) x P(B|A) (from above) P(C  B  A) = P(A) x P(B|A) x P(C|A  B)

  24. Problem 7 A fair coin is tossed 4 times. Find the probability that, if at least 1 Tail occurs, exactly 1 Tail occurs.

  25. Problem 8 Gilbert Gambler chooses two cards from a standard deck without replacement. What is the probability that he chooses a Jack and then a Queen, given that the first card chosen was a face card (Jack, Queen, King)? Let A be the event that the first card is a face card Let B be the event that he chooses a Jack then a Queen

  26. Bayes’ Theorem • Bayes’ Theorem: P(A | B) = P(B | A) * P(A) P(B) • Combines multiplication rule and conditional probability

  27. Problem 9 80% of Laurier students like chocolate. 75% of Laurier students need help with their math homework. Of those Laurier students who like chocolate, only 10% do not need help with their math homework. What percentage of Laurier students who need help with their math homework like chocolate?

  28. Partition Rule • If A1, A2, …, Ak is a partition of the sample space S into mutually exclusive events, then for an event B in S: P(B) = P(B  A1) + P(B  A2) + … + P(B  Ak) =  P(B |Ai) x P(Ai) (multiplication rule) • Simplest form: P(B) = P(B  A) + P(B  A )

  29. Problem 10 40% of Waterloo students are female. The probability that a female student is “cool” is 75%, whereas the probability that a male student is “cool” is 30%. What is the probability that a randomly selected cool student is female?

More Related