Real random variable

Expectation

The expectation 𝜇𝑋 =𝔼⁡[𝑋] =⟨𝑋⟩ of a Real random variable 𝑋 may be thought of as the value which the variable is most likely to be close to. It has different but similar definitions for a Discrete variable and a Continuous variable.

Discrete variable

For a Discrete random variable 𝑋 the expected value 𝔼⁡[𝑋] is defined as follows

𝔼⁡[𝑋]=∑𝑥∈supp[𝑋]𝑥𝑝𝑋(𝑥)

Expectation value may also be found by summing the Survival function

𝔼⁡[𝑋]=∞∑𝑛=0ℙ[𝑋>𝑛]
Proof

#missing/proof

Continuous variable

For a continuous random variable Continuous random variable 𝑋 the expected value 𝔼⁡[𝑋] is defined as follows

𝔼⁡[𝑋]=∫∞−∞𝑥𝑓𝑋(𝑥)𝑑𝑥

Properties

The expected value has the following useful properties, where 𝑋 and 𝑌 are random variables (possibly dependent) and 𝑎,𝑏 are constants.

  1. 𝔼⁡[𝑎] =𝑎
  2. 𝔼⁡[𝑎𝑋 +𝑏𝑌] =𝑎𝔼⁡[𝑋] +𝑏𝔼⁡[𝑦]
  3. 𝔼⁡[𝑋𝑌] =𝔼⁡[𝑋]𝔼⁡[𝑌] for independently distributed 𝑋,𝑌
Proof of 3

Since

𝔼⁡[𝑋𝑌]=∫∞−∞𝑥𝑦𝑑ℙ(𝑋𝑌=𝑥𝑦)=∫∞−∞𝑥𝑑ℙ(𝑋=𝑥)∫∞−∞𝑦𝑑ℙ(𝑌=𝑦)=𝔼⁡[𝑋]𝔼⁡[𝑌]

as required by ^P3.

See also


#state/tidy | #SemBr