Statistics 1 for Economics: Discrete Probability Distributions

Overview of Discrete Probability Distributions

Discrete probability distributions are foundational tools in statistics for modeling scenarios where outcomes are countable. The primary distributions covered include:

  • Bernoulli Distribution: Models a single trial with two possible outcomes.
  • Binomial Distribution: Models a sequence of independent Bernoulli trials (drawing with replacement).
  • Hypergeometric Distribution: Models trials where the probability of success changes because items are not replaced (drawing without replacement).
  • Poisson Distribution: Models the number of occurrences of an event over a specific interval of time or space.

Key relationships and approximations involve:

  • Hypergeometric → Binomial: Applicable when the sample size is small relative to the population (n/N<5%n/N < 5\% ).
  • Binomial → Poisson: Applicable when the probability of success is very low (p<5%p < 5\% ).

The Hypergeometric Distribution

The Hypergeometric distribution is used when drawing samples from a finite population without replacement. This means the trials are dependent, and the probability of success changes after each draw.

Mathematical Formulation

The probability of obtaining exactly xx successes in a sample of size nn from a population of size NN containing kk successes is given by:

P(X=x)=(kx)(Nknx)(Nn)P(X = x) = \frac{\binom{k}{x} \binom{N-k}{n-x}}{\binom{N}{n}}

Parameters and Variables
  • NN: Population size.
  • nn: Sample size.
  • kk: Total number of successes in the population.
  • xx: Number of successes in the sample.
  • NkN-k: Total number of failures in the population.
  • nxn-x: Number of failures in the sample.
Mean and Variance
  • Expected Value (Mean): E[X]=n×kN=n×pE[X] = n \times \frac{k}{N} = n \times p
  • Variance: V[X]=n×p(1p)×NnN1V[X] = n \times p(1 - p) \times \frac{N - n}{N - 1}
    • Note: The term NnN1\frac{N - n}{N - 1} is known as the finite population correction factor.
Practical Example: Stock Index

A stock index consists of 500500 stocks (N=500N = 500). On a specific day, 400400 stocks increased in value (k=400k = 400). A professor selects 44 stocks at random (n=4n = 4).

a. Probability that exactly 3 increased in value:P(X=3)=(4003)(1001)(5004)=0.411P(X = 3) = \frac{\binom{400}{3} \binom{100}{1}}{\binom{500}{4}} = 0.411

b. Probability that at least 3 increased in value:P(X3)=P(X=3)+P(X=4)P(X \ge 3) = P(X = 3) + P(X = 4)P(X3)=(4003)(1001)(5004)+(4004)(1000)(5004)=0.411+0.409=0.820P(X \ge 3) = \frac{\binom{400}{3} \binom{100}{1}}{\binom{500}{4}} + \frac{\binom{400}{4} \binom{100}{0}}{\binom{500}{4}} = 0.411 + 0.409 = 0.820

The Bernoulli Distribution

The Bernoulli distribution is the simplest discrete distribution, representing a single experiment with only two outcomes: success or failure.

Characteristics
  • Defined for a single trial (n=1n = 1).
  • X=1X = 1 if success occurs (with probability pp ).
  • X=0X = 0 if failure occurs (with probability 1p1 - p ).
Mathematical Formulation

P(X=x)={pif x=11pif x=0P(X = x) = \begin{cases} p & \text{if } x = 1 \\ 1 - p & \text{if } x = 0 \end{cases}

Moments
  • Mean: E[X]=(1p)×0+p×1=pE[X] = (1 - p) \times 0 + p \times 1 = p
  • Variance: V[X]=E[X2](E[X])2=(1p)×(0p)2+p×(1p)2=p(1p)V[X] = E[X^2] - (E[X])^2 = (1 - p) \times (0 - p)^2 + p \times (1 - p)^2 = p(1 - p)

The Binomial Distribution

The Binomial distribution describes the number of successes in a fixed number of independent Bernoulli trials where the probability of success remains constant (drawing with replacement).

Mathematical Formulation

P(X=x)=(nx)px(1p)nxP(X = x) = \binom{n}{x} p^x (1 - p)^{n-x}

Parameters
  • nn: Number of trials (sample size).
  • pp: Probability of success in each trial (p=k/Np = k/N ).
  • xx: Number of successes (x=0,1,2,,nx = 0, 1, 2, \dots, n ).
Mean and Variance

A Binomial random variable XX is the sum of nn independent Bernoulli random variables (X=X1+X2++XnX = X_1 + X_2 + \dots + X_n ).

  • Mean: E[X]=n×pE[X] = n \times p
  • Variance: V[X]=n×p(1p)V[X] = n \times p(1 - p)
Example Comparison: Hypergeometric vs. Binomial

Consider a group of 2020 clients, 66 of whom are in debt. If you pick 55 clients:

  • Hypergeometric (Without replacement): P(X=1)=(61)(144)(205)=0.387P(X = 1) = \frac{\binom{6}{1} \binom{14}{4}}{\binom{20}{5}} = 0.387
  • Binomial (With replacement): P(X=1)=(51)(620)1(1420)4=0.360P(X = 1) = \binom{5}{1} (\frac{6}{20})^1 (\frac{14}{20})^4 = 0.360

Approximations Between Distributions

Approximating Hypergeometric by Binomial

This approximation is used when the population size NN is much larger than the sample size nn, making the change in probability after each draw negligible.

  • Condition: nN<0.05\frac{n}{N} < 0.05 (sample is less than 5%5\% of population).
  • Calculation: Use Binomial formula with p=kNp = \frac{k}{N}.
  • Illustration: In a group of 200200 clients with 6060 in debt (N=200,k=60,n=5N = 200, k = 60, n = 5 ), nN=5200=0.025\frac{n}{N} = \frac{5}{200} = 0.025. The approximation holds. The Hypergeometric result (0.3630.363 ) is very close to the Binomial result (0.3600.360 ).
Approximating Binomial by Poisson

This approximation is used for "rare events" where the number of trials is large and the probability of success is very small.

  • Condition: p<0.05p < 0.05 (success occurs sporadically).
  • Calculation: Set μ=n×p\mu = n \times p and use the Poisson formula.
  • Example (Sunglasses): A shipment of sunglasses has a 2%2\% defect rate (p=0.02p = 0.02 ). For a sample of 5050 (n=50n = 50 ):
    • Exact Binomial: P(X2)=0.9216P(X \le 2) = 0.9216
    • Poisson Approximation (μ=50×0.02=1\mu = 50 \times 0.02 = 1 ): P(Y2)=0.9197P(Y \le 2) = 0.9197

The Poisson Distribution

The Poisson distribution models the number of successes as a "number per interval" (time, space, volume, etc.).

Mathematical Formulation

P(X=x)=eμμxx!P(X = x) = \frac{e^{-\mu} \mu^x}{x!}

Parameters
  • μ\mu: Mean number of successes per interval.
  • xx: Actual number of successes observed (x=0,1,2,x = 0, 1, 2, \dots ).
Assumptions
  1. Independence: The number of successes in one interval is independent of successes in other intervals.
  2. Constant Rate: The probability distribution is the same for all intervals of equal size.
  3. No Simultaneity: As intervals become increasingly smaller, the probability of two or more successes occurring simultaneously goes to zero.
Properties
  • Mean: E[X]=μE[X] = \mu
  • Variance: V[X]=μV[X] = \mu
Examples of Poisson Variables
  • Number of insurance claims per year.
  • Number of clients arriving in a 2020-minute window.
  • Number of flaws per square meter of fabric.
  • Number of meteorites hitting Earth in a year.
Problem: Defective Products in Boxes

On average, there are 66 defective products per box (μ=6\mu = 6 ).

  • Probability of at most 3 defectives:P(X3)=P(X=0)+P(X=1)+P(X=2)+P(X=3)=0.151P(X \le 3) = P(X=0) + P(X=1) + P(X=2) + P(X=3) = 0.151
  • Probability of exactly 3 defectives:P(X=3)=e6633!=0.089P(X = 3) = \frac{e^{-6} 6^3}{3!} = 0.089     Using tables: P(X3)P(X2)=0.1510.062=0.089P(X \le 3) - P(X \le 2) = 0.151 - 0.062 = 0.089

Questions & Discussion

1. Guessing on an Exam Question: What is the probability of getting at least 60%60\% correct on a 2020-question multiple-choice exam (4 options per question) by guessing?

  • Setup: Drawing with replacement (n=20,p=0.25n = 20, p = 0.25 ). XBin(20,0.25)X \sim Bin(20, 0.25).
  • Target: 60%60\% of 20=1220 = 12. Find P(X12)P(X \ge 12).
  • Calculation: P(X12)=1P(X11)P(X \ge 12) = 1 - P(X \le 11). Using tables, 10.999=0.0011 - 0.999 = 0.001.

2. WhatsApp Messages A student receives an average of one text per hour (μ=1\mu = 1 ).

  • a. Probability of 2 messages in 1 hour:P(X=2)=e1122!=0.184P(X = 2) = \frac{e^{-1} 1^2}{2!} = 0.184
  • b. Probability of 6 messages in 4 hours:     New interval implies new μnew=1×4=4\mu_{new} = 1 \times 4 = 4.     P(Y=6)=e4466!=0.104P(Y = 6) = \frac{e^{-4} 4^6}{6!} = 0.104
  • c. Probability of at least 18 messages in 12 hours:μnew=1×12=12\mu_{new} = 1 \times 12 = 12.     P(Z18)=1P(Z17)P(Z \ge 18) = 1 - P(Z \le 17). From tables (μ=12\mu = 12 ), 10.937=0.0631 - 0.937 = 0.063.

3. Marbles Example A box contains 55 blue and 55 green marbles. Draw a sample of size 33. Find P(no green)P(\text{no green}).

  • Without Replacement (Hypergeometric):P(X=0)=(53)(50)(103)=0.083P(X = 0) = \frac{\binom{5}{3} \binom{5}{0}}{\binom{10}{3}} = 0.083
  • With Replacement (Binomial):p=510=0.5p = \frac{5}{10} = 0.5.     P(Y=0)=(30)(0.5)0(0.5)3=0.125P(Y = 0) = \binom{3}{0} (0.5)^0 (0.5)^3 = 0.125

4. Hospital Biopsies A hospital performs 40004000 biopsies per year with a complication probability of 0.0010.001. Find the probability of at least 44 complications.

  • Setup: XBin(n=4000,p=0.001)X \sim Bin(n = 4000, p = 0.001).
  • Approximation: Since p=0.001<0.05p = 0.001 < 0.05, use Poisson with μ=4000×0.001=4\mu = 4000 \times 0.001 = 4.
  • Calculation: P(X4)1P(XPoi3)=10.433=0.567P(X \ge 4) \approx 1 - P(X_{Poi} \le 3) = 1 - 0.433 = 0.567.
  • Exact Binomial: 1[P(0)+P(1)+P(2)+P(3)]10.4334=0.56661 - [P(0) + P(1) + P(2) + P(3)] \approx 1 - 0.4334 = 0.5666.