Example A student attempts a multiple choice exam (options A to F for each question), but having done no work, selects his answers to each question by rolling a fair die (A = 1, B = 2, etc.). If the exam contains 100 questions, what is the probability of obtaining a mark below 20?
37
Embed
Example A student attempts a multiple choice exam (options A to F for each question), but having done no work, selects his answers to each question by.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Example
A student attempts a multiple choice exam (options A to F for each question), but having done no work, selects his answers to each question by rolling a fair die (A = 1, B = 2, etc.).
If the exam contains 100 questions, what is the probability of obtaining a mark below 20?
Simulation
Now, let us simulate a large number of realisations of students using this random method of answering multiple choice questions. We still require the same Binomial distribution with n=100 and a=
Notice that a BARPLOT of xsim does NOT produce a useful graph!
> barplot(xsim)
A barplot of the TABLE of xsim does work,though.
> barplot(table(xsim))
Poisson DistributionThe Poisson distribution is used to model the number of events occurring within a given time interval. The formula for the Poisson probability density (mass) function is
is the shape parameter which indicates the average number of events in the given time interval.
( )!
xep x
x
Some events are rather rare - they don't happen that often. For instance, car accidents are the exception rather than the rule. Still, over a period of time, we can say something about the nature of rare events.
An example is the improvement of traffic safety, where the government wants to know whether seat belts reduce the number of death in car accidents. Here, the Poisson distribution can be a useful tool to answer questions about benefits of seat belt use.
Other phenomena that often follow a Poisson distribution are death of infants, the number of misprints in a book, the number of customers arriving, and the number of activations of a Geiger counter.
The distribution was derived by the French mathematician Siméon Poisson in 1837, and the first application was the description of the number of deaths by horse kicking in the Prussian army.
Example
Arrivals at a bus-stop follow a Poisson distribution with an average of 4.5 every quarter of an hour.
Obtain a barplot of the distribution (assume a maximum of 20 arrivals in a quarter of an hour) and calculate the probability of fewer than 3 arrivals in a quarter of an hour.
Consider a collection of graphs for different values of
=3
=4
=5
=6
=10
In the last case, the probability of 20 arrivals is no longer negligible, so values up to, say, 30 would have to be considered.
Properties of Poisson
The mean and variance are both equal to .
The sum of independent Poisson variables is a further Poisson variable with mean equal to the sum of the individual means.
As well as cropping up in the situations already mentioned, the Poisson distribution provides an approximation for the Binomial distribution.
Approximation:
If n is large and p is small, then the Binomial distribution with parameters n and p, ( B(n;p) ), is well approximated by the Poisson distribution with parameter np, i.e. by the Poisson distribution with the same mean
Example
Binomial situation, n= 100, p=0.075
Calculate the probability of fewer than 10 successes.
> pbinom(9,100,0.075)[1] 0.7832687>
This would have been very tricky with manual calculation as the factorials are very large and the probabilities very small
The Poisson approximation to the Binomial states that will be equal to np, i.e. 100 x 0.075
so =7.5
> ppois(9,7.5)[1] 0.7764076>
So it is correct to 2 decimal places. Manually, this would have been much simpler to do than the Binomial.