MATH 2421: Lecture 8

Date: 2024-09-30 11:59:52

Reviewed:

Topic / Chapter:

summary

❓Questions

Notes

Discrete Random Variables
  • Cumulative distribution function

    • cumulative distribution function: or d.f. of :
      • for
    • like pmf: cdf fully characterizes random variable
    • for discrete , : a step function
      • taking jump of upon reaching it
      • for
      • then constant in
      • to know cdf, knowing pdf of following range is enough
    • ⭐ more properties of CDF (in general)
      • : monolithic / non-decreasing
      • always starts at / near 0 for small
        • and end at or near for large
      • discrete r.v.'s cdf: a step function
      • : right-continuous
        • i.e. can approach the limit only from the right
  • Examples

    • if w/ pmf by

      • then cdf:
          • jump of
          • jump of
          • jump of
          • jump of
    • no. of mortgage approved per week: given below

      approved0123456
      probability0.10.10.20.30.150.10.05
      • prob: fewer than 4 mortgage approved
      • prob: more than 2, but no more that 5 approved
        • or:
      • cdf chart: trivial
    • given cdf, show pdf

      • simply by
      • and
      0123456
      0.10.10.20.30.150.10.05
Expected Values
  • Expected value

    • expectation or expected value of discrete random var :
      • aka
      • : a random var
      • but : a deterministic number
    • i.e. a weighted average over all possible value
      • and some of weight: 1
    • usually: we use for r.v. (as they are functions)
      • and for the values
    • interpretations of expectation
      1. weighted average of possible values of
        • weight:
      2. measure of central location of r.v.
      3. expectation of average val of r.v. over large no. of experiments
        • further connected w/ ch. 8: law of large numbers
  • Example

    • suppose: only takes only 0 / 1
      • and and
      • random variable: called Bernoulli r.v. of parameter
      • denoted by
    • expected value of a fair 6-face die:
      • i.e.
    • newly wed couple: continue to have children until they have 1 of each sex
      • if: boy-girl chance are independent & equally likely
      • then how many children should this couple expect?
      • assume: get sex 1 for first try
      • and let : no. of tries until getting sex
      • prof's way
        1. : prob. that first children are girls, and then boy
        2. compute
        • and, from calculus:
          • if
            • derivation
          • as ,
Expectation of a Function of a Random Variable
  • Expectation of value

    • if

      • then
    • given and function , how can we compute ?

      • standard: compute pmf of , and compute by definition
      • alternatively: you can break it down
      • in general:
      • 👨‍🏫 no need to compute pmf for separately
    • theorem: r.v. w/ value for for

      • then for any real value function

    • proof:

      • idea: group together all terms in w/ same value for , then represent it as sum per each distinct value of

      • is called a second moment of
      • for : called k-th moment of
    • let then

      • (notation)
      • is called -th central moment
    • remarks

      • : aka first moment / mean of
      • first central moment:
      • second central moment:
        • aka variance of
    • let : constants, then

      • 👨‍🏫 expectation: a linear operator
    • proof: