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
- cumulative distribution function: or d.f. of :
-
Examples
-
if w/ pmf by
- then cdf:
-
- jump of
-
- jump of
-
- jump of
-
- jump of
-
no. of mortgage approved per week: given below
approved 0 1 2 3 4 5 6 probability 0.1 0.1 0.2 0.3 0.15 0.1 0.05 - prob: fewer than 4 mortgage approved
- prob: more than 2, but no more that 5 approved
- or:
- cdf chart: trivial
- prob: fewer than 4 mortgage approved
-
given cdf, show pdf
- simply by
- and
0 1 2 3 4 5 6 0.1 0.1 0.2 0.3 0.15 0.1 0.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
- weighted average of possible values of
- weight:
- measure of central location of r.v.
- expectation of average val of r.v. over large no. of experiments
- further connected w/ ch. 8: law of large numbers
- weighted average of possible values of
- expectation or expected value of discrete random var :
-
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
- : prob. that first children are girls, and then boy
- compute
- and, from calculus:
- if
-
- derivation
- as ,
- suppose: only takes only 0 / 1
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
- standard: compute pmf of , and compute by definition
-
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:
-