Discrete Probability Distributions

3 阅读1分钟

Main Points

  • Overview of Discrete Random Variables and Probability Distributions
  • Example: Binomial Distribution
  • Example: Poisson Distribution

Contents

Overview of Discrete Random Variables and Probability Distributions

  • Discrete random variables can take on integer values only and can be represented in tables.

    Given S={x1,x2,...,xn}S=\{x_1,x_2,...,x_n\}, where SS is the set of all domain values, XX is the discrete random variable denoting a value in set SS, and nn is the number of these values in set SS,

    Denote PP as the set of all probabilities corresponding to each domain value, where

    P=pi=P(X=xi),i[1,n]P=p_i=P(X=x_i),i\in[1, n],

P=i=1npi=i=1nP(X=xi)=1P=\sum_{i=1}^np_i=\sum_{i=1}^nP(X=x_i)=1

Denote E(X) as the expected value of X

E(X)=i=1nxipiE(X)=\sum_{i=1}^nx_ip_i

E(X) represents the discrete probability distribution's central tendency (mean).

Denote Med(X) as the median value of X, given S is an ascendingly ordered set,

Med(X)={X(n+12),n is oddX(n2)+X(n+12),otherwiseMed(X)=\begin{cases}X_{(\dfrac{n+1}{2})},&\text{n is odd} \\X_{(\dfrac{n}{2})}+X_{(\dfrac{n+1}{2})}, &\text{}otherwise\end{cases}
  • Med(X)Med(X) represents the discrete probability distribution’s middle value where

    12=P(XMed(X))=P(XMed(X))\dfrac{1}{2}=P(X\le Med(X))=P(X\ge Med(X)).

    Denote σ2\sigma^2=Var(X) as the variance of X​

σ2=Var(X)=i=1n(xiE(X))2pi\sigma^2=Var(X)=\sum_{i=1}^n(x_i-E(X))^2p_i
  • σ2\sigma^2 represents the discrete probability distribution’s spread.

Denote σ=SD(X)\sigma=SD(X) as the standard deviation of XX,

σ=SD(X)=σ2=Var(X)\sigma=SD(X)=\sqrt{\sigma^2}=\sqrt{Var(X)}

σ\sigma represents the discrete probability distribution’s standardised spread relative to the mean.

Binomial Distribution

  • Properties

    • A binomial experiment consists of nn repeated and independent trials.
    • The result of each trial can have two outcomes only.
    • The probability of success, pp, and the probability of failure, qq, are constant in each trial.
p+q=p+(1p)=1p+q=p+(1-p)=1

The expected value, variance and standard deviation of the binomial distribution are as follows.

E(X)=npVar(X)=npqSD(X)=npqE(X)=np \\Var(X)=npq \\SD(X)=\sqrt{npq}

GivenXBin(n,p) X\sim Bin(n,p), denote P(X=x) as the probability of having exact x successes from n trials,

P(X=x)=(nx)pxqnxP(X=x)={n\choose x}p^xq^{n-x}
  • The Bernoulli distribution is a subset of the binomial distribution where n=1n=1.

    Denote P(X=1)P(X=1) as the probability of having exact 11 success from 11 trial,

P(X=1)=(11)p1q11=pP(X=1)={1\choose 1}p^1q^{1-1}=p

Denote P(X=0) as the probability of having exact 0 success from 1 trial,

P(X=0)=(10)p0q10=qP(X=0)={1\choose 0}p^0q^{1-0}=q

Poisson Distribution

  • Properties

    • A Poisson distribution is a variant of the binomial distribution with no upper limit to the number of trials.

      • λ\lambda is used to denote the mean of the Poisson distribution.

        denote P(X=x)P(X=x) as the probability of observing xx events in the given interval,

      • It concerns the probability of an occurrence which occurs in a specific interval.

      • Occurrences are independent of each other and they do not overlap.

    • A Poisson process is a stochastic process in which events occur continuously and independently, each having a small probability of occurrence, pp.

      • The interval of values can be very small (which could approximate infinitesimal amounts), where each specific value has a small probability of occurrence.
    • The expected value, variance and standard deviation of the Poisson distribution are as follows.

E(x)=Var(x)=λSD(x)=λE(x)=Var(x)=\lambda \\SD(x)=\sqrt{\lambda}

Given XPois(λ),letX(ta,tb)X\sim Pois(\lambda), let X(t_a,t_b) be the number of events per interval [t_a,t_b],

X(ta,tb)=X(tb)X(ta)=P(X=ta)+...+P(X=tb)P(X=x)=eλλxx!,x=[0,1,...,n]X(t_a,t_b)=X(t_b)-X(t_a)=P(X=t_a)+...+P(X=t_b) \\P(X=x)=e^{-\lambda}\dfrac{\lambda^x}{x!},x=[0,1,...,n]