Discrete Variable

Continuous Variable

Characteristics

๐(๐‘ฅ)ย is aย Model (Probability Mass Function)

  • 1 = ๐›ด๐‘ฅโˆŠ๐‘‹๐(๐‘‹=๐‘ฅ)

๐‘“(๐‘ฅ)ย is aย Model (Probability Density Function)

  • 1 = โˆซ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ

Mean
Expectation
๐œ‡ or ๐„[๐‘‹]

๐„[๐‘‹] # by definition of first raw moment

  • ๐„[๐‘‹] = ๐›ด๐‘ฅโˆŠ๐‘‹[๐‘ฅยท๐(๐‘‹=๐‘ฅ)]
  • ๐„[๐‘‹] = โˆซ๐‘ฅยท๐‘“(๐‘ฅ)๐‘‘๐‘ฅ

๐„[๐‘‹2]

๐„[๐‘‹2] # by definition of second raw moment

  • ๐„[๐‘‹2] = ๐›ด๐‘ฅโˆŠ๐‘‹[๐‘ฅ2ยท๐(๐‘‹=๐‘ฅ)]
  • ๐„[๐‘‹2] =ย โˆซ๐‘ฅ2ยท๐‘“(๐‘ฅ)๐‘‘๐‘ฅ

Variance
(๐œŽ๐‘‹)2or ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹)

๐‘‰๐‘Ž๐‘Ÿ(๐‘‹) = ๐„[(๐‘‹ย โˆ’ย ๐„[๐‘‹])2]ย = ๐„[(๐‘‹ย โˆ’ย ๐œ‡)2] =ย ๐„[๐‘‹2]ย โˆ’ย ๐œ‡2# by definition of second central moment

  • ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹) = ๐›ด๐‘ฅโˆŠ๐‘‹[(๐‘ฅย โˆ’ย ๐œ‡)2๐‘ƒ(๐‘ฅ)]
  • ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹) = ๐›ด๐‘ฅโˆŠ๐‘‹[๐‘ฅ2๐‘ƒ(๐‘ฅ)] - ๐œ‡2
  • ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹) =ย โˆซ(๐‘ฅย โˆ’ย ๐œ‡)2๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
  • ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹) =ย โˆซ๐‘ฅ2๐‘“(๐‘ฅ)๐‘‘๐‘ฅ - ๐œ‡2

Standard Deviation
๐œŽ๐‘‹or ๐‘†๐‘ก๐‘‘(๐‘‹)

๐œŽ๐‘‹= ๐‘†๐‘ก๐‘‘(๐‘‹) = โˆš๐‘‰๐‘Ž๐‘Ÿ(๐‘‹)

Covariance
๐œŽ๐‘‹๐‘Œ or ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ)

๐œŽ๐‘‹๐‘Œย = ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) = ๐„[(๐‘‹โˆ’๐„[๐‘‹])(๐‘Œโˆ’๐„[๐‘Œ])] = ๐„[(๐‘‹โˆ’๐œ‡๐‘‹)(๐‘Œโˆ’๐œ‡๐‘Œ)] = ๐„[๐‘‹๐‘Œ] - ๐œ‡๐‘‹๐œ‡๐‘Œ
# modified second central moment
๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘‹) = ๐‘‰๐‘Ž๐‘Ÿ(๐‘‹)

  • ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) = ๐›ด๐‘ฆ๐›ด๐‘ฅ(๐‘ฅย โˆ’ย ๐œ‡๐‘‹)(๐‘ฆย โˆ’ย ๐œ‡๐‘Œ)๐‘ƒ(๐‘ฅ,๐‘ฆ)
  • ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) = ๐›ด๐‘ฆ๐›ด๐‘ฅ(๐‘ฅ๐‘ฆ)๐‘ƒ(๐‘ฅ,๐‘ฆ) - ๐œ‡๐‘‹๐œ‡๐‘Œ
  • ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) = โˆซโˆซ(๐‘ฅย โˆ’ย ๐œ‡๐‘‹)(๐‘ฆย โˆ’ย ๐œ‡๐‘Œ)๐‘“(๐‘ฅ,๐‘ฆ)๐‘‘๐‘ฅ๐‘‘๐‘ฆ
  • ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) = โˆซโˆซ(๐‘ฅ๐‘ฆ)๐‘“(๐‘ฅ,๐‘ฆ)๐‘‘๐‘ฅ๐‘‘๐‘ฆ - ๐œ‡๐‘‹๐œ‡๐‘Œ

Correlation
๐œŒ๐‘‹๐‘Œ

๐œŒ๐‘‹๐‘Œ = ๐ถ๐‘œ๐‘ฃ(๐‘‹,๐‘Œ) / [๐‘†๐‘ก๐‘‘(๐‘‹) ๐‘†๐‘ก๐‘‘(๐‘Œ)]

Properties of Expected Value / Mean
Properties of Variance and Standard Deviation
Properties of Covariance
Properties of Correlation

Resources