Continuous Random Variables: Basics

Slides:



Advertisements
Similar presentations
NORMAL OR GAUSSIAN DISTRIBUTION Chapter 5. General Normal Distribution Two parameter distribution with a pdf given by:
Advertisements

Random Variables ECE460 Spring, 2012.
Probability Densities
Chapter 6 Continuous Random Variables and Probability Distributions
Probability Distributions
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
CHAPTER 6 Statistical Analysis of Experimental Data
Continuous Random Variables and Probability Distributions
Review of Probability and Random Processes
Lecture II-2: Probability Review
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
NIPRL Chapter 2. Random Variables 2.1 Discrete Random Variables 2.2 Continuous Random Variables 2.3 The Expectation of a Random Variable 2.4 The Variance.
Continuous Probability Distribution  A continuous random variables (RV) has infinitely many possible outcomes  Probability is conveyed for a range of.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Tch-prob1 Chap 3. Random Variables The outcome of a random experiment need not be a number. However, we are usually interested in some measurement or numeric.
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Chap. 4 Continuous Distributions
CHAPTER 4 Multiple Random Variable
QBM117 Business Statistics Probability and Probability Distributions Continuous Probability Distributions 1.
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}.
Chapter 5.6 From DeGroot & Schervish. Uniform Distribution.
One Random Variable Random Process.
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.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
Topic 5: Continuous Random Variables and Probability Distributions CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text,
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.
Continuous Random Variables and Probability Distributions
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 8 – Continuous Random Variables: PDF and CDFs Farinaz Koushanfar ECE Dept., Rice University.
1 Review of Probability and Random Processes. 2 Importance of Random Processes Random variables and processes talk about quantities and signals which.
Random Variables By: 1.
R. Kass/W04 P416 Lec 3 1 Lecture 3 The Gaussian Probability Distribution Function Plot of Gaussian pdf x p(x)p(x) Introduction l The Gaussian probability.
Chapter 3 Applied Statistics and Probability for Engineers
MECH 373 Instrumentation and Measurements
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
The Exponential and Gamma Distributions
Cumulative distribution functions and expected values
Instructor: Shengyu Zhang
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
STATISTICS Random Variables and Distribution Functions
Lecture 13 Sections 5.4 – 5.6 Objectives:
3.1 Expectation Expectation Example
The normal distribution
Tutorial 9: Further Topics on Random Variables 2
Continuous distributions
8. One Function of Two Random Variables
Chapter 2. Random Variables
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: 1
Further Topics on Random Variables: Derived Distributions
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Covariance and Correlation
Sets and Probabilistic Models
Discrete Random Variables: Joint PMFs, Conditioning and Independence
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Derived Distributions
Experiments, Outcomes, Events and Random Variables: A Revisit
Introduction to Probability: Solutions for Quizzes 4 and 5
Discrete Random Variables: Expectation, Mean and Variance
Berlin Chen Department of Computer Science & Information Engineering
Berlin Chen Department of Computer Science & Information Engineering
8. One Function of Two Random Variables
Further Topics on Random Variables: Covariance and Correlation
Further Topics on Random Variables: Derived Distributions
Discrete Random Variables: Basics
Presentation transcript:

Continuous Random Variables: Basics Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: - D. P. Bertsekas, J. N. Tsitsiklis, Introduction to Probability , Sections 3.1-3.3

Continuous Random Variables Random variables with a continuous range of possible values are quite common The velocity of a vehicle The temperature of a day The blood pressure of a person etc. Event {e≦ outcome ≦f} Sample Space Event {c≦ outcomes ≦d} Event {a≦ outcomes ≦b} a’ b’ c’ d’ e’ f’

Probability Density Functions (1/2) A random variable is called continuous if its probability law can be described in terms of a nonnegative function , called the probability density function (PDF) of , which satisfies for every subset B of the real line. The probability that the value of falls within an interval is

Probability Density Functions (2/2) Illustration of a PDF Notice that For any single value , we have Including or excluding the endpoints of an interval has no effect on its probability Normalization probability Event {e≦ outcome ≦f} Sample Space Event {c≦ outcomes ≦d} Event {a≦ outcomes ≦b} a’ b’ c’ d’ e’ f’

Interpretation of the PDF For an interval with very small length , we have Therefore, can be viewed as the “probability mass per unit length” near is not the probability of any particular event, it is also not restricted to be less than or equal to one

Continuous Uniform Random Variable A random variable that takes values in an interval , and all subintervals of the same length are equally likely ( is uniform or uniformly distributed) Normalization property

Random Variable with Piecewise Constant PDF Example 3.2. Alvin’s driving time to work is between 15 and 20 minutes if the day is sunny, and between 20 and 25 minutes if the day is rainy, with all times being equally likely in each case. Assume that a day is sunny with probability 2/3 and rainy with probability 1/3. What is the PDF of the driving time, viewed as a random variable ? 15 20 25 2/5 1/5

Exponential Random Variable An exponential random variable has a PDF of the form is a positive parameter characterizing the PDF Normalization Property The probability that exceeds a certain value decreases exponentially

Normal (or Gaussian) Random Variable A continuous random variable is said to be normal (or Gaussian) if it has a PDF of the form Where the parameters and are respectively its mean and variance (to be shown latter on !) Normalization Property bell shape (?? See the end of chapter problems)

Normality is Preserved by Linear Transformations If is a normal random variable with mean and variance , and if ( ) and are scalars, then the random variable is also normal with mean and variance

Standard Normal Random Variable A normal random variable with zero mean and unit variance is said to be a standard normal Normalization Property The standard normal is symmetric around

The PDF of a Random Variable Can be Arbitrarily Large Example 3.3. A PDF can be arbitrarily large. Consider a random variable with PDF The PDF value becomes infinite large as approaches zero Normalization Property

Expectation of a Continuous Random Variable (1/2) Let be a continuous random variable with PDF The expectation of is defined by The expectation of a function has the form The variance of is defined by We also have (?? See the end of chapter problems)

Expectation of a Continuous Random Variable (2/2) If , where and are given scalars, then

Illustrative Examples (1/3) Mean and Variance of the Uniform Random Variable

Illustrative Examples (2/3) Mean and Variance of the Exponential Random Variable Integration by parts

Illustrative Examples (3/3) Mean and Variance of the Normal Random Variable

Cumulative Distribution Functions The cumulative distribution function (CDF) of a random variable is denoted by and provides the probability The CDF accumulates probability up to The CDF provides a unified way to describe all kinds of random variables mathematically

Properties of a CDF (1/3) The CDF is monotonically non-decreasing The CDF tends to 0 as , and to 1 as If is discrete, then is a piecewise constant function of

Properties of a CDF (2/3) If is continuous, then is a continuous function of

Properties of a CDF (3/3) If is discrete and takes integer values, the PMF and the CDF can be obtained from each other by summing or differencing If is continuous, the PDF and the CDF can be obtained from each other by integration or differentiation The second equality is valid for those for which the CDF has a derivative (e.g., the piecewise constant random variable)

An Illustrative Example (1/2) Example 3.6. The Maximum of Several Random Variables. You are allowed to take a certain test three times, and your final score will be the maximum of the test scores. Thus, where are the three test scores and is the final score Assume that your score in each test takes one of the values from 1 to 10 with equal probability 1/10, independently of the scores in other tests. What is the PMF of the final score? Trick: compute first the CDF and then the PMF!

An Illustrative Example (2/2)

CDF of the Standard Normal The CDF of the standard normal , denoted as , is recorded in a table and is a very useful tool for calculating various probabilities, including normal variables The table only provides the value of for Because the symmetry of the PDF, the CDF at negative values of can be computed form corresponding positive ones

Table of the CDF of Standard Normal

CDF Calculation of the Normal The CDF of a normal random variable with mean and variance is obtained using the standard normal table as

Illustrative Examples (1/3) Example 3. 7. Using the Normal Table. The annual snowfall at a particular geographic location is modeled as a normal random variable with a mean of inches, and a standard deviation of . What is the probability that this year’s snowfall will be at least 80 inches?

Illustrative Examples (2/3) Example 3. 8. Signal Detection. A binary message is transmitted as a signal that is either −1 or +1. The communication channel corrupts the transmission with additive normal noise with mean and variance . The receiver concludes that the signal −1 (or +1) was transmitted if the value received is < 0 (or ≥ 0, respectively). What is the probability of error?

Illustrative Examples (3/3) Probability of error when sending signal -1 Probability of error when sending signal 1 mean of N variance of N

More Factors about Normal The normal random variable plays an important role in a broad range of probabilistic models It models well the additive effect of many independent factors, in a variety of engineering, physical, and statistical contexts The sum of a large number of independent and identically distributed (not necessarily normal) random variables has an approximately normal CDF, regardless of the CDF of the individual random variables (See Chapter 7) We can approximate any probability distribution (the PDF of a random variable) with the linear combination of an enough number of normal random variables

Relation between the Geometric and Exponential (1/2) The CDF of the geometric The CDF of the exponential Compare the above two CDFs and let

Relation between the Geometric and Exponential (2/2)

Recitation SECTION 3.1 Continuous Random Variables and PDFs Problems 2, 3, 4 SECTION 3.2 Cumulative Distribution Functions Problems 6, 7, 8 SECTION 3.3 Normal Random Variables Problems 9, 10, 12