Joint Distributions Chris Piech CS109, Stanford University Four Prototypical Trajectories
Review The Normal Distribution
• X is a Normal Random Variable: X ~ N(µ, σ 2) § Probability Density Function (PDF): 1 2 2 f (x) = e−(x−µ) / 2σ where − ∞ < x < ∞ σ 2π µ § E[X ] = µ f (x) 2 § Var(X ) =σ x § Also called “Gaussian” § Note: f(x) is symmetric about µ Simplicity is Humble
µ
probability σ2
value
* A Gaussian maximizes entropy for a given mean and variance Anatomy of a beautiful equation
2 (µ, ) the distance to N “exponential” the mean
(x µ)2 1 f(x)= e 2 2 p2⇡
probability sigma shows up density at x a constant twice And here we are
2 CDF of Standard Normal: A (µ, ) function that has been solved N for numerically x µ F (x)= ✓ ◆ The cumulative density function (CDF) of any normal
Table of Φ(z) values in textbook, p. 201 and handout Symmetry of Phi
ɸ(-a) = 1 – ɸ(a)
µ = 0
ɸ(-a) 1 – ɸ(a)
-a a Interval of Phi
µ = 0
ɸ(c) ɸ(d)
c d Interval of Phi
ɸ(d) - ɸ(c)
µ = 0
ɸ(c) ɸ(d)
c d Four Prototypical Trajectories
Great questions! Four Prototypical Trajectories
68% rule only for Gaussians? 68% Rule?
What is the probability that a normal variable X N(µ, 2) ⇠ has a value within one standard deviation of its mean?
µµ µµ XX µµ µµ++ µµ P (µ