Docsity

Tools for Counting Sample Points - Lecture Notes | ECON 500, Study notes of Economics

Toggle sidebar
bg1
Tools for Counting Sample Points
Probability with Equiprobable Events
If a sample space contains Nequiprobable sample points and an event A
contains nasample points, then P(A) = na/N.
mn Rule
Theorem
With m elements a1,a2,a3,. . . ,amand n elements b1,b2,b3,. . . ,bnit
is possible to form mn =mn pairs containing one element from each
group.
Helle Bu nzel () Basic Pr obability Fall 2006 18 / 57
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Tools for Counting Sample Points - Lecture Notes | ECON 500 and more Study notes Economics in PDF only on Docsity!

Tools for Counting Sample Points

Probability with Equiprobable Events If a sample space contains N equiprobable sample points and an event A contains na sample points, then P(A) = na /N. mn Rule

Theorem

With m elements a 1 , a 2 , a 3 ,... , am and n elements b 1 , b 2 , b 3 ,... , bn it is possible to form mn = m  n pairs containing one element from each group.

Tools for Counting Sample Points

mn rule

Proof of the theorem can be can be seen by observing the rectangular table below. There is one square in the table for each ai , bj pair and hence a total of m  n squares.

Tools for Counting Sample Points

mn rule

Example

Consider the event of tossing a coin three times. The sets here are identical and consist of two possible elements, H or T. So we have 2  2  2 possible sample points. SpeciÖcally

S 2 = f(x, y , z)jx = 1 , 2 ; y = 1 , 2 ; z = 1 , 2 g

mn Rule

Birthday example

Consider an experiment that consists of recording the birthday for each of 20 randomly selected persons. Assume that there are only 365 possible distinct birthdays. Find the number of points in the sample space S for this experiment. If we assume that each of the possible sets of birthdays is equiprobable, what is the probability that each person in the 20 has a di§erent birthday? Number the days of the year 1, 2,... , 365. A sample point is (x 1 , ...., x 20 ) where xi is the birthdate of person i. Repeated applications of the mn rule tell us there are ( 365 )^20 such twenty-tuples. Thus S contains N = ( 365 )^20 sample points. If we assume them to be equiprobable, P(Ei ) = 1 /( 365 )^20 for each simple event.

Permutations

DeÖnition

A ordered arrangement of r distinct objects is called a permutation. The number of ways of ordering n distinct objects taking r at a time is distinguished by the symbol Prn

Useful notation:

n! = n(n 1 )(n 2 )(n 3 )    ( 2 )( 1 ) 0! = 1

Permutations

Theorem

Pnr = n(n 1 )(n 2 )(n 3 )    (n r + 1 ) = n! (n r )!

Proof of Theorem Note that the Örst object can be chosen in one of n ways. The second can be chosen in (n 1 ) ways, the third in (n 2 ) ways, and so forth. Thus

Prn = n(n 1 )(n 2 )(n 3 )    (n r + 1 )

=

n(n 1 )(n 2 )(n 3 )    (n r + 1 )(n r )    1 (n r ) (n r 1 )    1

= n! (n r )!

Permutations

Example

Suppose that a club consists of 25 members. A president and a secretary are to be chosen from the membership. Since the positions can be Ölled by Örst choosing one of the 25 members to be president and then choosing one of the remaining 24 members to be secretary, the possible number of choices is

P^252 = n! (n r )!

Example

Suppose that six di§erent books are to be arranged on a shelf. The number of possible permutations of the books is

P 66 =

n! (n r )!

Sampling with replacement

Sampling with replacement: The balls are put back in the bowl. Suppose there are n balls and k selections are to be made. The sample space S will contain all vectors of the form (x 1 ,... , xk ), where xi is the outcome of the ith selection (i = l,... , k). There are n possible outcomes for each of the k selections, so the total number of vectors in S is nk^. If each ball has equal probability of being picked, the probability assigned to each vector in S is 1/nk^.

Partitioning n Distinct Objects into k Distinct Groups

Theorem

The number of ways of partitioning n distinct objects into k distinct groups containing n 1 , n 2 , n 3 ,... , nk objects, respectively, where each object appears in exactly one group and Σki = 1 ni = n , is

N =

n n 1 n 2 n 3... nk

n! n 1! n 2! n 3!... nk!

Proof of Theorem

The number of distinct arrangements of n objects, assuming all objects are distinct, is Pnn = n!. Then Pnn equals the number of ways of partitioning the n objects into k groups (N) multiplied by the number of ways of ordering the n 1 , n 2 ,... and nk elements within each group.

Pnn = n! = (N) (n 1! n 2! n 3!... nk !)

) N =

n! n 1! n 2! n 3!... nk!

n n 1 n 2 n 3... nk

where ni! is the number of distinct arrangements of ni objects in group i.

Partitioning

Example 2

In how many ways can two paintings by Monet, three paintings by Renoir and two paintings by Degas be hung side by side on a museum wall if we do not distinguish between paintings by the same artists. Substituting n = 7, n 1 = 2, n 2 = 3 and n 3 = 2 into the formula, we obtain

N =

n! n 1! n 2! n 3! =

Combinations

Arrangement of Symbols Representing Sample Points does not Matter

C (^) rn : The number of combinations of n objects taken r at a time. The number of subsets, each of size r , that can be formed from the n objects. This number is denoted by

C (^) rn or

n r

Combinations

Example

Consider a bowl containing six balls with the letters A, B, C , D, E , F . Draw two balls from the bowl and write down the letter on each of them, not paying any attention to the order. The number of distinct ways of doing this is given by

C 26 =

We can also see this by enumeration.

AB AC AD AE AF BC BD BE BF CD CE CF DE DF FE

Combinations

Example

A club consists of 25 members Two of them are to be chosen to go to a special meeting with the regional president. Using the formula:

C 225 =

Another example: Eight politicians meet at a fund raising dinner. How many greetings can be exchanged if each politician shakes hands with every other politician exactly once? Using the formula for a combination.

C 28 =