+ All Categories
Home > Documents > STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Date post: 14-Jan-2016
Category:
Upload: miyoko
View: 47 times
Download: 1 times
Share this document with a friend
Description:
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 [email protected]. Outline. 1 . Sample Spaces and Probability Counting Arguments - PowerPoint PPT Presentation
29
STAT 230 MIDTERM 1 EXAM- AID October 11, 2011
Transcript
Page 1: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

STAT 230 MIDTERM 1 EXAM-AIDOctober 11, 2011

Page 2: 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• [email protected]

Page 3: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Outline1. Sample Spaces and Probability2. Counting Arguments3. Unions and Intersections of Events4. Independence and Mutual Exclusivity5. Conditional Probability

Page 4: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 5: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 6: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 7: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 8: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Multiplication Rule

• The Multiplication Rule: If we can do job A in p ways and for each of these ways we can do job 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

Page 9: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Problem 1Rebecca 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?

Page 10: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Permutations

• The number of ways to arrange n distinct objects in 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

Page 11: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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!

Page 12: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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!)

Page 13: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

=

Page 14: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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 peopleb) Order a 3-topping pizza from a

selection of 11 toppings

Page 15: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Problem 3

The letters of the word EXCELLENT are arranged in a random order. Find the probability that:

a) The letter X occurs firstb) the same letter occurs at each endc) X, C, and N occur together, in any order

How many three letter combinations can be chosen containing at most one of each letter?

Page 16: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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!

Page 17: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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 replacementb) draws are made with replacement

Page 18: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 19: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

De Morgan’s Laws

1. A U B = A B

2. A B = A U B

Page 20: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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?

Page 21: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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?

Page 22: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Problem 6

Given P(A) = 0.3, P(B) = 0.35, calculate P(A U B) given:

i) A and B are independentii) A and B are mutually exclusiveiii) A is a subset of B

Page 23: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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)

Page 24: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Problem 7

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

Page 25: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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

Page 26: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

Bayes’ Theorem

• Bayes’ Theorem:P(A | B) = P(B | A) * P(A)

P(B)

– Combines multiplication rule and conditional probability

Page 27: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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?

Page 28: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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 )

Page 29: STAT 230 MIDTERM 1 EXAM-AID October 11, 2011

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?


Recommended