Continuous Random Variables

Introduction

Where discrete random variables look at a value in at a certain point, continuous random variables look at values over an interval. This allows us to calculate the probability of a random variable XX being between two values.

In an example where XX can be any number between 0 and 1:

P(aXb)=ba0ab1\Bbb{P}(a \leq X \leq b) = b - a \qquad 0 \leq a \leq b \leq 1

Cumulative distribution

Similar to a probability mass function, when examining the values of XX greater than or less than a value we use a distribution function FXF_X called the cumulative distribution.

Probability mass function=P(X=a)\text{Probability mass function} = \Bbb{P}(X = a)

Cumulative distribution=P(Xa)\text{Cumulative distribution} = \Bbb{P}(X \leq a)

We donote the cumulative distribution with the symbol FX(a)F_X(a). Combining everything above, we can now see that:

P(aXb)=FX(b)FX(a)\Bbb{P}(a \leq X \leq b) = F_X(b) - F_X(a)

FX(a)=P(Xa)F_X(a) = \Bbb{P}(X \leq a) can also be graphed as it is a continuous function which is increasing from 0 to 1.

FX()=0FX()=1F_X(-\infty) = 0 \qquad F_X(\infty) = 1

Probability density function

As well as the cumulative distribution, we also define a function fXf_X called the probability density function. This function is the antiderivative of the cumulative distribution and can tell us more information about a continuous random variable.

fX=FXf_X = F'_X

FX(x)=xfX(s),dsF_X(x) = \displaystyle\int_{-\infty}^{x} f_X(s) \\, ds

Reffering this back to our original premise at the top of the page:

P(aXb)=abfX(s),ds\Bbb{P}(a \leq X \leq b) = \displaystyle\int_{a}^{b} f_X(s) \\, ds

A Key fact to remember is that:

fX(t),dt=1\displaystyle\int_{-\infty}^{\infty} f_X(t) \\, dt = 1

Lifetime

Expectation

Variance