Basic StatisticsUnit 512 min read

Discrete & Continuous Distributions: Probability Models & Applications

Unit 5 of Basic Statistics covers discrete probability distributions (binomial, Poisson), continuous distributions (uniform, exponential, normal), their probability functions, expected values, and real-world applications in quality control, finance, and risk analysis—with visual tools for every concept.

TAKEAWAYS:

  • Discrete vs. Continuous: Discrete distributions (e.g., binomial) count outcomes (0, 1, 2...), while continuous distributions (e.g., normal) measure ranges (height, time).
  • Probability Mass Function (PMF): For discrete variables, gives the probability of a specific value (e.g., in a binomial trial).
  • Probability Density Function (PDF): For continuous variables, gives the density over an interval (e.g., under a normal curve).
  • Expected Value (Mean): for discrete; for continuous. Critical for risk assessment (e.g., loan defaults).
  • Normal Distribution: Symmetric bell curve defined by mean () and standard deviation (). Used in quality control (e.g., NTC’s call-center response times) and finance (e.g., NEPSE stock returns).
  • Binomial vs. Poisson: Binomial models fixed trials with success/failure (e.g., Daraz’s 10% order cancellation rate); Poisson models rare events over time/space (e.g., Pathao’s 3 rides/hour demand spikes).

1. Random Variables: The Bridge Between Data and Probability

A random variable (RV) assigns numerical values to outcomes of a random experiment. It connects real-world events to probability theory.

Types of Random Variables

classDiagram
    class RandomVariable {
        <<abstract>>
        +P(X) or f(x)
    }
    class DiscreteRV {
        +Countable outcomes
        +PMF: P(X = x)
        +Example: Binomial, Poisson
    }
    class ContinuousRV {
        +Uncountable outcomes
        +PDF: f(x)
        +Example: Normal, Uniform
    }
    RandomVariable <|-- DiscreteRV
    RandomVariable <|-- ContinuousRV

Key Idea: Discrete RVs use Probability Mass Function (PMF), while continuous RV use Probability Density Function (PDF).


Worked Example 1: Identifying RVs Scenario: A bank processes loan applications. Let = number of defaults in a month.

  • Is discrete or continuous? Discrete (defaults are counted: 0, 1, 2,...).
  • What’s the PMF? = probability of exactly defaults.

Visual:


2. Discrete Probability Distributions

A. Binomial Distribution

Definition: Models the number of successes () in independent trials, each with success probability . PMF: Mean/Variance:

Real-World Example: Daraz Order Cancellations

  • Scenario: Daraz observes 10% of orders are canceled (). For 15 orders ():
    • What’s the probability at least 3 are canceled?
    • Solution: Use binomial PMF for .

Worked Example 2: Binomial PMF Data: Fit a binomial distribution to (number of defective chips in a batch of 5), with :

0 1 2 3 4 5
16 32 32 16 4 2

Steps:

  1. Verify (total trials).
  2. Check .
  3. Visual:

Exam Tip: Always check if the data fits binomial assumptions:

  • Fixed trials.
  • Independent trials.
  • Constant .

B. Poisson Distribution

Definition: Models rare events over time/space (e.g., accidents, calls to NTC). PMF: Mean/Variance:

Real-World Example: Pathao Ride Requests

  • Scenario: Pathao receives an average of ride requests/hour. What’s the probability of exactly 5 requests in an hour?
  • Solution: .

Worked Example 3: Poisson vs. Binomial Scenario: A call center receives 20 calls/day (, for a "complaint" call).

  • Binomial: .
  • Poisson Approx: . .

Visual Comparison:


3. Continuous Probability Distributions

A. Uniform Distribution

Definition: All outcomes in are equally likely. PDF: Mean/Variance:

Real-World Example: NTC Call Wait Times

  • Scenario: NTC guarantees call wait times are uniformly distributed between 1 and 5 minutes.
    • Probability a call waits >3 minutes: .

Worked Example 4: Uniform CDF Scenario: A bus arrives at a stop every 10 minutes. If arrival times are uniform:

  • Find where = wait time in minutes.
  • Solution:
  • Visual:

B. Exponential Distribution

Definition: Models time between events (e.g., failures, arrivals). PDF: Mean/Variance:

Real-World Example: Khalti Transaction Failures

  • Scenario: Failures occur at rate per hour.
    • Probability a transaction fails within 1 hour: .

Worked Example 5: Exponential CDF Scenario: A computer’s hard drive fails at rate failures/year.

  • Find (drive lasts >5 years).
  • Solution:
  • Visual:

C. Normal Distribution

Definition: Symmetric bell curve defined by (mean) and (standard deviation). PDF: Standard Normal: , . Use -scores:

Real-World Example: NEPSE Stock Returns

  • Scenario: Daily returns are .
    • Probability return >1%: .

Worked Example 6: Normal CDF Scenario: Exam scores are . Find .

  • Steps:
    1. Standardize: , .
    2. Use -table: .
  • Visual:

Exam Tip: For normal distributions:

  • Always standardize (-score) before using tables.
  • Remember empirical rule: 68% within , 95% within .

4. Comparing Discrete and Continuous Distributions

Feature Discrete Distributions Continuous Distributions
Examples Binomial, Poisson Normal, Uniform, Exponential
Probability Function PMF: PDF:
Cumulative Function
Mean/Variance
Graph Bar chart Smooth curve

5. Applications in Nepal’s Tech and Finance

A. Quality Control (NTC, Daraz)

  • Binomial: Daraz checks 10% of orders for defects. If 5% are defective, what’s the probability a sample of 20 has exactly 2 defects?
  • Normal: NTC monitors call durations. If mins, mins, what’s the probability a call lasts >4 mins?

B. Finance (Banks, NEPSE)

  • Poisson: A bank processes 5 loan applications/hour. Probability of 0 applications in 30 mins ():
  • Exponential: NEPSE stock crashes occur at rate per month. Probability of no crash in 6 months:

C. Traffic and Logistics (Pathao, Kathmandu Traffic)

  • Uniform: Traffic lights cycle every 60 seconds. If arrival times are uniform, probability a car waits >45 seconds:
  • Normal: Pathao delivery times are mins. Probability a delivery takes >50 mins:

6. Solving Exam-Style Problems

Problem 1: Binomial Distribution (5 Marks)

A virus enters a system via email (30%) or internet (40%). Independent events.

  1. Probability of no infection: .
  2. Probability of both: .
  3. Visual:
pie
    title Virus Entry Paths
    "Email Only": 0.30
    "Internet Only": 0.40
    "Both": 0.12
    "Neither": 0.42

Problem 2: Normal Distribution (5 Marks)

Exam data: 10% scored <20, 95% scored <75. Assume normal.

  1. Find and :
    • .
    • .
  2. Solve:
  3. Visual:

Problem 3: PDF and CDF (5 Marks)

Given:

  1. Find :
  2. Find :
  3. Visual:

## In the Real World

  1. eSewa and Khalti (Payment Failures)

    • Poisson Distribution: Models rare transaction failures. If Khalti processes 1000 transactions/day with failures/day, the probability of no failures in a day is .
  2. Daraz and NTC (Quality Control)

    • Binomial Distribution: Daraz samples 5% of orders for quality checks. If 2% are defective, the probability a batch of 20 has exactly 1 defect is .
  3. Pathao and Ncell (Customer Wait Times)

    • Exponential Distribution: Ncell’s customer service wait times follow calls/min. The probability a customer waits >5 minutes is .
  4. NEPSE and Banks (Risk Assessment)

    • Normal Distribution: NEPSE stock returns are modeled as . Investors use this to calculate the probability of returns exceeding 2%:

## Exam Tip

  1. Identify the Distribution:

    • Countable data? → Discrete (Binomial/Poisson).
    • Measurable data? → Continuous (Normal/Uniform).
    • Rare events over time? → Poisson.
    • Fixed trials with success/failure? → Binomial.
  2. Check Assumptions:

    • Binomial: Fixed , independent trials, constant .
    • Normal: Symmetric, bell-shaped data (use mean/median ≈ mode).
  3. Visualize:

    • Always sketch the distribution (bar chart for discrete, curve for continuous).
    • Shade the area corresponding to the probability asked.
  4. Standardize for Normal:

    • Convert to using .
    • Use -tables or calculator for probabilities.
  5. Common Pitfalls:

    • Discrete vs. Continuous: is valid for discrete; for continuous, use .
    • Binomial vs. Poisson: Poisson approximates binomial when is large and is small ().
  6. Worked Example Trace:

    • For every problem, write:
      1. Distribution identified.
      2. Parameters (, , , , ).
      3. Formula applied.
      4. Calculation steps.
      5. Final probability with units (e.g., "0.234 or 23.4%").

Final Note: Master the shape of each distribution (binomial’s skew, normal’s symmetry, exponential’s decay) and how parameters shift them. In exams, always justify your choice of distribution before calculations.

Based on the TU BIT syllabus for Basic Statistics (STA154), unit 5.

Discussion

Loading…