Professional Documents
Culture Documents
Lecture 9
Probability
Discrete distributions
• Announcements
• Binomial distribution
• Definition
• Mean, standard deviation
• Geometric distribution
• Poisson distribution
• Probability distribution
Solution:
• P(0) = P(X=0) = P(TT) = 0,25,
• P(1) = P(X=1) = P(HT or TH) = 0,25 + 0,25 = 0,50,
• P(2) = P(X=2) = P(HH) = 0,25
x P(x)
0 0,25
1 0,50
2 0,25
Discrete probability distributions
• Mean (and expected value) of a discrete random variable
x P(x) xP(x)
0 0,25 0*(0,25) = 0
1 0,50 1*(0,50) = 0,50
2 0,25 2*(0,25) = 0,50
Discrete probability distributions
• Variance and standard deviation of a discrete random variable
𝝁=𝟏
0 0,25 -1 1 0,25
1 0,50 0 0 0
2 0,25 1 1 0,25
Binomial distribution
• Probabilistic experiments with two possible outcomes:
• Success
• Failure
• We have seen relatively simple problems so far
• The probability of two Heads in 2 coin tosses
• Let’s cover more complex problems
• What is the probability of getting 70 or more “Heads”
in 100 coin tosses?
• Binomials
• Give us an efficient method for solving problems
involving binary events
• Deepen our understanding of why many results are
normally distributed
• Provide us the basis for understanding sample
distributions of various statistics based on random
samples
• Give us the foundation for using the approximation
method for normal distributions
Binomial distribution
• Binomial experiments
• Situation in which there are only two possibilities
• Success, with probability p
• Failure, com probability q
• These results are mutually exclusive
• p = 1 – q; p + q = 1
• p and q are constant between attempts
• Ex: Two coin tosses
• Binomial distribution
• The distribution representing the probability of each
possible value of the number of successes
• Random variable x counts the number of
successful attempts
Binomial distribution
• Result x p(x)
• HH 2 1/4 or 0,25
• HT TH 1 2/4 or 0,50
• TT 0 1/4 or 0,25
Binomial distribution
• Result x p(x)
• HHHH 4 1/16 or ,0625
• HHHT HHTH HTHH THHH 3 4/16 or ,2500
• HHTT HTTH HTHT THTH THHT TTHH 2 6/16 or ,3750
• TTTH TTHT THTT HTTT 1 4/16 or ,2500
• TTTT 0 1/16 or ,0625
Binomial distribution
0.4 0.375
x p(x)
What is the center? 4 1/16 or ,0625
Probabilidade
0.25 0.25
3 4/16 or ,2500
0.2
What is the dispersion?
2 6/16 or ,3750
0.0625 0.0625 1 4/16 or ,2500
What is the shape?
0 0 1/16 or ,0625
0 1 2 3 4
x (# heads)
Binomial distribution
Probabilidade
• sbinomial = Npq 0.25 0.25
0.2
0.0625 0.0625
– Ex: for N =2, p = 0,5
• mbinomial = 2 * 0,5 = 1,0 0
0 1 2 3 4
• sbinomial = (2*,5*,5) = 0,71
x (# heads)
– Determine N, p, q
– Find m
binomial and sbinomial
Probabilidade
– N = 4; p = 0,5; x = 0,1,2,3,4 0.25 0.25
0.2
0.0625 0.0625
0
0 1 2 3 4
x (# heads)
Binomial distribution
Binomial distribution
• Choose a card from an ordinary deck. Verify whether your suit is
spades or not and put it back in the deck. Repeat the experiment 5
times.
– Determine n, p, q
– Find m
binomial and sbinomial
𝜇𝑥 𝑒− 𝜇
𝑃 ( 𝑥 )=
𝑥!
• What is the probability that more than four accidents occur at the
intersection in a given month?
1. Calculate P(0), P(1), P(2), P(3) and P(4)
2. Add these probabilities
3. Subtract the sum from 1
Next lecture
• Continuous distributions