Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Normal Distribution and Binomial Probabilities: Approximation and Applications, Study notes of Data Analysis & Statistical Methods

The relationship between the normal distribution and binomial probabilities through examples and calculations. How to approximate binomial probabilities using the normal distribution and provides step-by-step instructions for calculating probabilities. The document also includes examples of calculating probabilities for obtaining a specific number of heads when tossing a biased or fair coin a certain number of times.

Typology: Study notes

Pre 2010

Uploaded on 08/09/2009

koofers-user-uyd
koofers-user-uyd ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
STA100 Working With the Normal Distribution Lecture 14
1 | P a g e
Sections in Text: 6.3, 6.4, 7.1
One of the main reasons we spend so much time with the Normal Distribution, and why it models so
many situations in nature is because both we, and nature, tend to add quantities together. Hereโ€™s an
intuitive example that we will present now and explore more later.
Suppose you are waiting on line at the supermarket and start to keep track of how long it takes an
individual to be โ€œchecked outโ€ once you reach the cashier. Since not all orders are the same, you will
notice that there is a distribution of times spent with the cashier. You might find that people take on
average 4 minutes but that when you construct a histogram you get something like this:
Notice that you would โ€œbalanceโ€ the histogram at the average value of 4 minutes. There is nothing
โ€œsymmetric and mound shapedโ€ about this distribution. However this histogram is for the amount of
time taken by a single individual. Usually there is a line when I go to the supermarket. The total time I
invest in line is the total time taken by the people ahead of me plus the time taken by me. If there is
only one person ahead of me I would expect to see a histogram like this:
0 5 10 15 20 25 30 35
0
100
200
300
400
500
600 Histogram of "Cashier Service Times" at a Supermarket
Time Spent in Minutes
Number of Customers
0 5 10 15 20 25 30 35 40 45
0
50
100
150
200
250
300
350 Histogram of "Total Time Spent" at Cashier at a Supermarket
Number of Customers
Time Spent in Minutes
pf3
pf4
pf5

Partial preview of the text

Download Normal Distribution and Binomial Probabilities: Approximation and Applications and more Study notes Data Analysis & Statistical Methods in PDF only on Docsity!

Sections in Text: 6.3, 6.4, 7.

One of the main reasons we spend so much time with the Normal Distribution, and why it models so

many situations in nature is because both we, and nature, tend to add quantities together. Hereโ€™s an

intuitive example that we will present now and explore more later.

Suppose you are waiting on line at the supermarket and start to keep track of how long it takes an

individual to be โ€œchecked outโ€ once you reach the cashier. Since not all orders are the same, you will

notice that there is a distribution of times spent with the cashier. You might find that people take on average 4 minutes but that when you construct a histogram you get something like this:

Notice that you would โ€œbalanceโ€ the histogram at the average value of 4 minutes. There is nothing โ€œsymmetric and mound shapedโ€ about this distribution. However this histogram is for the amount of time taken by a single individual. Usually there is a line when I go to the supermarket. The total time I invest in line is the total time taken by the people ahead of me plus the time taken by me. If there is only one person ahead of me I would expect to see a histogram like this:

(^00 5 10 15 20 25 30 )

100

200

300

400

500

600 Histogram of "Cashier Service Times" at a Supermarket

Time Spent in Minutes

Number of Customers

(^00 5 10 15 20 25 30 35 40 )

50

100

150

200

250

300

350 Histogram of "Total Time Spent" at Cashier at a Supermarket

Number of Customers

Time Spent in Minutes

Notice that you would โ€œbalanceโ€ the histogram at the average value of 8 minutes. Suppose there are 10 people in line. What sort of distribution emerges when we process all 10?

Notice that the figure is becoming more โ€œsymmetric and mound shapedโ€. Weโ€™ll say more about this later.

Letโ€™s start with an example to review the Normal Distribution and then look at the connection between the normal and the binomial. Very often psychologists will give people โ€œpen and paperโ€ surveys to measure some characteristic. As an example, if you want to tell if someone tends to be more optimistic or pessimistic you might give them the โ€œLife Orientation Testโ€ (Scheier, Carver, & Bridges, 1994). Here is the test:

LOT-R

Please be as honest and accurate as you can throughout. Try not to let your response to one

statement influence your responses to other statements. There are no "correct" or "incorrect"

answers. Answer according to your own feelings, rather than how you think "most people" would

answer.

A = I agree a lot B = I agree a little C = I neither agree nor disagree D = I DISagree a little E = I DISagree a lot

_1. In uncertain times, I usually expect the best. [2. It's easy for me to relax.]

  1. If something can go wrong for me, it will.
  2. I'm always optimistic about my future. [5. I enjoy my friends a lot.] [6. It's important for me to keep busy.]
  3. I hardly ever expect things to go my way. [8. I don't get upset too easily.]_

(^010 20 30 40 50 60 70 80 )

50

100

150

200

250

Time Spent in Minutes

Number of Customers

Histogram of "Total Time Spent" at Cashier (10 Customers)

๏‚ท What score would someone have to obtain to be within the top 10% of the population?

Remember that we have two related formulas:

Depending upon whether we have a score and want a probability or have a probability and want a score. If we want the data point which separates the top 10% from the bottom 90% we first see what ๐‘ง value corresponds to an area of 0.9000. From my table I see that ๐ด = 0.8997 corresponds to ๐‘ง = 1.28_. Close enough. Then the score cutting off the top 10% is_ ๐‘ฅ = ๐œ‡ + ๐‘ง๐œŽ = 15 + 1.28 โˆ— 3 = 18.84. Is this consistent with your graph?

Hereโ€™s an important example. Recall from our previous lectures that a binomial random variable (discrete) may be fairly well approximated by the normal distribution (continuous). As a rule of thumb, the approximation is good when np > 5 and n(1 โˆ’ p) = nq > 5. That is, when the average number of successes and also the average number of failures are both at least as high as 5.

As a reminder, consider the following graphs:

Note that in the first figure we have ๐‘Ž๐‘ฃ๐‘’๐‘Ÿ๐‘Ž๐‘”๐‘’ ๐‘›๐‘ข๐‘š๐‘๐‘’๐‘Ÿ ๐‘œ๐‘“ ๐‘ ๐‘ข๐‘๐‘๐‘’๐‘ ๐‘ ๐‘’๐‘  = ๐‘› โˆ— ๐‘ = 5 โˆ— 0.2 = 1 < 5 and the match isnโ€™t very good. By the time we get to the last figure we have ๐‘Ž๐‘ฃ๐‘’๐‘Ÿ๐‘Ž๐‘”๐‘’ ๐‘›๐‘ข๐‘š๐‘๐‘’๐‘Ÿ ๐‘œ๐‘“ ๐‘ ๐‘ข๐‘๐‘๐‘’๐‘ ๐‘ ๐‘’๐‘  = ๐‘› โˆ— ๐‘ = 50 โˆ— 0.2 = 10 โ‰ซ 5 as well as ๐‘Ž๐‘ฃ๐‘’๐‘Ÿ๐‘Ž๐‘”๐‘’ ๐‘›๐‘ข๐‘š๐‘๐‘’๐‘Ÿ ๐‘œ๐‘“ ๐‘“๐‘Ž๐‘–๐‘™๐‘ข๐‘Ÿ๐‘’๐‘  = ๐‘› โˆ— 1 โˆ’ ๐‘ = 50 โˆ— 0.8 = 40 โ‰ซ 5 and our approximation is quite good.

0 2 4 6

0

n=5 p=0.

0 5 10

0

n=10 p=0.

0 10 20 30

0

n=30 p=0.

0 20 40

0

n=50 p=0.

binomial normal

binomial normal

binomial normal

binomial normal

Since most people donโ€™t enjoy the binomial formula, letโ€™s think about how we might use the normal approximation to approximate binomial probabilities. Below is a graph of the probability distribution of a binomial random variable describing a situation with n = 12 independent trials, each with probability of success p = 0.55, i.e. tossing a biased coin 12 times and counting the number of heads. The graph of the probability density function of a normal distribution has been superimposed.

We can use our table to get the probability of 10 successes: I read off the number ๐‘๐‘Ÿ๐‘œ๐‘ = 0.034. This looks about right on the figure below. Just note for what follows that the height of the spike equals the binomial probability.

Now, how did I fit a normal distribution? What mean did I use? What standard deviation?

If you think about it, we would like the center or mean of our binomial distribution to match that of the normal distribution, so I set the mean of the normal distribution equal to ๐œ‡ = ๐‘›๐‘. It is the same for the

standard deviations- we match the spread of the normal to that of the binomial: ๐œŽ = ๐‘› ๐‘ 1 โˆ’ ๐‘

This gives me ๐œ‡ = ๐‘›๐‘ = 12 โˆ— 0.55 = 6.6 and ๐œŽ = ๐‘› ๐‘ 1 โˆ’ ๐‘ = 12 โˆ— .55 โˆ— .45 = 1.7234.

As always, look at these numbers and make sure you see that 6.6 is right in the middle and if we look โ€œthree up and three downโ€, i.e. from 6.6 โˆ’ 3 โˆ— 1.7234 = 1.4298 and 6.6 + 3 โˆ— 1.7234 = 11.7702 we have captured just about all of the area under our curve.

Now how do we use our table? There are 3 steps here:

๏‚ท Notice that the โ€œheight of the spikeโ€ pretty much touches the normal curve, so if we can figure out the height on the normal curve we know the binomial probability. ๏‚ท Since the formula for the normal curve is more than we want we need to use thez-table somehow. The z-table gives us areas whereas we want a height. Hereโ€™s a clever idea: the area of a rectangle is equal to its base times its height, so if we set up a rectangle with a base of 1 we get area = 1*height or (ignoring units) area = height. ๏‚ท Since the area under the curve is well approximated by the area of a rectangle (see graph) we can say that the โ€œheight of the spikeโ€ at 10 is approximately equal to the area under the curve from 9.5 to 10.5.

(^0) -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13

n=12 p=0. binomial normal

  1. Binomial to Normal Approximation: Since we want the probabilities from 40 to 60, we break our

interval up into pieces. The first goes from 39.5 to 40.5 in order to represent 40, the second goes from 40.5 to 41.5 in order to represent 41, all the way up to 59.5 to 60.5 to represent 60. Now find the area under the normal curve from 39.5 to 60.5 when n=100 and p=0.5. We have

๐œ‡ = ๐‘›๐‘ = 100 โˆ— 0.5 = 50 , and ๐œŽ = ๐‘› ๐‘ 1 โˆ’ ๐‘ = 100 .5. 5 = 5. Do you see that the curve below is centered at 50 and if you look three up and three down (between 45 and 65) you have just about all your probability? Hereโ€™s the calculation:

probability (^) 0. 9642

Pretty close!

And hereโ€™s another presentation: Calculate via Excel and using the normal approximation to the binomial distribution the probability that, if you roll a fair die 100 times you will obtain between 10 and 20 (inclusive) โ€œSIXESโ€.

0 10 20 30 40 50 60 70 80 90 100 0

n=100 p=0. binomial normal