Title: Proportions
1Proportions
2First, some more probability!
- Why were there so many birthday pairs?
14 people 91 pairs
3Permutation
An ordered set of events
Girl, Boy
Boy, Girl
4Combination
An unordered set of events
Girl, Boy
or
Boy, Girl
5(No Transcript)
6Permutations - Example
- If you have five children, three boys and two
girls, how many possible birth orders are there? - Example BGBGB
7(No Transcript)
8Checking...
BBBGG BBGBG BBGGB BGBBG BGBGB BGGBB GBBBG GBBGB G
BGBB GGBBB
Answer 10 permutations One combination (three
boys, two girls)
90!11!1
10Multiplication rule
If two events A and B are independent,
then PrA and B PrA x PrB
11Permutations and probabilities
- The multiplication rule also holds for
permutations - As long as the events are independent!
12PrBBBGGPrBPrBPrBPrGPrG 0.51
20.5120.5120.4880.488 (0.512)3(0.488)2
13Probability of a combination
- Consider the previous example
- What is the probability of the combination three
boys, two girls?
14Probability of a combination
(Number of permutations giving that
combination) ? (Probability of one of those
permutations)
Assumes that events are independent
15Probability of a combination
10 ? 0.031
0.31
Assumes that events are independent
16Generalizing
? px (1-p)n-x
Assumes that events are independent
17The probability of a combination of independent
events
18The binomial distribution
19Binomial distribution
- The probability distribution for the number of
successes in a fixed number of independent
trials, when the probability of success is the
same in each trial
20The binomial distribution
P(x) probability of a total of x successes p
probability of success in each trial n total
number of trials
21Sheep null distribution from computer simulation
22Binomial distribution, n 20, p 0.5
23Remember
24Example Paradise flycatchers
25Example Paradise flycatchers
A population of paradise flycatchers has 80
brown males And 20 white. You capture 5 male
flycatchers at random. What is the probability
that 3 of these are brown and 2 are white?
26Example Paradise flycatchers
A population of paradise flycatchers has 80
brown males And 20 white. You capture 5 male
flycatchers at random. What is the probability
that 3 of these are brown and 2 are white?
n 5 x 3 p 0.8
27Example Paradise flycatchers
A population of paradise flycatchers has 80
brown males And 20 white. You capture 5 male
flycatchers at random. What is the probability
that 3 of these are brown and 2 are white?
n 5 x 3 p 0.8
28Example Paradise flycatchers
A population of paradise flycatchers has 80
brown males And 20 white. You capture 5 male
flycatchers at random. What is the probability
that 3 of these are brown and 2 are white?
n 5 x 3 p 0.8
29(No Transcript)
30Properties of the binomial distribution
31(No Transcript)
32Proportion of successes in a sample
33Example A coin is flipped 8 times 5 were heads
Proportion of heads 5/8
34Properties of proportions
- Mean p
- Variance
- Standard error
35Sampling distribution of a proportion
36The law of large numbers
The greater the sample size, the closer an
estimate of a proportion is likely to be to its
true value.
Sample size
37Estimating a proportion
38Confidence interval for a proportion
where Z 1.96 for a 95 confidence interval
The Agresti-Couli method
39Example The daughters of radiologists
30 out of 87 offspring of radiologists are males,
and the rest female. What is the best estimate of
the proportion of sons among radiologists?
40Hypothesis testing on proportions
The binomial test
41Binomial test
42Example
43Hypotheses
44N 10, p0 0.2
45P 0.12
The is greater than the common a value of 0.05,
so we would not reject the null hypothesis.
46Summary