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.

Slides:



Advertisements
Similar presentations
The Poisson distribution
Advertisements

Let X 1, X 2,..., X n be a set of independent random variables having a common distribution, and let E[ X i ] = . then, with probability 1 Strong law.
Sta220 - Statistics Mr. Smith Room 310 Class #14.
5-4 Geometric and Poisson Distribution. Geometric Distribution We’ve talked about these already. In a geometric distribution the goal is looking for first.
One of the biggest studies of "public service" television has shown people rate impartial news highly and see benefit in soap operas. The report by communications.
Discrete Random Variables: The Poisson Distribution IBHLY1/Y2 - Santowski.
probability distributions
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
Continuous Random Variables. L. Wang, Department of Statistics University of South Carolina; Slide 2 Continuous Random Variable A continuous random variable.
Probability Distributions Finite Random Variables.
Statistics. Large Systems Macroscopic systems involve large numbers of particles.  Microscopic determinism  Macroscopic phenomena The basis is in mechanics.
Discrete Probability Distributions
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 6-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Class notes for ISE 201 San Jose State University
Variance Fall 2003, Math 115B. Basic Idea Tables of values and graphs of the p.m.f.’s of the finite random variables, X and Y, are given in the sheet.
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.
1 Random Variables and Discrete probability Distributions SESSION 2.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Probability Distribution
Chapter 5 Several Discrete Distributions General Objectives: Discrete random variables are used in many practical applications. These random variables.
Chapter 4 Continuous Random Variables and Probability Distributions
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
CA200 Quantitative Analysis for Business Decisions.
Random variables Petter Mostad Repetition Sample space, set theory, events, probability Conditional probability, Bayes theorem, independence,
Poisson Distribution.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
1 Chapter 8: The Binomial and Geometric Distributions 8.1Binomial Distributions 8.2Geometric Distributions.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
OPIM 5103-Lecture #3 Jose M. Cruz Assistant Professor.
Statistical Applications Binominal and Poisson’s Probability distributions E ( x ) =  =  xf ( x )
Biostatistics Class 3 Discrete Probability Distributions 2/8/2000.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
Probability distribution Dr. Deshi Ye College of Computer Science, Zhejiang University
S2 Chapter 2: Poisson Distribution Dr J Frost Last modified: 20 th September 2015.
Sections 5.1 and 5.2 Review and Preview and Random Variables.
Random Variable The outcome of an experiment need not be a number, for example, the outcome when a coin is tossed can be 'heads' or 'tails'. However, we.
CY1B2 Statistics1 (ii) Poisson distribution The Poisson distribution resembles the binomial distribution if the probability of an accident is very small.
Sampling and estimation Petter Mostad
Random Variables Example:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 5-1 Review and Preview.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Chapter 4. Random Variables - 3
THE POISSON DISTRIBUTION
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 5 Probability Distributions 5-1 Overview 5-2 Random Variables 5-3 Binomial Probability Distributions 5-4 Mean, Variance and Standard Deviation.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
The Poisson Distribution. The Poisson Distribution may be used as an approximation for a binomial distribution when n is large and p is small enough that.
Probability Distributions ( 확률분포 ) Chapter 5. 2 모든 가능한 ( 확률 ) 변수의 값에 대해 확률을 할당하는 체계 X 가 1, 2, …, 6 의 값을 가진다면 이 6 개 변수 값에 확률을 할당하는 함수 Definition.
The normal distribution
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
The Poisson probability distribution
Math 4030 – 4a More Discrete Distributions
Discrete Random Variables
Engineering Probability and Statistics - SE-205 -Chap 4
CHAPTER 6 Random Variables
Continuous Random Variables
Physics 114: Lecture 7 Probability Density Functions
Poisson Probability Distributions
STAT 206: Chapter 6 Normal Distribution.
Binomial Distribution
The normal distribution
Some Discrete Probability Distributions
STATISTICAL MODELS.
Elementary Statistics
IE 360: Design and Control of Industrial Systems I
Part II: Discrete Random Variables
Presentation 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= This can be done on R using the command rbinom.

For example, let’s simulate 1000 students. > xsim=rbinom(1000,100,1/6) > xsim [1] [21] [41] [61] [81] [101] [121] [141] [161] [181] [201] [221] [241] [261] [281]

[301] [321] [341] [361] [381] [401] [421] [441] [461] [481] [501] [521] [541] [561] [581] [601] [621] [641]

[661] [681] [701] [721] [741] [761] [781] [801] [821] [841] [861] [881] [901] [921] [941] [961] [981]

It makes sense now to look at properties of these 1000 simulations which have been placed in the vector “xsim”. > mean(xsim) [1] > median(xsim) [1] 17 > sd(xsim) [1] > var(xsim) [1] >

Now compare the actual values from the simulations, with the theoretical values from the probability distribution. SIMULATION THEORETICAL MEAN VARIANCE

A full summary of the results of the simulation is given with: > table(xsim) xsim >

A Histogram can also be plotted of this: > hist(xsim)

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 Distribution The 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.

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.

The probabilities of 0 up to 2 arrivals can be calculated directly from the formula with =4.5 So p(0) =

Similarly p(1)= and p(2)= So the probability of fewer than 3 arrivals is =

R Code As with the Binomial distribution, the codes dpois and ppois will do the calculations for you.

> x=dpois(0:20,4.5) > x [1] e e e e e-01 [6] e e e e e-02 [11] e e e e e-04 [16] e e e e e-07 [21] e-08 >

> barplot(x,names=0:20)

Now check that ppois gives the same answer (ppois is a cumulative distribution). > ppois(2,4.5) [1] >

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] > 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 so =7.5 > ppois(9,7.5) [1] > So it is correct to 2 decimal places. Manually, this would have been much simpler to do than the Binomial.