11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 1 UNIFORM AND EXPONENTIAL RANDOM VARIABLES Sections 4.5-4.7.

Slides:



Advertisements
Similar presentations
Estimation of Means and Proportions
Advertisements

Exponential Distribution
CS433: Modeling and Simulation
Exponential Functions Logarithmic Functions
Probability Distributions CSLU 2850.Lo1 Spring 2008 Cameron McInally Fordham University May contain work from the Creative Commons.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 8 By Herbert I. Gross and Richard A. Medeiros next.
Continuous Random Variables. L. Wang, Department of Statistics University of South Carolina; Slide 2 Continuous Random Variable A continuous random variable.
Continuous Random Variables. For discrete random variables, we required that Y was limited to a finite (or countably infinite) set of values. Now, for.
Probability Distributions
Test 2 Stock Option Pricing
Section 6.1 Let X 1, X 2, …, X n be a random sample from a distribution described by p.m.f./p.d.f. f(x ;  ) where the value of  is unknown; then  is.
Prof. Bart Selman Module Probability --- Part d)
Probability Distributions
8 TECHNIQUES OF INTEGRATION. In defining a definite integral, we dealt with a function f defined on a finite interval [a, b] and we assumed that f does.
INTEGRALS 5. INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area.  We also saw that it arises when we try to find.
16 MULTIPLE INTEGRALS.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
Operations Management
Lecture 7. Markov Model with Matrixes
Probability Distributions Continuous Random Variables.
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.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Basic Statistics Standard Scores and the Normal Distribution.
Chapter 7: The Normal Probability Distribution
All of Statistics Chapter 5: Convergence of Random Variables Nick Schafer.
Chapter 6: Probability Distributions
1 As we have seen in section 4 conditional probability density functions are useful to update the information about an event based on the knowledge about.
Exponential Distribution
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
The Gaussian (Normal) Distribution: More Details & Some Applications.
Extending the Definition of Exponents © Math As A Second Language All Rights Reserved next #10 Taking the Fear out of Math 2 -8.
Continuous Distributions The Uniform distribution from a to b.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Stochastic Models Lecture 2 Poisson Processes
Random Sampling Approximations of E(X), p.m.f, and p.d.f.
Thursday August 29, 2013 The Z Transformation. Today: Z-Scores First--Upper and lower real limits: Boundaries of intervals for scores that are represented.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
Continuous Probability Distributions Statistics for Management and Economics Chapter 8.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
1 8. One Function of Two Random Variables Given two random variables X and Y and a function g(x,y), we form a new random variable Z as Given the joint.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Chapter 8 Continuous Probability Distributions Sir Naseer Shahzada.
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.
Chapter 5. Continuous Random Variables. Uniform Random Variable X is a uniform random variable on the interval (α, β) if its probability function is given.
Sampling and estimation Petter Mostad
 In this packet we will look at:  The meaning of acceleration  How acceleration is related to velocity and time  2 distinct types acceleration  A.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
1 6. Mean, Variance, Moments and Characteristic Functions For a r.v X, its p.d.f represents complete information about it, and for any Borel set B on the.
2.Find the turning point of the function given in question 1.
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
 Recall your experience when you take an elevator.  Think about usually how long it takes for the elevator to arrive.  Most likely, the experience.
One Function of Two Random Variables
The Exponential and Gamma Distributions
Section 7.3: Probability Distributions for Continuous Random Variables
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
CONTINUOUS RANDOM VARIABLES
Virtual University of Pakistan
8. One Function of Two Random Variables
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Derived Distributions
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Derived Distributions
8. One Function of Two Random Variables
Further Topics on Random Variables: Derived Distributions
Continuous Random Variables: Basics
Presentation transcript:

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 1 UNIFORM AND EXPONENTIAL RANDOM VARIABLES Sections

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 2 Uniform Random Variables: pdf We want to define a random variable X that is “equally likely” to take on any value in some finite interval (a,b). Formally this is nonsensical since the probability of a continuous random variable assuming a particular value is always 0. A better way of formalizing our intuition is that the probability of X falling in a subinterval of (a,b) should depend only on the length of the subinterval, not on its location within (a,b).

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 3 Uniform Random Variables: pdf The random variable X that satisfies this condition is the uniform random variable. We write X~uniform(a,b). It has the probability density function

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 4 Uniform Random Variables: pdf The graph of the pdf satisfies our intuition about “equal likelihood” of all intervals of a given length within (a,b). It also clearly has total area 1 under the pdf curve. ab 1/(b-a) Area = 1

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 5 Uniform Random Variables: cdf The cumulative distribution function F given below is easy to compute either by integration of the pdf or by finding the area of rectangles. Note that it has all the usual properties of a cdf: 0 to the left, 1 to the right, increasing and continuous inbetween.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 6 Uniform Random Variables: cdf Here we see F and its properties graphically. ab 1

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 7 Uniform Random Variables: cdf If we want to find the probability P(c<X<d) where a<c<d<b, then we can integrate formally, but it is easier to note that the probability is simply the ratio of the length of (c,d) to the length of (a,b). ab 1/(b-a) Area = (d-c)/(a-b) cd

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 8 Uniform Random Variables: Expectation Intuitively we anticipate E(X)=(a+b)/2, the midpoint of the interval. This turns out to be correct. –If X~uniform(a,b) we calculate

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 9 Uniform Random Variables: Variance Let X~uniform(a,b). We can find the variance of X using the shortcut formula. We proceed as follows.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Variance Finally,

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Application Uniform random variables are the correct model for choosing a number “at random” from an interval. They are also natural choices for experiments in which some event is “equally likely” to happen at any time or place within some interval.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Example Examples of probabilities involving uniform random variables are generally trivial. For instance, suppose you are trying to find a short in a 3m length of wire. Supposing you have no reason to suspect one part of the wire over another, what is the probability you find the short in the last half-meter of the wire? Answer: 1/6. You can find this by integration or by the cdf, just as you can hunt squirrels with a bazooka: Doing it once to illustrate the concept may be justifiable, but your motives become suspect if you do it more often.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Warnings There is no uniform distribution on an infinite interval. In particular there is no uniform distribution on the real line. Consequently there is no way to pick a real number (“any real number”) at random, making all choices “equally likely.” Functions of uniform random variables may not be uniform. For instance, if X~uniform(0,1), and Y is the square of X, then Y is a non-uniform random variable. Let us find its cdf and thereby its pdf.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Warnings For 0<y<1, we have

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Warnings Now we can find the pdf of Y by Whatever this may be, it is not uniform.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Warnings Further, let us use LOTUS to find E(Y). If Y were uniform on (0,1) we should get an expected value of ½. But in fact we get

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Uniform Random Variables: Warnings In practice this means that we must beware of assignments like “Choose a random square no larger than 1 inch per side.” If we choose the side length randomly, then by the above calculations we see the mean area of such a square is 1/3 square inches. If, however, we choose the area randomly (still between 0 and 1, of course), then the mean area is ½ square inches. These are two different distributions and our assignment is ambiguous.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Pdf Let be a positive real number. We write X~exponential( ) and say that X is an exponential random variable with parameter if the pdf of X is

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Pdf A look at the graph of the pdf is informative. Here is a graph produced by Maple for =0.5. Note that it has the same shape as every exponential graph with negative exponent (exponential decay). The tail shrinks to 0 quickly enough to make the area under the curve equal 1. Later we will see that the expected value of an exponential random variable is 1/ (in this case 2). That is the balance point of the lamina with shape defined by the pdf. (graph on next slide)

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Pdf

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Pdf A simple integration shows that the area under f is 1:

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Cdf Essentially the same computation as above shows that. Here is the graph of the cdf for X~exponential(0.5).

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables: Cdf As the coming examples will show, this formula greatly facilitates finding exponential probabilities.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Expectation Finding the expected value of X~exponential( ) is not hard as long as we remember how to integrate by parts. Recall that you can derive the integration by parts formula by differentiating a product of functions by the product rule, integrating both sides of the equation, and then rearranging algebraically. Thus integration by parts is the product rule used backwards and sideways.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Expectation

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Expectation So, if X~exponential( ), then

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Variance By a similar computation.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Applications Exponential distributions are sometimes used to model waiting times or lifetimes. That is, they model the time until some event happens or something quits working. Of course mathematics cannot tell us that exponentials are right to describe such situation. That conclusion depends on finding data from such real-world situations and fitting it to an exponential distribution..

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Applications Suppose the wait time X for service at the post office has an exponential distribution with mean 3 minutes. If you enter the post office immediately behind another customer, what is the probability you wait over 5 minutes? Since E(X)=1/ =3 minutes, then =1/3, so X~exponential(1/3). We want.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Applications Under the same conditions, what is the probability of waiting between 2 and 4 minutes? Here we calculate.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:Applications The trick in the previous example of calculating is quite common. It is the reason the cdf is so useful in computing probabilities of continuous random variables..

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:The Memoryless Property The exponential random variable has an astonishing property. If X~exponential( ) represents a waiting time, then the probability of waiting a given length of time is not affected by how long you have waited already. That is,. That is, if you have already waited a minutes, the probability you wait b more minutes is the same as your initial probability of waiting b minutes. This is known as the memoryless property..

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:The Memoryless Property Suppose you enter the post office and have to choose one of two lines, each of which has exactly one person ahead of you. The person in the first line got there just ahead of you. The person in the second line has already been there 10 minutes. Which line should you get in so as to be served fastest? If the waiting times are exponential, it does not matter. Similarly, if you are waiting for someone to get off a pay phone and you want to calculate the probability you have to wait more than 5 minutes, it is irrelevant to your calculations to know how long the person has already been on the phone.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:The Memoryless Property In this respect exponential random variables behave like geometric ones. If you are finding the probability that, starting now, you flip a coin four times before getting heads, it is irrelevant to know how many times the coin flipped tails beforehand.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:The Poisson Connection Suppose that X is a Poisson random variable measuring the number of events of some sort that happen per unit time, and suppose the mean is, so that X~Poisson( ). Now let Y be the time you wait until the next Poisson event. Let us find the cdf of Y. Clearly F(y)=0 if y is negative.

11/5/2003Probability and Statistics for Teachers, Math 507, Lecture Exponential Random Variables:The Poisson Connection Now suppose y is nonnegative. Then which is the probability of having 0 Poisson events over the interval [0,y]. The number of events over [0,y] is Poisson( y), so the probability of 0 events over [0,y] is Thus, which is precisely the cdf for an exponential random variable with parameter.