Definition

  • Random Variable: a function that assigns a real number to every
    • is a function from to ()
    • E.g. Experiment is rolling a die, is the number on the top face
  • Range space of is the set of real numbers (Set of all possible values that can take, or set of all outputs of the function)
  • Notation
    • Capital letters denote random variables
    • Lower case letters denote observed values in the experiment
    • means , and is a subset of
    • If , then means , and is a subset of

Probability Distribution

  • Discrete random variable: The number of values in is finite or countable: can be written as
  • Probability (mass) function (pf/pmf): for , otherwise
    • for all ; for all
    • Sum of all
    • sum of for all
    • Range:
  • Probability distribution: Collection of pairs
  • Continuous random variable: is an interval or a collection of intervals
  • Probability (density) function (pf/pdf): satisfies:
    • for all ; for all
    • , or
    • If a function satisfies these two conditions^, it is a pdf
    • For any ,
    • For any specific value , “ ,but might not be ”
    • In , any can be swapped with , and the value will be the same
    • E.g. for a pdf for ,
    • Range: , but not necessary that (pdf does not represent probability)
  • Cumulative distribution function cdf:
    • Applies whether is discrete or continuous
    • Always non-decreasing
    • For any proabability function, the cdf is uniquely determined, and vice versa
    • Range:
    • For discrete random variable:
      • sum of or for all
      • For any , where is “largest value in that is smaller than a”, or
    • For continuous random variable:
      • ;

Expectation

  • For discrete rv: expectation or mean of
  • For continuous rv:
  • Properties
    • For
    • For any function , rv with probability function and range
    • If is discrete,
    • If is continuous,
    • Iff and are independent,

Variance

  • Variance of : ← this means
    • If is discrete rv,
    • If is continuous rv,
  • for any . iff i.e. is a constant
  • For real numbers and ,
  • Standard deviation