Random Variables and Probability Functions

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

2011 Pearson Education, Inc

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

Binomial Random Variables. Binomial Random Variables

MA : Introductory Probability

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

Statistical Methods in Practice STAT/MATH 3379

Random Variable: Definition

Statistics 6 th Edition

The normal distribution is a theoretical model derived mathematically and not empirically.

Probability. An intro for calculus students P= Figure 1: A normal integral

Counting Basics. Venn diagrams

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

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

Central Limit Theorem 11/08/2005

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Consider the following examples: ex: let X = tossing a coin three times and counting the number of heads

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

Part 10: The Binomial Distribution

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

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

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

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

Discrete Probability Distributions and application in Business

5.4 Normal Approximation of the Binomial Distribution

ECON 214 Elements of Statistics for Economists 2016/2017

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Probability Distributions for Discrete RV

E509A: Principle of Biostatistics. GY Zou

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Expected Value of a Random Variable

Chapter 3 Discrete Random Variables and Probability Distributions

Discrete Random Variables and Probability Distributions

CHAPTER 4 DISCRETE PROBABILITY DISTRIBUTIONS

4 Random Variables and Distributions

TOPIC: PROBABILITY DISTRIBUTIONS

Some Discrete Distribution Families

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 10: Continuous RV Families. Prof. Vince Calhoun

MA 1125 Lecture 18 - Normal Approximations to Binomial Distributions. Objectives: Compute probabilities for a binomial as a normal distribution.

MAKING SENSE OF DATA Essentials series

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

STOR Lecture 7. Random Variables - I

4.2 Probability Distributions

IEOR 3106: Introduction to OR: Stochastic Models. Fall 2013, Professor Whitt. Class Lecture Notes: Tuesday, September 10.

30 Wyner Statistics Fall 2013

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

Probability Models.S2 Discrete Random Variables

Random Variables Handout. Xavier Vilà

Chapter 11. Data Descriptions and Probability Distributions. Section 4 Bernoulli Trials and Binomial Distribution

Statistics for Business and Economics

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.

Class 12. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Midterm Exam III Review

Statistics for Managers Using Microsoft Excel 7 th Edition

Chapter 7 1. Random Variables

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

Mathematics of Randomness

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

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

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

Discrete Probability Distribution

A Derivation of the Normal Distribution. Robert S. Wilson PhD.

Favorite Distributions

The topics in this section are related and necessary topics for both course objectives.

Chapter 4 Continuous Random Variables and Probability Distributions

No, because np = 100(0.02) = 2. The value of np must be greater than or equal to 5 to use the normal approximation.

Math 14 Lecture Notes Ch The Normal Approximation to the Binomial Distribution. P (X ) = nc X p X q n X =

The Binomial Distribution

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

Law of Large Numbers, Central Limit Theorem

Stat511 Additional Materials

Discrete Probability Distributions

Chapter 17. Probability Models. Copyright 2010 Pearson Education, Inc.

Lecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial

Lecture 9. Probability Distributions. Outline. Outline

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

2017 Fall QMS102 Tip Sheet 2

The Binomial Distribution

Lecture 9. Probability Distributions

VI. Continuous Probability Distributions

The Binomial distribution

Chapter 7. Sampling Distributions and the Central Limit Theorem

CH 5 Normal Probability Distributions Properties of the Normal Distribution

Binomial Distributions

MATH 264 Problem Homework I

Class 11. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

The Binomial Distribution

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

5.2 Random Variables, Probability Histograms and Probability Distributions

Section Distributions of Random Variables

Asymptotic Notation. Instructor: Laszlo Babai June 14, 2002

Have you ever wondered whether it would be worth it to buy a lottery ticket every week, or pondered on questions such as If I were offered a choice

The Binomial Probability Distribution

Probability Models. Grab a copy of the notes on the table by the door

Discrete Probability Distributions

Chapter 3. Discrete Probability Distributions

Statistics (This summary is for chapters 17, 28, 29 and section G of chapter 19)

Chapter 4. Section 4.1 Objectives. Random Variables. Random Variables. Chapter 4: Probability Distributions

Chapter 7. Sampling Distributions and the Central Limit Theorem

Transcription:

University of Central Arkansas Random Variables and Probability Functions Directory Table of Contents. Begin Article. Stephen R. Addison Copyright c 001 saddison@mailaps.org Last Revision Date: February 17, 001 Version 1.

Table of Contents 1. Basic Definitions. Mean Value and Standard Deviation 3. Variance and Standard Deviation 4. Continuous Distributions 5. The Binomial Distribution 6. Binomial Probability Functions 7. The Normal or Gaussian Distribution 7.1. Stirling Approximation 7.. Probability that x lies in a particular range

Section 1: Basic Definitions 3 1. Basic Definitions Given a random variable x, we develop a probability distribution function and define it mean value, variance, and standard deviation. Let each value of x, x i have a probability of occurrence p i. We write p i = f(x i ) = probability that x = x i. The function f(x) is variously known as the probability function, the frequency function, or the probability distribution function for the random variable x. For now we will limit x and f(x) to a finite number of discrete values. (This restriction isn t necessary, but it simplifies things.) Now we can define a random variable. A variable x is random if it takes on the values x i with probabilities p i = f(x i ). Random variables are called random simply because they take on a variety of values. A random process is one whose outcome isn t known in advance. Random processes are also called stochastic.

Section : Mean Value and Standard Deviation 4. Mean Value and Standard Deviation f(x) provides complete information, we will often need less. Consider N measurements (of length for instance) of x, x i where N is large. p i = f(x i ) N i where N i is the number of times x i was obtained, i.e. p i = N i N. To average, we sum and divide by the number of measurements in the usual way. Thus x =<x>= 1 N i x i = N i i N i N x i = i p i x i x, <x> denote the sample mean, the true mean is denoted by µ.

Section : Mean Value and Standard Deviation 5 For any probability distribution function f(x), the average value of x is x = x i f(x i ), i where x is any random variable. In quantum mechanics such averages are called expectation values. We can develop distribution functions from probability distribution functions. Let F (x i )=p(x x i )= f(x i ), x j x i F (x), the distribution function, is then the curve of the sum of the f(x j ).

Section 3: Variance and Standard Deviation 6 3. Variance and Standard Deviation Both measure the spread of data values around the mean, if s is the variance and σ is the standard deviation, then σ(x) = s(x). If we know the true mean s(x) = (x i µ) f(x i ). i If we only know x, the sample mean, then s(x) = N (x i x) f(x i ). N 1 i This latter definition prevents calculation of the spread in one value, σ and s become closer to their true values as N increases.

Section 4: Continuous Distributions 7 4. Continuous Distributions When we let x take on a continuous set of values, we need to replace sums by integrals. The idea of an integral as the limit of a sum is a familiar (in fact a defining) idea. Let dn(x) be the number of elements that have values of x between x and x + dx, then we can define f(x) by dn(x) = Np(x)dx = Nf(x)dx. There are N total elements so dn(x) = Nf(x)dx = N R in other words f(x)dx =1 R

Section 4: Continuous Distributions 8 R is the range over which x can vary. An alternate statement is to say that when we look at the system, then the chance of it being between x and x + dx is f(x)dx. The average value of x, <x>= xf(x)dx where I ve replaced the range R by ±, assuming f(x) is zero if the probability is zero. Similarly x = x f(x)dx and s(x) = (x µ) = σ (x)

Section 5: The Binomial Distribution 9 We will usually need the mean. 5. The Binomial Distribution Consider coin tossing, what is the probability of getting 3 heads in 5 tosses. The probability of a sequence such as ththt is ( 1 5 ), since the tosses are independent. We know how to count the number of such sequences so let s approach this problem directly. In other words how many ways are there of choosing 3 heads from 5 coins, we don t care about the result for particular coins so there are C(5, 3) sequences. The probability of getting 3 heads in 5 tosses is ( ) 5 1 p(3 heads 5 tosses) = C(5, 3)

Section 5: The Binomial Distribution 10 We can view this as Number of favorable outcomes C(5, 3) = Total number of outcomes 5 We generalize this to find the probability function p = f(x) that gives the probability of x heads in n tosses. C(5, 3) f(x) = n What s the probability of 3 ones in 5 rolls of a die? A =1N = not1 p(a) = 1 6 p(n) = 5 6

Section 5: The Binomial Distribution 11 p(aanna)= 1 1 5 5 1 6 6 6 6 6 The number of sequences with 3 A s and N sisc(5, 3). So the probability of 3 ones and other outcomes is ( ) 3 ( ) 1 5 f(x) =C(5, 3) 6 6 Where we get f(x) by multiplying the probability for a given sequence by the number of such sequences. This is equivalent to our usual approach. A generalization p(x ones in n rolls) is given by ( ) x ( ) n x 1 5 f(x) =C(n, x) 6 6

Section 6: Binomial Probability Functions 1 Convince yourselves that this is equivalent try four ones out of five or something like that. In many problems we ll be interested in repeated independent trials where there are two independent outcomes in each trial. 6. Binomial Probability Functions We ve looked at a variety of problems where something is tried repeatedly and there are two outcomes with probabilities p and q. p = probability of success q =1 p = probability of failure Such repeated independent trials trials with constant probabilities are known as Bernoulli trials. A general formula that gives the

Section 6: Binomial Probability Functions 13 probability of n successes in n trials is f(x) =C(n, x)p x q n x, this formula is called the binomial probability function or the binomial distribution. What s the probability of not more than x successes in n trials, it s the sum of 0, 1,, 3,...,x successes. That is F (x) = f(0) + f(1) + f() + f(3) +...+ f(x) x = C(n, i)p i q n i i=0 In these equations the f(i) represent the terms of (p + q) n, hence the name. F (x) is the binomial distribution function. Plots of f(x) versus x are symmetric if p = q. Calculating the binomial distribution is tedious unless n is small,

Section 6: Binomial Probability Functions 14 we usually use approximations. (If both n and np are large, we get the Gaussian distribution, if p q we get the Poisson distribution when p is small.) Consider n =8,p= 1 f(x) =C(n, x)px q n x ( ) 8 1 f(0) = (8, 0) =0.004 ( ) 8 1 f(1) = C(8, 1) =0.03 ( ) 8 1 f() = (8, ) =0.11 ( ) 8 1 f(3) = (8, 3) =0.

Section 6: Binomial Probability Functions 15 Binomial Distribution 0.3 0.5 0. f(x) 0.15 0.1 0.05 0 0 1 3 4 5 6 7 8 9 x

Section 6: Binomial Probability Functions 16 ( ) 8 1 f(4) = (8, 4) =0.7 ( ) 8 1 f(5) = (8, 5) =0. ( ) 8 1 f(6) = (8, 6) =0.11 ( ) 8 1 f(7) = (8, 7) =0.03 ( ) 8 1 f(8) = (8, 8) =0.004

Section 7: The Normal or Gaussian Distribution 17 7. The Normal or Gaussian Distribution For large n, np and f(x) =C(n, x)p x q n x or lim n f(x) f(x) (πnpq) 1 e (x np) /npq =1 1 e (x np) npq πnpq (n ) We arrive at this result by using the Stirling approximation and some other approximations. 7.1. Stirling Approximation For large N, N! (πn) 1/ N N e N (N )

Section 7: The Normal or Gaussian Distribution 18 The logarithm of this result is of more interest. ln N! = ln(πn) 1/ N N e N = N ln N N ln e + 1 ln(πn) = N ln N N + 1 ln N + 1 ln π N ln N N 7.. Probability that x lies in a particular range The probability that x lies between x 1 and x is p(x 1 x x ) 1 πnpq x x 1 e (x np) npq dx This is the area under the curve between x 1 and x.