Mathematics of Randomness

Similar documents
Statistics 6 th Edition

Random Variable: Definition

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

MA : Introductory Probability

MATH 264 Problem Homework I

Statistics for Managers Using Microsoft Excel 7 th Edition

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Chapter 3 - Lecture 5 The Binomial Probability Distribution

The Binomial Probability Distribution

2011 Pearson Education, Inc

Statistical Methods in Practice STAT/MATH 3379

ECON 214 Elements of Statistics for Economists 2016/2017

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

Chapter 7: Random Variables

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

TOPIC: PROBABILITY DISTRIBUTIONS

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

Central Limit Theorem 11/08/2005

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Elementary Statistics Lecture 5

Discrete Random Variables and Probability Distributions

Binomial Random Variables. Binomial Random Variables

Review of the Topics for Midterm I

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Chapter 3 Discrete Random Variables and Probability Distributions

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

Random Variables and Probability Functions

Binomal and Geometric Distributions

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

4 Random Variables and Distributions

Discrete Random Variables

Binomial Random Variables

Discrete Probability Distributions

Chapter 14 - Random Variables

Simple Random Sample

Statistics for Business and Economics

Binomial and Geometric Distributions

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

***SECTION 8.1*** The Binomial Distributions

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

Some Discrete Distribution Families

Discrete Probability Distributions

Learning Objec0ves. Statistics for Business and Economics. Discrete Probability Distribu0ons

STAT Chapter 7: Central Limit Theorem

AP Statistics Ch 8 The Binomial and Geometric Distributions

Section 8.4 The Binomial Distribution

STAT 241/251 - Chapter 7: Central Limit Theorem

M3S1 - Binomial Distribution

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

LESSON 9: BINOMIAL DISTRIBUTION

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Probability Distributions. Chapter 6

Chapter 7. Sampling Distributions and the Central Limit Theorem

Bayes s Rule Example. defective. An MP3 player is selected at random and found to be defective. What is the probability it came from Factory I?

Engineering Statistics ECIV 2305

Probability is the tool used for anticipating what the distribution of data should look like under a given model.

Discrete Random Variables

STAT Chapter 4/6: Random Variables and Probability Distributions

AP Statistics Test 5

30 Wyner Statistics Fall 2013

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

Chapter 7 1. Random Variables

Chapter 5. Statistical inference for Parametric Models

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

5.2 Random Variables, Probability Histograms and Probability Distributions

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

MAKING SENSE OF DATA Essentials series

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

4.2 Probability Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

Random Variables Handout. Xavier Vilà

CHAPTER 6 Random Variables

Probability and Statistics

Chapter Learning Objectives. Discrete Random Variables. Chapter 3: Discrete Random Variables and Probability Distributions.

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

MANAGEMENT PRINCIPLES AND STATISTICS (252 BE)

Chapter 7. Sampling Distributions and the Central Limit Theorem

15.063: Communicating with Data Summer Recitation 3 Probability II

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

Discrete Probability Distributions

Central Limit Theorem (cont d) 7/28/2006

8.1 Binomial Distributions

5. In fact, any function of a random variable is also a random variable

Chapter 5. Discrete Probability Distributions. McGraw-Hill, Bluman, 7 th ed, Chapter 5 1

STT315 Chapter 4 Random Variables & Probability Distributions AM KM

Introduction to Business Statistics QM 120 Chapter 6

4.2 Bernoulli Trials and Binomial Distributions

PROBABILITY DISTRIBUTIONS

Section Distributions of Random Variables

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Chapter 5: Statistical Inference (in General)

Bernoulli and Binomial Distributions

Discrete Probability Distribution

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series

Transcription:

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 gprobabilities to random events. Roll a die, X=# showing x 1 2 3 4 5 6 f(x) 1/6 1/6 1/6 1/6 1/6 1/6

Probability Distribution The values of a probability bili distribution ib i 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 0 1 2 3 f(x)=p(x=x) 1/8 3/8 3/8 1/8

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

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

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 1 + 1 + 1 + 1 + 3 + + 3 10 + 4 + 5 + 5 + 6 = 30 10 = 3 Or you can get it this way (1)(4) + (3)(2) + (4)(1) + (5)(2) + (6)(1) 10 4 2 1 2 = (1)( ) + (3)( ) + (4)( ) + (5)( 10 10 10 10 = 3. ) + 1 (6)( 10 )

Mean or Expectation The above result is the weighted sum of x values: x 1 3 4 5 6 Weights 4/10 2/10 1/10 2/10 1/10 f(x) 0.4 0.2 0.1 0.2 0.1 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 µ = E(X) = x xf(x) 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? X f(x) 0 1/8 1 3/8 2 3/8 3 1/8 1 3 3 1 3 µ = EX ( ) = xf ( x ) = 0 + 1 + 2 + 3 = 8 8 8 8 2

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

Variance Deviation i 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 σ 2 = E[(X µ) 2 ] = (x µ) x 2 f(x) The positive square root of the σ 2 is called standard deviation of X, denoted by σ.

Back to defect example X f(x) 0 1/8 1 3/8 2 3/8 3 1/8 2 2 2 σ = Var ( X ) = E ( x µ ) = ( x µ ) f ( x ) 2 1 2 3 2 3 2 1 = (0 1.5) + (1 1.5) + (2 1.5) + (3 1.5) 8 8 8 8

2 2 1 2 3 2 3 2 1 EX ( ) = 0 + 1 + 2 + 3 = 3 8 8 8 8 2 2 2 2 σ = Var ( X ) = E ( X ) µ = 3 1.5 = 0.75 σ 2 = = σ 0.75

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 How many ways to 1 3(1/6)(5/6) 2 2 3(1/6) 2 (5/6) 3 (1/6) 3 f ( x) = 3 1 5 x 6 6 choose x of 3 places for D x 3 x [P(D)] # of D [1 P(D)] 3 # of D

In general: n independent trials p probability of a success x=# of successes n ways to choose x places for s, x n x f( x) = p (1 p) x n x

Roll a die 20 times. X=# of 6 s, n=20, p=1/6 f ( x) x 20 1 5 = x 6 6 20 x 20 1 5 p ( x = 4) = 4 6 6 4 16 Flip a fair coin 10 times. X=# of heads f x 10 x 10 10 1 1 10 1 ( x) = = x 2 2 x 2

More example Pumpkin seeds germinate with probability 0.93. Plant n=50 seeds X= # of seeds germinating f 50 x 50 x ( x ) = ( 0.93 ) ( 0. 07 ) x 50 P ( X = 48 ) = 48 ( 0.93 ) 48 ( 0. 07 ) 2

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 bili of success on each trial X=# of successes n ( ) x n x E x = µ = x p (1 p ) = np x

Let s check this. 3 x 3 1 5 EX ( ) = µ X = xf( x) = x x= 0 x 6 6 3 x 3 2 2 3 5 1 5 1 5 1 = 0* + 1*3 + 2*3 + 3* = 1/2 6 6 6 6 6 6 Use binomial mean formula n x n x Ex ( ) = µ = x p (1 p ) = np= 3*1/6 = 1/2 x

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 6s. 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 5 Poisson Distribution