43
STAT509: Probability Peijie Hou University of South Carolina August 20, 2014 Peijie Hou STAT509: Probability

STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

STAT509: Probability

Peijie Hou

University of South Carolina

August 20, 2014

Peijie Hou STAT509: Probability

Page 2: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

The Engineering Method and Statistical Thinking

The general steps of engineering method are:

1. Develop a clear and concise description of the problem.

2. Identify the important factors that affect this problem.

3. Propose a model for the problem, using scientific orengineering knowledge of the phenomenon being studied.

4. Conduct appropriate experiments and collect data to testthe model proposed.

5. Refine the model on the basis of the observed data.

6. Manipulate the model to assist in developing a solution tothe problem, and draw the conclusion if possible.

Peijie Hou STAT509: Probability

Page 3: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Overview of Probability

I Probability is a measure of one’s belief in the occurrenceof a future event.

I The subject of probability theory is the foundation uponwhich all of statistics is built, providing a means formodeling populations, experiments, or almost anythingelse that could be considered a random phenomenon.

Peijie Hou STAT509: Probability

Page 4: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Some Interesting Questions

You are able to solve these questions after this chapter:

I What is the probability that at least 2 people in this class(n=50) have the same birthday - Month and day?

I Year has 365 days forget leap year.I Equal likelihood for each day.

I (Monty Hall Problem) Suppose you’re on a game show,and you’re given the choice of three doors: Behind onedoor is a car; behind the others, goats. You pick a door,say No. 1, and the host, who knows what’s behind thedoors, opens another door, say No. 3, which has a goat.He then says to you, ”Do you want to pick door No. 2?”Is it to your advantage to switch your choice?

Peijie Hou STAT509: Probability

Page 5: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Elements of Probability: Random Experiment

I Tossing a coin once.

I Tossing a coin three times.

I Observing the lifetime of an electronic component.

I Drawing three cards (with replacement) from a standarddeck of cards.

Prior to performing the experiment or activity, you cannotpredict for certain the particular outcome.

Peijie Hou STAT509: Probability

Page 6: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Elements of Probability: Sample Space

The set of all possible outcomes for a given random experiment iscalled the sample space, denoted by S . (discrete vs. continuous)

I Tossing a coin once. S = { }.

I Tossing a coin three times.S = { }

I Drawing three cards (with replacement) from a standarddeck of cards. S = {?}

I Observing the lifetime of an electronic component.S = { }

The element of the sample space is called outcome, denoted by ω.We use nS to denote the number of elements in the sample space.

Peijie Hou STAT509: Probability

Page 7: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Elements of Probability: Event

I An event is a set of possible outcomes that is of interest.Using mathematical notation, suppose that S is a samplespace for a random experiment. We say that A is an eventin S if the outcome ω satisfies

I We would like to develop a mathematical framework sothat we can assign probability to an event A. This willquantify how likely the event is. The probability that theevent A occurs is denoted by P(A).

I Probability functions P :

Peijie Hou STAT509: Probability

Page 8: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Equiprobability Model

I Suppose that a sample space S contains nS <∞outcomes, each of which is equally likely. If the event Acontains nA outcomes, then

P(A) =nAnS

.

I Tossing a fair coin three times. Let eventA = {exactly two heads} = .Then, P(A) = .

I If I randomly pull a card out of a pack of 52 cards, what isthe chance it’s a black card? ( ) Not a diamond? ( )

I Warning: If the outcomes in S are not equally likely, thenthis result is not applicable.

Peijie Hou STAT509: Probability

Page 9: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Interpretation of Probability

I One particular interpretation of probability is viewprobability as a limiting proportion.

I If the experiment is performed many times, then P(A) canbe interpreted as the percentage of times that A willoccur “over the long run” This is called the relativefrequency interpretation.

I Tossing a fair coin once times ,

Peijie Hou STAT509: Probability

Page 10: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Union and Intersection of Events

I The union of two events A and B is the set of alloutcomes ω in either event or both. By notation,

A ∪ B = { }.

I Using Venn diagram, the union can be expressed as

Peijie Hou STAT509: Probability

Page 11: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Union and Intersection of Events Cont’d

I The intersection of two events A and B is the set of alloutcomes ω in the both events. By notation,

A ∩ B = { }.

I Using Venn diagram, the intersection can be expressed as

Peijie Hou STAT509: Probability

Page 12: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Mutually Exclusive Events

I Mutually exclusive events can not occur at the sametime. If events A and B are mutually exclusive, then

, where ∅ is the null event.

I Using Venn diagram, the mutually exclusive events can beexpressed as

Peijie Hou STAT509: Probability

Page 13: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Roommate Profile

Suppose your old roommate moves out, and you want to pickup a new roommate, the following table summarizes theroommate profile

Snores Doesn’t Snore

Parties 150 100 250

Doesn’t Party 200 550 750

350 650 1000

Table : Roommate Profile (Frequency - Counts)

Peijie Hou STAT509: Probability

Page 14: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Roommate Profile Cont’d

Snores Doesn’t Snore

Parties 0.15 0.1 0.25

Doesn’t Party 0.2 0.55 0.75

0.350 0.65 1

Table : Roommate Profile (Relative Frequency - Probability)

I What is the probability that a randomly chosen roommatewill snore?

I What is the probability that a randomly chosen roommatewill like to party?

I What is the probability that a randomly chosen roommatewill snore or like to party?

Peijie Hou STAT509: Probability

Page 15: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Union of Two Events

I If events A and B intersect, you have to subtract out the“double count”. From the Venn diagram, it is easy to see

.

I If A and B are mutually exclusive, then P(A∩B) = 0, itfollows that

Peijie Hou STAT509: Probability

Page 16: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Kolmogorov Axioms

For any sample space S , a probability P must satisfy

I 0 ≤ P(A) ≤ 1, for any event A

I P(S) = 1

I If A1,A2, . . . ,An are pairwise mutually exclusive events,then

P

(n⋃

i=1

Ai

)=

n∑i=1

P(Ai ).

Peijie Hou STAT509: Probability

Page 17: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Conditional Probability

I A conditional probability is the probability that an eventwill occur, when another event is known to occur or tohave occurred

I Definition: Let A and B be events in a sample space Swith P(B) > 0. The conditional probability of A, giventhat B has occurred, is

P(A|B) =P(A ∩ B)

P(B).

I Solving the conditional probability formula for theprobability of the intersection of A and B yields

P(A ∩ B) = P(A|B)× P(B).

Peijie Hou STAT509: Probability

Page 18: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Conditional Probability

In a company, 36 percent of the employees have a degree froma SEC university, 22 percent of the employees that have adegree from the SEC are also engineers, and 30 percent of theemployees are engineers. An employee is selected at random.

I Compute the probability that the employee is an engineerand is from the SEC.

I Compute the conditional probability that the employee isfrom the SEC, given that s/he is an engineer.

Solution: LetA = {The employee is an engineer}B = {The employee is from SEC}.

Peijie Hou STAT509: Probability

Page 19: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Conditional Probability Cont’d

We want to calculate P(A ∩ B). From the information in theproblem, we have P(A) = 0.3, P(B) = 0.36, andP(A|B) = 0.22. Therefore,

P(A ∩ B) = P(A|B)P(B) = 0.22× 0.36 = 0.0792.

For the second part, we want to calculate P(B|A). From theprevious calculation

P(B|A) =P(A ∩ B)

P(A)= 0.0792/0.3 = 0.264.

Peijie Hou STAT509: Probability

Page 20: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Roommate Profile Revisit

I Given that a randomly chosen roommate snores, what isthe probability that he/she likes to party?

Snores Doesn’t Snore

Parties 150 100 250

Doesn’t Party 200 550 750

350 650 1000

Table : Roommate Profile (Frequency - Counts)

Solution:

Peijie Hou STAT509: Probability

Page 21: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Conditional Probability Cont’d

I Note that, in both examples, the conditional probabilityP(B|A) and the unconditional probability P(B) are NOTequal. In other words, knowledge that A “has occurred”has changed the likelihood that B occurs.

I In other situations, it might be that the occurrence (ornon-occurrence) of a companion event has no effect onthe probability of the event of interest. This leads us tothe definition of independence.

Peijie Hou STAT509: Probability

Page 22: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Independence

I Definition: When P(A|B) = P(A), we say that events Aand B are independent. If A and B are not independent,they are said to be dependent events.

I This definition is symmetric,P(A|B) = P(A) ⇐⇒ P(B|A) = P(B).

I Under independence assumption,P(A ∩ B) = P(A|B)P(B) =

Peijie Hou STAT509: Probability

Page 23: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Complementary Events

I Definition: The complement of an event is everyoutcome not included in the event, but still part of thesample space. The complement of A is denoted by A orA′.

I The Venn diagram is

Peijie Hou STAT509: Probability

Page 24: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Complementary Events Cont’d

I By additivity of probability, ,which implies that .

I DeMorgan’s Law: it is useful when the calculationinvolves two events and their complements. Let A and Bbe two events

A ∪ B = A ∩ B,

A ∩ B = A ∪ B.

Peijie Hou STAT509: Probability

Page 25: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Complementary Events

The probability that Tom will be alive in 20 years is 0.75 (A).The probability that Nancy will be alive in 20 years is 0.85 (B).

I Assuming independence, what is the probability thatneither will be alive 20 years from now?

I Still assuming independence, what is the probability thatonly one of the two, Tom or Nancy, will be alive in twentyyears?

I What is the complement of both Nancy and Tom notbeing alive in 20 years

Peijie Hou STAT509: Probability

Page 26: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Question

All mutually exclusive events are complementary.

I Yes.

I No.

If events A and B are mutually exclusive, then A and B areindependent.

I Yes.

I No.

Peijie Hou STAT509: Probability

Page 27: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Probability Rules

1. Complement rule: Suppose that A is an event.

P(A) = 1− P(A).

2. Additive law: Suppose that A and B are two events.

P(A ∪ B) = P(A) + P(B)− P(A ∩ B).

3. Multiplicative law:P(A ∩ B) = P(A|B)P(B) = P(B|A)P(A).

4. Law of Total Probability:P(A) = P(A|B)P(B) + P(A|B)P(B).

5. Bayes’ rule:P(B|A) = P(A|B)P(B)

P(A) = P(A|B)P(B)

P(A|B)P(B)+P(A|B)P(B).

Peijie Hou STAT509: Probability

Page 28: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules

I We purchase 30% of our parts from Vendor A. Vendor Asdefective rate is 5%. What is the probability that arandomly chosen part is a defective part from Vendor A?

I We are manufacturing widgets. 50% are red and 30% arewhite. What is the probability that a randomly chosenwidget will not be white?

Solution:

Peijie Hou STAT509: Probability

Page 29: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

When a computer goes down, there is a 75% chance that it isdue to overload and a 15% chance that it is due to a softwareproblem. There is an 85% chance that it is due to an overloador a software problem. What is the probability that both ofthese problems are at fault?Solution:

Peijie Hou STAT509: Probability

Page 30: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

It has been found that 80% of all accidents at foundries involvehuman error and 40% involve equipment malfunction. 35%involve both problems. If an accident involves an equipmentmalfunction, what is the probability that there was also humanerror?Solution:

Peijie Hou STAT509: Probability

Page 31: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

Consider the following electrical circuit: The probability on thecomponents is their reliability (probability that they willoperate when the switch is thrown). Components areindependent of one another. What is the probability that thecircuit will not operate when the switch is thrown?

Peijie Hou STAT509: Probability

Page 32: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

Consider the electrical circuit below. Probabilities on thecomponents are reliabilities and all components areindependent. What is the probability that the circuit will workwhen the switch is thrown?

Peijie Hou STAT509: Probability

Page 33: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

An insurance company classifies people as “accident-prone”and “nonaccident-prone”. For a fixed year, the probability thatan accident-prone person has an accident is 0.4, and theprobability that a non-accident-prone person has an accident is0.2. The population is estimated to be 30 percentaccident-prone. Define the events

A = {policy holder has an accident}B = {policy holder is accident-prone}

We are given that P(B) = 0.3,P(A|B) = 0.4, andP(A|B) = 0.2.

Peijie Hou STAT509: Probability

Page 34: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Applications of Probability Rules Cont’d

I What is the probability that a new policy-holder will havean accident?

I Suppose that the policy-holder does have an accident.What is the probability that s/he is “accident-prone” ?

Peijie Hou STAT509: Probability

Page 35: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Counting Methods

I For equal likelihood probability model, the probability ofevent A depends on the size of A, i.e., the number ofelements in A, which is denoted by nA.

I Recall that if an experiment can result in any one of Ndifferent, but equally likely, outcomes and if exactly n ofthese outcomes corresponds to event A, then theprobability of event A is

P(A) =nAnS

=n

N.

I In the next several slides, several counting methods will bepresented, including Fundamental Theorem of Counting,Factorial, Combination, and Permutations.

Peijie Hou STAT509: Probability

Page 36: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Fundamental Theorem of Counting

I Theorem: If an experiment can be decomposed into Ksub-experiments and there are Ni possible outcomes forsub-experiment i , then the number of possible (ordered)outcomes of the full experiment is equal to

N1 × N2 × . . .Nk .

I Example: The number of permutations of n differentelements is

n! ≡ n(n − 1)(n − 2) . . . (2)(1).

I n! is read as n factorial.

Peijie Hou STAT509: Probability

Page 37: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Fundamental Theorem of Counting

There are 5 processes needed to manufacture the side panel fora car: clean, press, cut, paint, polish. Our plant has 6 cleaningstations, 3 pressing stations, 8 cutting stations, 5 paintingstations, and 8 polishing stations.

I How many possible different “pathways” through themanufacturing exist?( )

I What is the number of “pathways” that include aparticular pressing station?( )

I Assuming stations are choosen randomly, what is theprobability that a panel follows any particularpath?( )

I Assuming stations are choosen randomly, what is theprobability that a panel goes through pressing station1?( )

Peijie Hou STAT509: Probability

Page 38: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Permutation: Ordered Samples

I Theorem: Let there be n distinct objects. The number ofpossible ordered samples of size r from these n objects is

Pnr ≡ n× (n− 1)× (n− 2)× · · · × (n− r + 1) =

n!

(n − r)!.

I Example: Let there be N = 10 people and suppose thatwe are to sit r of them into r = 6 chairs, assume thechairs are numbered. Then the number of ways of doingthis is .

Peijie Hou STAT509: Probability

Page 39: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Combinations: Unordered Samples

I Theorem: Let there be n distinct objects and considertaking an unordered sample of size r from these objects.Then the number of possible samples is

Cnr =

(n

r

)≡ n!

r !(n − r)!

I Example: Let there be 10 people and suppose we want toobtain a sample of size 5 from this group, with the order inwhich they are included not important. Then the numberof possible samples is .

Peijie Hou STAT509: Probability

Page 40: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Counting Methods

9 out of 100 computer chips are defective. We choose arandom sample of n = 3.

I How many different samples of 3 arepossible?

I How many of the samples of 3 contain exactly 1 defectivechip?

I What is the probability of choosing exactly 1 defectivechip in a random sample of 3? (This is calledhypergeometric distribution later).

I What is the probability of choosing at least 1 defectivechip in a random sample of 3? (Hint: it is easier tocalculate the prob of choosing no defectivechip.)

Peijie Hou STAT509: Probability

Page 41: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Coin Tossing

What is the probability of getting 4 or 5 heads when tossing afair coin 10 times?Solution: Let us define events

A = {getting 4 heads},B = {getting 5 heads}.

P(getting 4 or 5 heads) = P(A ∪ B) = P(A) + P(B), sinceA ∩ B = ∅.The event A “looks” likeA = {HHHHTTTTTT ,HTTHTHHTTT , . . . ,TTTTTHHHH}.It is easy to see that each element in A is assigned probability(0.54)(0.56) = 0.510. By combination formula, these are total(104

)elements in A.

Peijie Hou STAT509: Probability

Page 42: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Example: Coin Tossing Cont’d

It follows that P(A) =(104

)0.510. By a similar argument, one

can show that P(B) =(105

)0.510.

Therefore,

P(A∪B) = P(A)+P(B) =

(10

4

)0.510 +

(10

5

)0.510 = 0.4512.

Later, we will solve this problem using binomial distribution.

Peijie Hou STAT509: Probability

Page 43: STAT509: Probabilitypeople.stat.sc.edu/houp/Stat509/notes/probability.pdfExample: Complementary Events The probability that Tom will be alive in 20 years is 0.75 (A). The probability

Birthday Problem

What is the probability that at least 2 people in this class(n=50) have the same birthday - Month and day?

I Year has 365 days forget leap year.

I Equal likelihood for each day.

Solution: This is a classical model. Let eventA = {at least 2 people have the same b-day}. nS = 36550. Byfundamental theorem for counting,nA = (365)(364) . . . (365− 50 + 1) = P365

50 . Therefore,

P(A) =nAnS

=P36550

36550≈ 0.0296.

So, P(A) = 1− P(A) ≈ 0.9704. We have a surprisingly highchance!

Peijie Hou STAT509: Probability