Escolar Documentos
Profissional Documentos
Cultura Documentos
Lecture 9
Sibylle Schroll
University of Leicester
MA1061Lecture 9
1 / 25
1 / 25
Plan
MA1061Lecture 9
2 / 25
2 / 25
Plan
MA1061Lecture 9
2 / 25
2 / 25
Plan
MA1061Lecture 9
2 / 25
2 / 25
Plan
MA1061Lecture 9
2 / 25
2 / 25
MA1061Lecture 9
3 / 25
3 / 25
MA1061Lecture 9
3 / 25
3 / 25
MA1061Lecture 9
3 / 25
3 / 25
Distribution function
MA1061Lecture 9
4 / 25
4 / 25
Distribution function
MA1061Lecture 9
4 / 25
4 / 25
MA1061Lecture 9
5 / 25
5 / 25
MA1061Lecture 9
5 / 25
5 / 25
MA1061Lecture 9
5 / 25
5 / 25
MA1061Lecture 9
5 / 25
5 / 25
MA1061Lecture 9
5 / 25
5 / 25
MA1061Lecture 9
6 / 25
6 / 25
MA1061Lecture 9
6 / 25
6 / 25
MA1061Lecture 9
6 / 25
6 / 25
MA1061Lecture 9
6 / 25
6 / 25
Example
Example
In human populations, the probability of male and female are
approximately equal:
1
P(male) = P(female) = .
2
MA1061Lecture 9
7 / 25
7 / 25
Example
Example
In human populations, the probability of male and female are
approximately equal:
1
P(male) = P(female) = .
2
Consider now a family with three kids;
MA1061Lecture 9
7 / 25
7 / 25
Example
Example
In human populations, the probability of male and female are
approximately equal:
1
P(male) = P(female) = .
2
Consider now a family with three kids;
Let X count the number of male children.
MA1061Lecture 9
7 / 25
7 / 25
Example
Example
In human populations, the probability of male and female are
approximately equal:
1
P(male) = P(female) = .
2
Consider now a family with three kids;
Let X count the number of male children.
What is the distribution of X?
MA1061Lecture 9
7 / 25
7 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
Example continued
x
PX (x)
1
8
3
8
3
8
1
8
MA1061Lecture 9
8 / 25
8 / 25
More comments
MA1061Lecture 9
9 / 25
9 / 25
More comments
MA1061Lecture 9
9 / 25
9 / 25
More comments
MA1061Lecture 9
9 / 25
9 / 25
More comments
MA1061Lecture 9
9 / 25
9 / 25
More comments
MA1061Lecture 9
9 / 25
9 / 25
MA1061Lecture 9
10 / 25
10 / 25
MA1061Lecture 9
10 / 25
10 / 25
MA1061Lecture 9
10 / 25
10 / 25
MA1061Lecture 9
11 / 25
11 / 25
MA1061Lecture 9
11 / 25
11 / 25
MA1061Lecture 9
11 / 25
11 / 25
MA1061Lecture 9
12 / 25
12 / 25
MA1061Lecture 9
12 / 25
12 / 25
MA1061Lecture 9
12 / 25
12 / 25
MA1061Lecture 9
12 / 25
12 / 25
MA1061Lecture 9
13 / 25
13 / 25
MA1061Lecture 9
13 / 25
13 / 25
MA1061Lecture 9
13 / 25
13 / 25
MA1061Lecture 9
13 / 25
13 / 25
MA1061Lecture 9
13 / 25
13 / 25
MA1061Lecture 9
14 / 25
14 / 25
MA1061Lecture 9
14 / 25
14 / 25
MA1061Lecture 9
14 / 25
14 / 25
MA1061Lecture 9
14 / 25
14 / 25
MA1061Lecture 9
15 / 25
15 / 25
MA1061Lecture 9
15 / 25
15 / 25
MA1061Lecture 9
15 / 25
15 / 25
MA1061Lecture 9
16 / 25
16 / 25
P() = P((a1 , . . . , an )) = p q
k=
n
X
ai .
i=1
MA1061Lecture 9
16 / 25
16 / 25
P() = P((a1 , . . . , an )) = p q
k=
n
X
ai .
i=1
MA1061Lecture 9
16 / 25
16 / 25
P() = P((a1 , . . . , an )) = p q
k=
n
X
ai .
i=1
MA1061Lecture 9
16 / 25
16 / 25
MA1061Lecture 9
17 / 25
17 / 25
n
X
ai = number of successes.
i=1
MA1061Lecture 9
17 / 25
17 / 25
n
X
ai = number of successes.
i=1
MA1061Lecture 9
17 / 25
17 / 25
n
X
ai = number of successes.
i=1
MA1061Lecture 9
17 / 25
17 / 25
n
X
ai = number of successes.
i=1
MA1061Lecture 9
17 / 25
17 / 25
n
X
ai = number of successes.
i=1
MA1061Lecture 9
17 / 25
17 / 25
By definition
PX (k) = P { : X() = k} .
MA1061Lecture 9
18 / 25
18 / 25
By definition
PX (k) = P { : X() = k} .
Let Bk = { : X() = k}.
MA1061Lecture 9
18 / 25
18 / 25
By definition
PX (k) = P { : X() = k} .
Let Bk = { : X() = k}.
Obviously Bk consists of the binary sequences of length n with
exactly k 1s and n k 0s.
MA1061Lecture 9
18 / 25
18 / 25
By definition
PX (k) = P { : X() = k} .
Let Bk = { : X() = k}.
Obviously Bk consists of the binary sequences of length n with
exactly k 1s and n k 0s.
We just saw that there are Cn
k of these.
MA1061Lecture 9
18 / 25
18 / 25
MA1061Lecture 9
19 / 25
19 / 25
MA1061Lecture 9
19 / 25
19 / 25
MA1061Lecture 9
k = 0, . . . , n.
19 / 25
19 / 25
k = 0, . . . , n.
MA1061Lecture 9
19 / 25
19 / 25
k = 0, . . . , n.
MA1061Lecture 9
19 / 25
19 / 25
MA1061Lecture 9
20 / 25
20 / 25
MA1061Lecture 9
21 / 25
21 / 25
MA1061Lecture 9
21 / 25
21 / 25
MA1061Lecture 9
21 / 25
21 / 25
Theorem
Let X1 , X2 , ..., Xn be n independent Bernoulli random variables of
parameter p. Then
X = X1 + X2 + + Xn
has a binomial distribution. In fact
X Bi(n, p.)
MA1061Lecture 9
22 / 25
22 / 25
Example
Suppose a family has three children and suppose that it is equally
likely to have boy or girl.
If X is the number of male children, what is the probability
distribution of X?
Using this distribution, calculate the probability that the family has 0,
1, 2 or 3 boys.
MA1061Lecture 9
23 / 25
23 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
Could you answer the question without using the binomial
distribution?
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
Could you answer the question without using the binomial
distribution?
X Bi(3, 0.1)
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
Could you answer the question without using the binomial
distribution?
X Bi(3, 0.1)
Hence P(X = 3) = C33 (0.1)3 (0.9)0 = 0.001
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
Could you answer the question without using the binomial
distribution?
X Bi(3, 0.1)
Hence P(X = 3) = C33 (0.1)3 (0.9)0 = 0.001
P(X = 2) = C32 (0.1)2 (0.9)1 = 3x0.01x0.9 = 0.027
MA1061Lecture 9
24 / 25
24 / 25
Example
Suppose 10 % of items produced in a factory are defective. Choose 3
items at random. What is the probability that
(a) all are defective
(b) 2 are defective
(c) none are defective?
Use the binomial distribution to answer the question.
Could you answer the question without using the binomial
distribution?
X Bi(3, 0.1)
Hence P(X = 3) = C33 (0.1)3 (0.9)0 = 0.001
P(X = 2) = C32 (0.1)2 (0.9)1 = 3x0.01x0.9 = 0.027
P(X = 0) = C30 (0.1)0 (0.9)3 = 0.729
MA1061Lecture 9
24 / 25
24 / 25
Whats next?
random vectors;
MA1061Lecture 9
25 / 25
25 / 25
Whats next?
random vectors;
independence of random variables;
MA1061Lecture 9
25 / 25
25 / 25
Whats next?
random vectors;
independence of random variables;
functions of random variables.
MA1061Lecture 9
25 / 25
25 / 25