Home page for accesible maths 2 Distributions and Inference

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

2.2 Review of Continuous random variables

In contrast to discrete random variables, continuous random variables have an infinite set of outcomes, thus each outcome has a probability of 0 of occurring. Instead we have a density to describe the probabilities of ranges of outcomes. The area under this curve over all outcomes is 1 (just as the sum over all outcomes of a discrete random variables is 1).

Some important quantities of continuous random variables are:

  • Expected value: 𝔼(X)=-xf(x)dx.
    Sample mean: x¯=1nixi.

  • Expected value of a function: 𝔼(g(X))=-g(x)f(x)dx.

  • Variance Var(R)=𝔼(R2)-[𝔼(R)]2.
    Sample variance: sx2=1n-1i=1n(xi-x¯)2.

  • Standard deviation =Variance.
    Sample standard deviation: sx=sx2.

  • Cumulative Distribution Function (CDF): F(x)=(Xx). Again the CDF can only take values between 0 and 1 and is an increasing function (by the axioms of probability).

  • Probability Density Function (PDF): f(x)=dF(x)dx.

  • Using the above the CDF can also be written as F(x)=-xf(u)du.

  • Furthermore, (aXb)=abf(x)dx=F(b)-F(a).

  • You should be able to remember and use formulae such as the following. For rvs, X and Y

    𝔼(aX+bY+c)=a𝔼(X)+b𝔼(Y)+c  Var(aX+bY+c)=a2VarX+b2VarY+abCov(X,Y).

    If the variables are independent (i.e. Cov(X,Y)=0), we also have

    Var(aX+bY+c)=a2VarX+b2VarY.