Probability Distribution

Slides:



Advertisements
Similar presentations
Special Discrete Distributions
Advertisements

Chapter 5 Statistical Models in Simulation
Introduction to Probability Distributions
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Chapter 5 Discrete Random Variables and Probability Distributions
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Introduction to Probability Distributions. Random Variable A random variable X takes on a defined set of values with different probabilities. For example,
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
CHAPTER 13: Binomial Distributions
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 5-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chapter 4 Discrete Random Variables and Probability Distributions
Prof. Bart Selman Module Probability --- Part d)
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Probability and Statistics Review
CHAPTER 6 Statistical Analysis of Experimental Data
Discrete Probability Distributions
3-1 Introduction Experiment Random Random experiment.
Chapter 5 Discrete Probability Distributions
Class notes for ISE 201 San Jose State University
Statistics for Managers Using Microsoft® Excel 5th Edition
Discrete and Continuous Distributions G. V. Narayanan.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
RANDOM VARIABLES.
Expected value and variance; binomial distribution June 24, 2004.
Problem A newly married couple plans to have four children and would like to have three girls and a boy. What are the chances (probability) their desire.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Chapter 5 Statistical Models in Simulation Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Standard Statistical Distributions Most elementary statistical books provide a survey of commonly used statistical distributions. The reason we study these.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
Chapter 5 Statistical Models in Simulation
Modeling and Simulation CS 313
5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete Probability Distributions.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
OPIM 5103-Lecture #3 Jose M. Cruz Assistant Professor.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
CHAPTER Discrete Models  G eneral distributions  C lassical: Binomial, Poisson, etc Continuous Models  G eneral distributions 
Biostatistics Class 3 Discrete Probability Distributions 2/8/2000.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT!
King Saud University Women Students
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Binomial Distributions IB Math SL1 - Santowski. The Binomial Setting F ixed number of n trials I ndependence T wo possible outcomes: success or failure.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
The Binomial Distribution.  If a coin is tossed 4 times the possibilities of combinations are  HHHH  HHHT, HHTH, HTHH, THHHH  HHTT,HTHT, HTTH, THHT,
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 5-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Examples of discrete probability distributions:
Chapter 31Introduction to Statistical Quality Control, 7th Edition by Douglas C. Montgomery. Copyright (c) 2012 John Wiley & Sons, Inc.
Lecture-6 Models for Data 1. Discrete Variables Engr. Dr. Attaullah Shah.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Chapter 23C: Expected Values of Discrete Random Variables The mean, or expected value, of a discrete random variable is 1.
Chapter5 Statistical and probabilistic concepts, Implementation to Insurance Subjects of the Unit 1.Counting 2.Probability concepts 3.Random Variables.
Probability Distributions ( 확률분포 ) Chapter 5. 2 모든 가능한 ( 확률 ) 변수의 값에 대해 확률을 할당하는 체계 X 가 1, 2, …, 6 의 값을 가진다면 이 6 개 변수 값에 확률을 할당하는 함수 Definition.
Theoretical distributions: the other distributions.
Random variables (r.v.) Random variable
Binomial and Geometric Random Variables
Probability Distributions; Expected Value
Chapter 5 Statistical Models in Simulation
Chapter 3 Discrete Random Variables and Probability Distributions
Introduction to Probability Distributions
Discrete random variable X Examples: shoe size, dosage (mg), # cells,…
Econometric Models The most basic econometric model consists of a relationship between two variables which is disturbed by a random error. We need to use.
Examples of discrete probability distributions:
STATISTICAL MODELS.
Random Variables Binomial Distributions
Quantitative Methods Varsha Varde.
Chapter 11 Probability.
Presentation transcript:

Probability Distribution Binomial Distribution

Probability of Binary Events Probability of success = p p(success) = p Probability of failure = q p(failure) = q p+q = 1 q = 1-p

Binomial Probability Distribution A fixed number of observations (trials), n e.g., 15 tosses of a coin; 20 patients; 1000 people surveyed A binary random variable e.g., head or tail in each toss of a coin; defective or not defective light bulb Generally called “success” and “failure” Probability of success is p, probability of failure is 1 – p Constant probability for each observation e.g., Probability of getting a tail is the same each time we toss the coin

Binomial example Take the example of 5 coin tosses. What’s the probability that you flip exactly 3 heads in 5 coin tosses?

Binomial distribution Solution: One way to get exactly 3 heads: HHHTT What’s the probability of this exact arrangement? P(heads)xP(heads) xP(heads)xP(tails)xP(tails) =(1/2)3 x (1/2)2 Another way to get exactly 3 heads: THHHT Probability of this exact outcome = (1/2)1 x (1/2)3 x (1/2)1 = (1/2)3 x (1/2)2

Binomial distribution Solution: In fact, (1/2)3 x (1/2)2 is the probability of each unique outcome that has exactly 3 heads and 2 tails. So, the overall probability of 3 heads and 2 tails is: (1/2)3 x (1/2)2 + (1/2)3 x (1/2)2 + (1/2)3 x (1/2)2 + ….. for as many unique arrangements as there are—but how many are there??

5C3 = 5!/3!2! = 10 Outcome Probability THHHT (1/2)3 x (1/2)2 HHHTT (1/2)3 x (1/2)2 TTHHH (1/2)3 x (1/2)2 HTTHH (1/2)3 x (1/2)2 HHTTH (1/2)3 x (1/2)2 THTHH (1/2)3 x (1/2)2 HTHTH (1/2)3 x (1/2)2 HHTHT (1/2)3 x (1/2)2 THHTH (1/2)3 x (1/2)2 HTHHT (1/2)3 x (1/2)2 10 arrangements x (1/2)3 x (1/2)2   The probability of each unique outcome (note: they are all equal)   ways to arrange 3 heads in 5 trials 5C3 = 5!/3!2! = 10

P(3 heads and 2 tails) = x P(heads)3 x P(tails)2 =

Example 2 As voters exit the polls, you ask a representative random sample of 6 voters if they voted for proposition 100. If the true percentage of voters who vote for the proposition is 55.1%, what is the probability that, in your sample, exactly 2 voted for the proposition and 4 did not?  

Solution: . 15 arrangements x (.551)2 x (.449)4 Outcome Probability YYNNNN = (.551)2 x (.449)4 NYYNNN (.449)1 x (.551)2 x (.449)3 = (.551)2 x (.449)4 NNYYNN (.449)2 x (.551)2 x (.449)2 = (.551)2 x (.449)4 NNNYYN (.449)3 x (.551)2 x (.449)1 = (.551)2 x (.449)4 NNNNYY (.449)4 x (.551)2 = (.551)2 x (.449)4 . ways to arrange 2 Obama votes among 6 voters 15 arrangements x (.551)2 x (.449)4   P(2 yes votes exactly) = x (.551)2 x (.449)4 = 18.5%

Binomial distribution, generally Note the general pattern emerging  if you have only two possible outcomes (call them 1/0 or yes/no or success/failure) in n independent trials, then the probability of exactly X “successes”= n = number of trials 1-p = probability of failure p = probability of success X = # successes out of n trials

Definitions: Binomial Binomial: Suppose that n independent experiments, or trials, are performed, where n is a fixed number, and that each experiment results in a “success” with probability p and a “failure” with probability 1-p. The total number of successes, X, is a binomial random variable with parameters n and p. We write: X ~ Bin (n, p) {reads: “X is distributed binomially with parameters n and p} And the probability that X=r (i.e., that there are exactly r successes) is:

Definitions: Bernouilli Bernouilli trial: If there is only 1 trial with probability of success p and probability of failure 1-p, this is called a Bernouilli distribution. (special case of the binomial with n=1) Probability of success: Probability of failure:

Binomial distribution: example If I toss a coin 20 times, what’s the probability of getting exactly 10 heads?

Binomial distribution: example If I toss a coin 20 times, what’s the probability of getting of getting 2 or fewer heads?

Introduction to the Poisson Distribution Poisson distribution is for counts—if events happen at a constant rate over time, the Poisson distribution gives the probability of X number of events occurring in time T.

Poisson Mean and Variance For a Poisson random variable, the variance and mean are the same! Mean Variance and Standard Deviation where  = expected number of hits in a given time period

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.

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) = 0.01111

Similarly p(1)=0.04999 and p(2)=0.11248 So the probability of fewer than 3 arrivals is 0.01111+ 0.04999 + 0.11248 =0.17358

Poisson Distribution, example The Poisson distribution models counts, such as the number of new cases of SARS that occur in women in New England next month. The distribution tells you the probability of all possible numbers of new cases, from 0 to infinity. If X= # of new cases next month and X ~ Poisson (), then the probability that X=k (a particular count) is:

Example For example, if new cases of West Nile Virus in New England are occurring at a rate of about 2 per month, then these are the probabilities that: 0,1, 2, 3, 4, 5, 6, to 1000 to 1 million to… cases will occur in New England in the next month:

Poisson Probability table X P(X) =.135 1 =.27 2 3 =.18 4 =.09 5   …

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.

Simulation “Discrete-Event System Simulation” Statistical Models in Simulation

Purpose & Overview The world the model-builder sees is probabilistic rather than deterministic. • Some statistical model might well describe the variations. An appropriate model can be developed by sampling the phenomenon of interest: • Select a known distribution through educated guesses • Make estimate of the parameters • Test for goodness of fit

Review of Terminology and Concepts In this section, we will review the following concepts: • Discrete random variables • Cumulative distribution function

Discrete Random Variables

Cumulative Distribution Function

Cumulative Distribution Function

Useful Statistical Models In this section, statistical models appropriate to some application areas are presented. The areas include: • Queueing systems • Inventory and supply-chain systems • Reliability and maintainability • Limited data

Useful models – Queueing Systems In a queueing system, interarrival and service-time patterns can be probabilistic. Sample statistical models for interarrival or service time distribution: • Exponential distribution: if service times are completely random • Normal distribution: fairly constant but with some random variability (either positive or negative) • Truncated normal distribution: similar to normal distribution but with restricted value. • Gamma and Weibull distribution: more general than exponential (involving location of the modes of pdf’s and the shapes of tails.)

Useful models – Inventory and supply chain In realistic inventory and supply-chain systems, there are at least three random variables: • The number of units demanded per order or per time period • The time between demands • The lead time = Time between placing an order and the receipt of that order Sample statistical models for lead time distribution: • Gamma Sample statistical models for demand distribution: • Poisson: simple and extensively tabulated. • Negative binomial distribution: longer tail than Poisson (more large demands). • Geometric: special case of negative binomial given at least one demand has occurred.

Useful models – Reliability and maintainability Time to failure (TTF) • Exponential: failures are random • Gamma: for standby redundancy where each component has an exponential TTF • Weibull: failure is due to the most serious of a large number of defects in a system of components • Normal: failures are due to wear

Useful models – Other areas For cases with limited data, some useful distributions are: • Uniform • Triangular • Beta Other distribution: • Bernoulli • Binomial • Hyperexponential