Ch 5 Probability: The Mathematics of Randomness. 5.1.1 Random Variables and Their Distributions A random variable is a quantity that (prior to observation)

Slides:



Advertisements
Similar presentations
© 2004 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
Advertisements

Chapter 5 Some Important Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
© 2003 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Ch 5 Probability: The Mathematics of Randomness
Chapter 4 Discrete Random Variables and Probability Distributions
Chapter 5 Basic Probability Distributions
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 4-1 Introduction to Statistics Chapter 5 Random Variables.
Introduction to Probability and Statistics
Class notes for ISE 201 San Jose State University
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Chapter 8 Probability Distributions 8.1 Random variables 8.2 Probability distributions 8.3 Binomial distribution 8.4 Hypergeometric distribution 8.5 Poisson.
Discrete Probability Distributions
CHAPTER 6 Random Variables
Chapter 5 Discrete Random Variables and Probability Distributions
Chap 5-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-1 Chapter 5 Discrete Probability Distributions Basic Business Statistics.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 8 Probability Distributions 8.1 Random variables 8.2 Probability distributions 8.3 Binomial distribution 8.4 Hypergeometric distribution 8.5 Poisson.
Chapter 5 Discrete Probability Distribution I. Basic Definitions II. Summary Measures for Discrete Random Variable Expected Value (Mean) Variance and Standard.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Chap 5-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 5 Discrete Probability Distributions Business Statistics: A First.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
1 Since everything is a reflection of our minds, everything can be changed by our minds.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted.
Chapter 5 Discrete Probability Distributions. Random Variable A numerical description of the result of an experiment.
The two way frequency table The  2 statistic Techniques for examining dependence amongst two categorical variables.
Definition A random variable is a variable whose value is determined by the outcome of a random experiment/chance situation.
Your 3rd quiz will cover sections a){HHH,HTT,THT,TTH,THH,HTH,HHT,TTT} {0,1,2,3} b) {1/8,3/8,3/8,1/8} d) P(x=2 or x=3)= P(x=2)+P(x=3)=3/8+1/8=1/2.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.1 Discrete and Continuous.
Random Variables Ch. 6. Flip a fair coin 4 times. List all the possible outcomes. Let X be the number of heads. A probability model describes the possible.
Probability Distributions, Discrete Random Variables
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted.
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:
Binomial Distribution If you flip a coin 3 times, what is the probability that you will get exactly 1 tails? There is more than one way to do this problem,
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Chapter 4 Discrete Random Variables and Probability Distributions
Chapter Five The Binomial Probability Distribution and Related Topics
Random variables (r.v.) Random variable
CHAPTER 2 RANDOM VARIABLES.
Discrete Probability Distributions
Chapter 5 Some Important Discrete Probability Distributions
Chapter 5: Some Discrete Probability Distributions:
Discrete Probability Distributions
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
Discrete Probability Distributions
Discrete Probability Distributions
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
Discrete Probability Distributions
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
Engineering Mathematics-III Probability Dristibution
CHAPTER 6 Random Variables
Discrete Probability Distributions
Discrete Probability Distributions
Chapter 5 – Probability Rules
Presentation transcript:

Ch 5 Probability: The Mathematics of Randomness

5.1.1 Random Variables and Their Distributions A random variable is a quantity that (prior to observation) can be thought of as dependent on chance phenomena. Toss a coin 10 times X=# of heads Toss a coin until a head X=# of tosses needed

More random variables Toss a die X=points showing Plant 100 seeds of pumpkins X=% germinating Test a light bulb X=lifetime of bulb Test 20 light bulbs X=average lifetime of bulbs

Types of Random Variable A discrete random variable is one that has isolated or separated possible values. (Counts, finite-possible values) A continuous random variable is one that can be idealized as having an entire (continuous) interval of numbers as its set of possible values. (Lifetimes, time, compression strength 0  infinity)

Probability Distribution To specify a probability distribution for a random variable is to give its set of possible values and (in one way or another) consistently assign numbers between 0 and 1 –called probabilities– as measures of the likelihood that be various numerical values will occur. It is basically a rule of assigning probabilities to random events. Roll a die, X=# showing x f(x) 1/6 1/6 1/6 1/6 1/6 1/6

Probability Distribution The values of a probability distribution must be numbers on the interval from 0 to 1. The sum of all the values of a probability distribution must be equal to 1.

Example Inspect 3 parts. Let X be the # of parts with defect. Find the probability distribution of X. First, what are possible values of X? (0, 1,2,3)

When does X take on each value? Outcome X {NNN} 0 {NND, NDN, DNN} 1 {NDD, DND, DDN} 2 {DDD} 3 If P(D)=0. 5, then P(N)=0.5 We have x f(x)=P(X=x) 1/8 3/8 3/8 1/8

Cumulative Distribution Function Cumulative distribution F(x) of a random variable X is Since (for discrete distributions) probabilities are calculated by summing values of f(x), for a discrete distribution

“Defect” Example continued We had f(0)=1/8, f(1)=f(2)=3/8, f(3)=1/8. Therefore F(0)=f(0)=1/8; F(1)=f(0)+f(1)=1/8+3/8=1/2; F(2)=f(0)+f(1)+f(2)=7/8; F(3)=f(0)+f(1)+f(2)+f(3)=1.

Summaries of Discrete Probability Distributions Given a set of numbers, for example, S= {1, 1, 1, 1, 3, 3, 4, 5, 5, 6 } To calculate the average of these 10 numbers, you can use Or you can get it this way

Mean or Expectation The above result is the weighted sum of x values: x Weights 4/10 2/10 1/10 2/10 1/10 f(x) The weights are actually the probability distribution for a random variable X. The weighted sum, 3, is called the mean or mathematical expectation of random variable X.

Definition Let X be a discrete random variable with probability distribution f(x). The mean or expected value of X is The expectation or mean of a random variable X is the long run average of the observations from the random variable X. The mean of X is not necessarily a possible value for X.

Back to “defect” example What is the average number of defective items we expect to see? Xf(x) 01/8 13/8 23/8 31/8

Variance The mean is a measure of the center of a random variable or distribution X: x= f(x) ¼ ½ ¼ Y: y= g(y) ¼ ½ ¼ Both variables have the same center: 0 Which has a larger variability?

Variance Deviation from the center (mean) X  X The average of X  X is zero! Consider the weighted average of (X  X ) 2 E(X  0) 2 =(1)(1/4)+(0)(1/2)+(1)(1/4)=1/2 E(Y  0) 2 =(4)(1/4)+(0)(1/2)+(4)(1/4)=2 Y is more variable!

Definition Let X be a discrete random variable with probability distribution f(x) and mean  The variance of X is The positive square root of the  2 is called standard deviation of X, denoted by .

Back to “defect” example Xf(x) 01/8 13/8 23/8 31/8

Binomial Distribution In many applied problems, we are interested in the probability that an event will occur x times out of n.

For example Inspect 3 items. X=# of defects. D=a defect, N=not a defect, Suppose P(N)=5/6 No defect: (x=0) NNN  (5/6)(5/6)(5/6) One defect: (x=1) NND  (5/6)(5/6)(1/6) NDN  same DNN  same Two defect: (x=2) NDD  (5/6)(1/6)(1/6) DND  same DDN  same Three defect: (x=3) DDD  (1/6)(1/6)(1/6)

Binomial distribution x f(x) 0 (5/6) 3 1 3(1/6)(5/6) 2 2 3(1/6) 2 (5/6) 3 (1/6) 3 [P(D)] # of D How many ways to choose x of 3 places for D. __ __ __ How many ways to choose x of 3 places for D. __ __ __ [1-P(D)] 3- # of D

In general: n independent trials p probability of a success x=# of successes

Roll a die 20 times. X=# of 6’s, n=20, p=1/6 Flip a fair coin 10 times. X=# of heads

More example Pumpkin seeds germinate with probability Plant n=50 seeds X= # of seeds germinating

Mean of Binomial Distribution X=# of defects in 3 items x f(x) 0 (5/6) 3 1 3(1/6)(5/6) 2 2 3(1/6) 2 (5/6) 3 (1/6) 3 Expected long run average of X?

The mean of a binomial distribution Binomial distribution n= # of trials, p=probability of success on each trial X=# of successes

Let’s check this. Use binomial mean formula

More examples Toss a die n=60 times, X=# of 6’s known that p=1/6 μ=μ X =E(X)=np=(60)(1/6)=10 We expect to get 10 6’s.

Variance for Binomial distribution σ 2 =np(1-p) where n is # of trials and p is probability of a success. From the previous example, n=3, p=1/6 Then σ 2 =np(1-p)=3*1/6*(1-1/6)=5/12

5.1.5 Poisson Distribution

Exercise In a certain city, medical expenses are given as the reason for 75% of all personal bankruptcies. Use the formula for the binomial distribution to calculate the probability that medical expenses will be given as the reason for two of the next three personal bankruptcies filed in that city.

To get a driver ’ s license, you must first past a written examination. If you fail in an exam, you can take it the second time until you pass it. Suppose you fail an exam with probability 0.3, and all the tests are independent. 1)What is the probability that you have to take the test twice in order to pass the written exam? 2) What is the probability that you have to take the test more than 2 times in order to pass the written exam?

Exercise The number of monthly breakdowns of the kind of computer used by an office is a random variable having the Poisson distribution with λ=1.6. Find the probabilities that this kind of computer will function for a month – Without a breakdown; – With one breakdown; – With two breakdowns.