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)=∫-∞∞x⁢f⁢(x)⁢d⁢x.
    Sample mean: x¯=1n⁢∑ixi.

  • •

    Expected value of a function: 𝔼⁢(g⁢(X))=∫-∞∞g⁢(x)⁢f⁢(x)⁢d⁢x.

  • •

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

  • •

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

  • •

    Cumulative Distribution Function (CDF): F(x)=ℙ(X≤x). 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)=d⁢F⁢(x)d⁢x.

  • •

    Using the above the CDF can also be written as F⁢(x)=∫-∞xf⁢(u)⁢d⁢u.

  • •

    Furthermore, ℙ(a≤X≤b)=∫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

    𝔼⁢(a⁢X+b⁢Y+c)=a⁢𝔼⁢(X)+b⁢𝔼⁢(Y)+c  Var⁢(a⁢X+b⁢Y+c)=a2⁢Var⁢X+b2⁢Var⁢Y+a⁢b⁢Cov⁢(X,Y).

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

    Var⁢(a⁢X+b⁢Y+c)=a2⁢Var⁢X+b2⁢Var⁢Y.