Chapter 4 Continuous Random Variables and Probability Distributions

Similar documents
Chapter Learning Objectives. Probability Distributions and Probability Density Functions. Continuous Random Variables

Continuous random variables

There are two basic kinds of random variables continuous and discrete.

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions.

Chapter 4 Continuous Random Variables and Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions

4Continuous Random. Variables and Probability Distributions CHAPTER OUTLINE LEARNING OBJECTIVES

STAT 430/510: Lecture 10

Chapter 5: Generating Random Numbers from Distributions

Statistics and Econometrics I

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Review 1: STAT Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics. August 25, 2015

Math 105 Course Outline

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p).

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

Topic 4: Continuous random variables

CS 160: Lecture 16. Quantitative Studies. Outline. Random variables and trials. Random variables. Qualitative vs. Quantitative Studies

Statistics 100A Homework 5 Solutions

Chapter 4: Continuous Random Variable

Topic 4: Continuous random variables

Chapter 4: Continuous Probability Distributions

Continuous Random Variables

Ching-Han Hsu, BMES, National Tsing Hua University c 2015 by Ching-Han Hsu, Ph.D., BMIR Lab. = a + b 2. b a. x a b a = 12

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Probability Distributions for Continuous Variables. Probability Distributions for Continuous Variables

CHAPTER 3 ANALYSIS OF RELIABILITY AND PROBABILITY MEASURES

QUESTION 6 (16 Marks) A continuous random variable X has a Weibull distribution if it has a probability distribution function given by

5.2 Continuous random variables

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

Properties of Continuous Probability Distributions The graph of a continuous probability distribution is a curve. Probability is represented by area

STAT509: Continuous Random Variable

Expectation, Variance and Standard Deviation for Continuous Random Variables Class 6, Jeremy Orloff and Jonathan Bloom

BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution

Math 116 Second Midterm March 19, 2012

2x, 0 < x < 1. f(x) = 0, otherwise. f(x)dx = 0.3. axdx = a/2, then we have a = 2 and. 2xdx = xdx = 0.55.

Example A. Define X = number of heads in ten tosses of a coin. What are the values that X may assume?

Let X be a continuous random variable, < X < f(x) is the so called probability density function (pdf) if

Chapter 3. Julian Chan. June 29, 2012

Slides 8: Statistical Models in Simulation

Northwestern University Department of Electrical Engineering and Computer Science

Probability Distributions

p. 6-1 Continuous Random Variables p. 6-2

Topic 3 - Discrete distributions

Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008

HW Solution 12 Due: Dec 2, 9:19 AM

HW 3. (Posted on March 03, 2017) ax, 0 < x < 1 0, otherwise. f(x)dx = 1).

STAT 3610: Review of Probability Distributions

Integration. Antiderivatives and Indefinite Integration 3/9/2015. Copyright Cengage Learning. All rights reserved.

Chapter 7: Theoretical Probability Distributions Variable - Measured/Categorized characteristic

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

MATH Solutions to Probability Exercises

Continuous Distributions

Objectives. Use the number e to write and graph exponential functions representing realworld

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

CIVL Continuous Distributions

These notes will supplement the textbook not replace what is there. defined for α >0

ECON Fundamentals of Probability

2.6 Logarithmic Functions. Inverse Functions. Question: What is the relationship between f(x) = x 2 and g(x) = x?

STA 111: Probability & Statistical Inference

Continuous r.v. s: cdf s, Expected Values

0, otherwise, (a) Find the value of c that makes this a valid pdf. (b) Find P (Y < 5) and P (Y 5). (c) Find the mean death time.

Experimental Design and Statistics - AGA47A

f (x) = x 2 Chapter 2 Polynomial Functions Section 4 Polynomial and Rational Functions Shapes of Polynomials Graphs of Polynomials the form n

Beautiful homework # 4 ENGR 323 CESSNA Page 1/5

1 Probability and Random Variables

Random Variables and Their Distributions

Recall Discrete Distribution. 5.2 Continuous Random Variable. A probability histogram. Density Function 3/27/2012

Continuous Probability Distributions. Uniform Distribution

Chapter 4. Continuous Random Variables

nt and A = Pe rt to solve. 3) Find the accumulated value of an investment of $10,000 at 4% compounded semiannually for 5 years.

Joint Probability Distributions and Random Samples (Devore Chapter Five)

Chapter 4: Continuous Random Variables and Probability Distributions

Homework 10 (due December 2, 2009)

STAT 430/510: Lecture 15

PhysicsAndMathsTutor.com

Then the distribution of X is called the standard normal distribution, denoted by N(0, 1).

2DI90 Probability & Statistics. 2DI90 Chapter 4 of MR

APPM/MATH 4/5520 Solutions to Problem Set Two. = 2 y = y 2. e 1 2 x2 1 = 1. (g 1

Probability Midterm Exam 2:15-3:30 pm Thursday, 21 October 1999

Gamma and Normal Distribuions

Review for Chapter 2 Test

STAT 231 Homework 5 Solutions

Chapter 6 Section Antiderivatives and Indefinite Integrals

Continuous random variables and probability distributions

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

3 Continuous Random Variables

Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( ) Chapter 4 4.

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

Practice Questions for Final

Integral. For example, consider the curve y = f(x) between x = 0 and x = 1, with f(x) = x. We ask:

Jointly Distributed Random Variables

Chapter 4. Continuous Random Variables 4.1 PDF

Continuous Probability Distributions. Uniform Distribution

7 Continuous Variables

1. If X has density. cx 3 e x ), 0 x < 0, otherwise. Find the value of c that makes f a probability density. f(x) =

Continuous Random Variables and Probability Distributions

STAT 515 MIDTERM 2 EXAM November 14, 2018

Continuous Random Variables

Transcription:

Chapter 4 Continuous Random Variables and Probability Distributions Part 1: Continuous Random Variables Section 4.1 Continuous Random Variables Section 4.2 Probability Distributions & Probability Density Functions Section 4.3 Cumulative Distribution Functions Section 4.4 Mean and Variance 1 / 28

Continuous Random Variables Moving on to continuous random variables... For a continuous random variable X, the range of X includes all values in an interval of real numbers. This could be an infinite interval such as (, ). For example, let X be a random variable such that X can take on any value in the interval [0, 1]. Then, X is a continuous random variable. 2 / 28

Continuous Random Variables Since there is an infinite number of possible values for X, we describe the probability distribution with a smooth curve. Example (Continuous random variable) Suppose X is a random variable such that X [0, 1], and there is a high probability that X is near 0.15 and a small probability that X is 0 or 1. Specifically, the distribution of the random variable is shown as: f(x) 0 1 2 3 4 0.0 0.2 0.4 0.6 0.8 1.0 x This curve is called a probability density function 3 / 28

Continuous Random Variables We can contrast this probability distribution with that of a discrete random variable which has mass at only distinct x-values.. The area under a probability density function is 1. This compares to the sum of the masses for a discrete random variable being equal to 1. The probability density function is denoted as f(x), same notation is the probability mass function, as f(x) describes the distribution of a random variable. 4 / 28

Continuous Random Variables Example (Continuous random variable, cont.) How likely is it that X falls between 0.18 and 0.22? f(x) 0.0 0.2 0.4 0.6 0.8 1.0 x We can answer this question by considering the area under the curve between 0.18 and 0.22. This area is approximately 0.1181 for the given f(x) above. 5 / 28

Continuous Random Variables Example (Continuous random variable, cont.) If f(x) is a known function, such as, f(x) = C x α 1 (1 x) β 1 f(x) 0.0 0.2 0.4 0.6 0.8 1.0 x which is the case for the above where C, α, β are known constants, then we could answer this question through integration: P (0.18 x 0.22) = 0.22 0.18 f(x)dx 6 / 28

Probability Density Function Definition (Probability Density Function) For a continuous random variable X, a probability density function is a function such that 1 f(x) 0 (above the horizontal axis) 2 f(x)dx = 1 (area under curve is equal to 1) 3 P (a x b) = b a f(x)dx = area under f(x) from a to b for any a and b A probability density function is zero for x values that cannot occur, and it is assumed to be zero wherever it is not specifically defined. We use f(x) to calculate a probability through integration. 7 / 28

Probability Density Function In the continuous case, every distinct x-value has zero width (there s infinitely many of them), and the probability for a single specific x-value is zero... P (X = x) = 0. Instead, we find probabilities for intervals of the random variable, not singular specific values, like P (0.18 X 0.20). For example, consider weight. Without the rounding, we see weight as a continuous variable, and there are an infinite number of possible weights in (0, ). On this perception, we could show the distribution of weights using a probability density function. 8 / 28

Probability Density Function With rounding to the nearest pound, when we see a weight of 45 on the scale, there are an infinite number of possible weights that end up with this scale weight... anything between 44.5 and 45.5 pounds. The probability of observing 45 on the scale can be found by integrating the probability density function f(x) of the continuous variable weight X over the range 44.5 x 45.5 Because no singular x-value has positive mass, the difference between and < doesn t matter for the continuous variable... If X is a continuous random variable, for x 1 and x 2, P (x 1 X x 2 ) = P (x 1 < X x 2 ) = P (x 1 X < x 2 ) = P (x 1 < X < x 2 ) 9 / 28

Some Probability Density Functions There are many common probability density functions with known f(x)... Normal Density Uniform Density Exponential Density pdf f(x) 1.0 0.8 f(x) f(x) 0.6 0.4 0.2 0.0 0 1 2 3 4 5 6 x x x Gamma Density Log-normal Density Weibull Density f(x) f(x) f(x) 10 / 28

Probability Density Function But they can also take on unusual shapes too... Example (Proportion of people returning a survey) The proportion of people who respond to a certain mail-order solicitation is a continuous random { variable X that has density function 2(x+2) f(x) = 5 0 < x < 1 0 otherwise 1 Plot f(x) 2 Show that P (0 < x < 1) = 1 3 Find the probability that more than 1/4 but fewer than 1/2 of the people contacted will respond to this type of solicitation. 11 / 28

Probability Density Function Example (Proportion of people returning a survey, cont.) 1) Plot f(x) 2) Show that P (0 < x < 1) = 1 f(x) 0.0 0.5 1.0 1.5 0.0 0.2 0.4 0.6 0.8 1.0 x 12 / 28

Probability Density Function Example (Proportion of people returning a survey, cont.) 3) Find the probability that more than 1/4 but fewer than 1/2 of the people contacted will respond to this type of solicitation. 13 / 28

Probability Density Function Example (Time to failure) The probability density function of the time to failure of an electronic component in a copier (in { hours) is 1 f(x) = 3000 e x/3000 x > 0 0 otherwise (a) What does f(x) look like? (b) Determine the probability that a component fails in the interval from 1000 to 2000 hours. (c) At what time do we expect 10% of the components to have failed 14 / 28

Probability Density Function Example (Time to failure) { 1 f(x) = 3000 e x/3000 x > 0 0 otherwise (a) (b) Determine the probability that a component fails in the interval from 1000 to 2000 hours. 15 / 28

Probability Density Function Example (Time to failure, cont.) { 1 f(x) = 3000 e x/3000 x > 0 0 otherwise (c) At what time do we expect 10% of the components to have failed 16 / 28

Cumulative Distribution Functions As we did with discrete random variables, we often want to compute the cumulative probabilities, or P (X x). Definition (Cumulative Distribution Function) The cumulative distribution function (CDF) of a continuous random variable X is F (x) = P (X x) = x To find F (x), find the anti-derivative of f(x) f(u)du for < x <. And vice versa... If you re given F (x), you can find f(x) through df (x) differentiation as f(x) = dx. 17 / 28

Cumulative Distribution Functions Example (Uniform prob. density function) Let the continuous random variable X denote the current measured in a thin copper wire in milliamperes. Assume that the range of X is [0, 20 ma], and assume that the probability density function of X is f(x) = 0.05 for x [0, 20], and f(x) = 0 o.w. (a) Use the cumulative distribution function to determine what proportion of the current measurements is less than 10 ma, i.e. find P (X 10) = F (10). ANS: First, find F (x) = P (X x). For this problem, the CDF consists of three expressions related to the three pieces of the domain as (, 0), [0, 20], (20, ). This segmentation occurs because f(x) = 0 when x < 0 and x > 20. 18 / 28

Cumulative Distribution Functions Example (Uniform prob. density function, cont.) We know F (x)=0 for x<0 (no probability accumulated left of x = 0) and F (x)=1 for x 20 (all probability accumulated by x = 20). Now we just need to define F (x) in [0, 20]... [0, 20] : F (x) = P (X x) = x 0 f(u)du = x 0 0.05du Thus, = 0.05u x 0 = 0.05x 0 x < 0 F (x) = 0.05x 0 x 20 1 x > 20 19 / 28

Cumulative Distribution Functions Example (Uniform prob. density function, cont.) Now use the function F (x) to calculate P (X 10) = F (10) F (10) = 0.05 10 = 0.50 Or, 50% of the probability is accumulated at the midway point of x = 10 for this uniform distribution on the interval [0, 20]. (b) Graph the cumulative distribution function (CDF) for this uniform probability density. 20 / 28

Cumulative Distribution Functions Example (Uniform prob. density function, cont.) A cumulative distribution function (CDF) describes how probability is accumulated as x goes from left to right or from to +. In the uniform distribution case above, we accumulate probability at a constant rate (thus, the straight line). 21 / 28

Cumulative Distribution Functions Example (Recall the Time to Failure example...) The probability density function of the time to failure of an electronic component in a copier (in hours) is f(x) = { 1 3000 e x/3000 x > 0 0 otherwise PDF or f(x) Meant to represent 50% of the area under the curve f(x) 0 2000 4000 6000 8000 10000 x Determine the cumulative distribution function (CDF) from f(x) and use it to calculate when 50% of the components have failed. 22 / 28

Cumulative Distribution Functions Example (Recall the Time to Failure example...) ANS: Determine the CDF or F (x) = P (X x) (, 0) : F (X) = 0 [ 0, ) : F (X) = Find x such that F (x) = P (X x) = 0.50. CDF or F(x) F(x) 0.0 0.2 0.4 0.6 0.8 1.0 0 2000 4000 6000 8000 x 23 / 28

Continuous Random Variables The mean and variance of continuous random variables can be computed similar to those for discrete random variables, but for continuous random variables, we will be integrating over the domain of X rather than summing over the possible values of X. Definition (Mean and Variance of Continuous Random Variable) Suppose X is a continuous random variable with probability density function f(x). The mean or expected value of X, denoted as µ or E(X), is µ = E(X) = xf(x)dx 24 / 28

Continuous Random Variables Definition (Mean and Variance of a Continuous Random Variable) The variance of X, denoted as V (X) or σ 2, is σ 2 = V (X) =E(X µ) 2 =E(X 2 ) (EX) 2 = = (x µ) 2 f(x)dx x 2 f(x)dx µ 2 The standard deviation of X is σ = σ 2 25 / 28

Continuous Random Variables Example (Mean and Variance of a Continuous Random Variable) For the uniform probability density function described earlier, f(x) = 0.05 for 0 x 20, compute E(X) and V (X). ANS: 26 / 28

Continuous Random Variables Definition (Expected Value of a Function) If X is a continuous variable with probability density function f(x), E[h(x)] = h(x)f(x)dx Example (Weight of delivered packages (p. 115 problem 4-36)) The probability density function of the weight of packages delivered by a post office is f(x) = 70/(69x 2 ) for 1 < x < 70 pounds. If the cost is $2.50 per pound, what is the mean shipping cost of a package? 27 / 28

Continuous Random Variables Example (Weight of delivered packages (p. 115 problem 4-36), cont.) f(x) = 70/(69x 2 ) for 1 < x < 70 pounds. If the cost is $2.50 per pound, what is the mean shipping cost of a package? ANS: 28 / 28