Common Probability Distributions

Common Probability Distributions

Common Probability Distributions Nathaniel E. Helwig Associate Professor of Psychology and Statistics University of Minnesota August 28, 2020 Copyright c 2020 by Nathaniel E. Helwig Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 1 / 28 Table of Contents 1. Probability Distribution Background 2. Discrete Distributions 3. Continuous Distributions 4. Central Limit Theorem 5. Affine Transformations of Normal Variables Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 2 / 28 Probability Distribution Background Table of Contents 1. Probability Distribution Background 2. Discrete Distributions 3. Continuous Distributions 4. Central Limit Theorem 5. Affine Transformations of Normal Variables Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 3 / 28 Probability Distribution Background Distribution, Mass, and Density Functions A random variable X has a cumulative distribution function (CDF) F (·), which is a function from the sample space S to the interval [0; 1]. • F (x) = P (X ≤ x) for any given x 2 S • 0 ≤ F (x) ≤ 1 for any x 2 S and F (a) ≤ F (b) for all a ≤ b F (·) has an associated function f(·) that is referred to as a probability mass function (PMF) or probability distribution function (PDF). • PMF (discrete): f(x) = P (X = x) for all x 2 S R b • PDF (continuous): a f(x)dx = F (b) − F (a) = P (a < X < b) Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 4 / 28 Probability Distribution Background Parameters and Statistics A parameter θ = t(F ) refers to a some function of a probability distribution that is used to characterize the distribution. • µ = E(X) and σ2 = E[(X − µ)2] are parameters > Given a sample of data x = (x1; : : : ; xn) , a statistic T = s(x) is some function of the sample of data. 1 Pn 2 1 Pn 2 • x¯ = n i=1 xi and s = n−1 i=1(xi − x¯) are statistics Parametric distributions have a finite number of parameters, which characterize the form of the CDF and PMF (or PDF). • The parameters define a family of distributions Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 5 / 28 Discrete Distributions Table of Contents 1. Probability Distribution Background 2. Discrete Distributions 3. Continuous Distributions 4. Central Limit Theorem 5. Affine Transformations of Normal Variables Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 6 / 28 Discrete Distributions Bernoulli Distribution A Bernoulli trial refers to a simple experiment that has two possible outcomes. The two outcomes are x = 0 (failure) and x = 1 (success), and the probability of success is denoted by p = P (X = 1). • One parameter: p 2 [0; 1] • Notation: X ∼ Bern(p) or X ∼ B(1; p) The Bernoulli distribution has properties: 1 − p if x = 0 • PMF: f(x) = p if x = 1 8 < 0 if x < 0 • CDF: F (x) = 1 − p if 0 ≤ x < 1 : 1 if x = 1 • Mean: E(X) = p • Variance: Var(X) = p(1 − p) Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 7 / 28 Discrete Distributions Bernoulli Distribution Example Suppose we flip a coin and record the outcome as 0 (tails) or 1 (heads). This experiment is an example of a Bernoulli trial, and the random variable X (the outcome of a coin flip) follows a Bernoulli distribution. Bernoulli (p= 1/2) Bernoulli (p= 3/4) 0.8 0.8 ) ) x x ( ( f f 0.4 0.4 0.0 0.0 0 1 0 1 x x Figure 1: Bernoulli PMF with p = 1=2 (left) and p = 3=4 (right). Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 8 / 28 Discrete Distributions Binomial Distribution Pn If X = i=1 Zi where the Zi are independent and identically distributed Bernoulli trials with probability of success p, then the random variable X follows a binomial distribution. • Two parameters: n 2 f1; 2; 3;:::g and p 2 [0; 1] • Notation: X ∼ B(n; p) The binomial distribution has the properties: • n x n−x n n! PMF: f(x) = x p (1 − p) where x = x!(n−x)! Pbxc n i n−i • CDF: F (x) = i=0 i p (1 − p) • Mean: E(X) = np • Variance: Var(X) = np(1 − p) Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 9 / 28 Discrete Distributions Binomial Distribution Example Suppose that we flip a coin n ≥ 1 independent times, and assume that each flip Zi has probability of success (i.e., heads) p 2 [0; 1]. If we define X to be the total number of observed heads, then Pn X = i=1 Zi follows a binomial distribution with parameters n and p. n = 5 n = 10 0.20 ) ) 0.25 x x = = X X ( ( 0.15 0.10 P P 0.05 0.00 0 1 2 3 4 5 0 2 4 6 8 10 x x Figure 2: Binomial PMF with n 2 f5; 10g and p = 1=2. Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 10 / 28 Discrete Distributions Limiting Distribution of Binomial As the number of independent trials n ! 1, we have that X − np ! Z ∼ N(0; 1) pnp(1 − p) where N(0; 1) denotes a standard normal distribution (later defined). In other words, the normal distribution is the limiting distribution of the binomial for large n. Note that the binomial distribution (depicted on the previous slide) looks reasonably bell-shaped for n = 10. Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 11 / 28 Discrete Distributions Discrete Uniform Distribution Suppose that a simple random experiment has possible outcomes x 2 fa; a + 1; : : : ; b − 1; bg where a ≤ b and m = 1 + b − a, and all m possible outcomes are equally likely, i.e., if P (X = x) = 1=m. • Two parameters: the two endpoints a and b (with a < b) • Notation: X ∼ Ufa; bg The discrete uniform distribution has the properties: • PMF: f(x) = 1=m • CDF: F (x) = (1 + bxc − a)=m • Mean: E(X) = (a + b)=2 • Variance: Var(X) = [(b − a + 1)2 − 1]=12 Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 12 / 28 Discrete Distributions Discrete Uniform Distribution Example Suppose we roll a fair dice and let x 2 f1;:::; 6g denote the number of dots that are observed. The random variable X follows a discrete uniform distribution with a = 1 and b = 6. Discrete Uniform PMF Discrete Uniform CDF 0.20 0.8 ) ) x x ( ( 0.10 f F 0.4 0.0 0.00 1 2 3 4 5 6 1 2 3 4 5 6 x x Figure 3: Discrete uniform distribution PDF and CDF with a = 1 and b = 6. Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 13 / 28 Continuous Distributions Table of Contents 1. Probability Distribution Background 2. Discrete Distributions 3. Continuous Distributions 4. Central Limit Theorem 5. Affine Transformations of Normal Variables Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 14 / 28 Continuous Distributions Normal Distribution The normal (or Gaussian) distribution is the most well-known and commonly used probability distribution. The normal distribution is quite important because of the central limit theorem (later defined). • Two parameters: the mean µ and the variance σ2 • Notation: X ∼ N(µ, σ2) The standard normal distribution refers to a normal distribution where µ = 0 and σ2 = 1, which is typically denoted by Z ∼ N(0; 1). The normal distribution has the properties: 2 • PDF: f(x) = p1 exp − 1 x−µ where exp(x) = ex σ 2π 2 σ x 2 • CDF: F (x) = Φ x−µ where Φ(x) = p1 R e−z =2dz σ 2π −∞ • Mean: E(X) = µ • Variance: Var(X) = σ2 Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 15 / 28 Continuous Distributions Normal Distribution Visualizations The CDF has a elongated \S" shape, which is called an ogive. Normal PDFs Normal CDFs µ = 0, σ2 = 0.2 µ = 0, σ2 = 1 2 0.8 µ = 0, σ = 5 0.8 µ = −2, σ2 = 0.5 ) ) x x ( ( f F µ σ2 0.4 0.4 = 0, = 0.2 µ = 0, σ2 = 1 µ = 0, σ2 = 5 µ = −2, σ2 = 0.5 0.0 0.0 −4 −2 0 2 4 −4 −2 0 2 4 x x Figure 4: Normal distribution PDFs and CDFs with different µ and σ2. Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 16 / 28 Continuous Distributions Chi-Square Distribution Pk 2 If X = i=1 Zi where the Zi are independent standard normal distributions, then the random variable X follows a chi-square distribution with degrees of freedom k. • One parameter: the degrees of freedom k 2 2 • Notation: X ∼ χk or X ∼ χ (k) The chi-square distribution has the properties: • PDF: f(x) = 1 xk=2−1e−x=2 where Γ(x) = R 1 tx−1e−tdt 2k=2Γ(k=2) 0 is the gamma function • 1 k x R v u−1 −t CDF: F (x) = Γ(k=2) γ 2 ; 2 where γ(u; v) = 0 t e dt is the lower incomplete gamma function • Mean: E(X) = k • Variance: Var(X) = 2k Nathaniel E. Helwig (Minnesota) Common Probability Distributions c August 28, 2020 17 / 28 Continuous Distributions Chi-Square Distribution Visualization χ2(k) distribution approaches normal distribution as k ! 1 Chi−Square PDFs Chi−Square CDFs k = 1 k = 2 0.4 k = 3 0.8 k = 4 ) ) k = 1 k = 5 x x ( ( k = 2 f k = 6 F 0.2 0.4 k = 3 k = 4 k = 5 k = 6 0.0 0.0 0 2 4 6 8 10 0 2 4 6 8 10 x x Figure 5: Chi-square distribution PDFs and CDFs with different DoF.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    28 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us