Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Lecture Notes on Continuous Random Variables, Lecture notes of Mathematics

It is a random variable which can take any value in some interval.

Typology: Lecture notes

2020/2021

Uploaded on 06/11/2021

zeb
zeb 🇺🇸

4.6

(26)

231 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Continuous Random Variables
A continuous random variable is a random variable which can take any value in some interval. A
continuous random variable is characterized by its probability density function, a graph which has
a total area of 1 beneath it: The probability of the random variable taking values in any interval
is simply the area under the curve over that interval.
The normal distribution: This most-familiar of continuous probability distributions has the
classic “bell” shape (see the graph below). The peak occurs at the mean of the distribution, i.e., at
the expected value of the normally-distributed random variable with this distribution, and the
standard deviation (the square root of the variance) indicates the spread of the bell, with roughly
68% of the area within 1 standard deviation of the peak.
The Central Limit Theorem: The normal distribution arises so frequently in applications due to
an amazing fact: If you take a bunch of independent random variables (with comparable
variances) and add (or average) them, the result will be roughly normally distributed, no matter
what the distributions of the separate variables might be. Many interesting quantities, ranging
from IQ scores (across a demographically-homogeneous group of individuals), to changes in
share prices over time, to demand for a retail product (as it varies from day to day), to lengths of
toy tractor axles (being cut in an automated process), are actually a composite of many separate
random variables, and hence are roughly normally distributed.
If X is normal, and Y = aX+b, then Y is also normal, with E[Y] = aE[X] + b and
StdDev[Y] = |a|StdDev[X] . If X and Y are normal (independent or not), then X+Y and X-Y
= X+(-Y) are also normal (intuition: the sum of two bunches is a bunch). Any normally-
distributed random variable can be transformed into a “standard” normal random variable (with
mean 0 and standard deviation 1) by subtracting off its mean and dividing by its standard
deviation. Hence, a single tabulation of the cumulative distribution for a standard normal random
variable (attached) can be used to do probabilistic calculations for any normally-distributed
random variable.
pf3
pf4

Partial preview of the text

Download Lecture Notes on Continuous Random Variables and more Lecture notes Mathematics in PDF only on Docsity!

Continuous Random Variables

A continuous random variable is a random variable which can take any value in some interval. A

continuous random variable is characterized by its probability density function , a graph which has

a total area of 1 beneath it: The probability of the random variable taking values in any interval

is simply the area under the curve over that interval.

The normal distribution : This most-familiar of continuous probability distributions has the

classic “bell” shape (see the graph below). The peak occurs at the mean of the distribution, i.e., at

the expected value of the normally-distributed random variable with this distribution, and the

standard deviation (the square root of the variance) indicates the spread of the bell, with roughly

68% of the area within 1 standard deviation of the peak.

The Central Limit Theorem : The normal distribution arises so frequently in applications due to

an amazing fact: If you take a bunch of independent random variables (with comparable

variances) and add (or average) them, the result will be roughly normally distributed, no matter

what the distributions of the separate variables might be. Many interesting quantities, ranging

from IQ scores (across a demographically-homogeneous group of individuals), to changes in

share prices over time, to demand for a retail product (as it varies from day to day), to lengths of

toy tractor axles (being cut in an automated process), are actually a composite of many separate

random variables, and hence are roughly normally distributed.

If X is normal, and Y = aX+b, then Y is also normal, with E[Y] = aE[X] + b and

StdDev[Y] = |a|StdDev[X]. If X and Y are normal (independent or not), then X+Y and X-Y

= X+(-Y) are also normal (intuition: the sum of two bunches is a bunch). Any normally-

distributed random variable can be transformed into a “standard” normal random variable (with

mean 0 and standard deviation 1) by subtracting off its mean and dividing by its standard

deviation. Hence, a single tabulation of the cumulative distribution for a standard normal random

variable (attached) can be used to do probabilistic calculations for any normally-distributed

random variable.

Simulating Random Variables

Sometimes one wishes to simulate a random process (so as to compare alternative policies on a

computer before trying them out in real life). Simulations require the generation of random

variables fitting particular distributions. Most computer languages and spreadsheets can provide

(pseudo-) random numbers, uniformly distributed between 0 and 1. Fortunately, random

variables with any probability distribution can be generated from these uniform random variables:

Consider any random variable X. Simply take a uniformly-distributed observation u, solve the

equation Pr(X  x) = u for x, and let the resulting x be your observation of X.

For example, in Excel the function RAND() returns a random value uniformly distributed

between 0 and 1. In addition, the function NORMINV(.,.,.) returns the inverse of the cumulative

normal probability distribution. Therefore, to generate a random observation from a normal

distribution with a particular mean and standard deviation, one can simply enter the formula

=NORMINV(RAND(),mean,stddev) in a cell of the spreadsheet.