Discrete Random Variables and Probability Distributions

Learning Objectives

  • Identification of Probability Distributions: Define and list all critical properties and characteristics that govern a valid probability distribution.

  • Distinction of Random Variable Types: Differentiate between discrete random variables and continuous random variables based on their mathematical nature and measurement methods.

  • Statistical Computation: Compute fundamental descriptive measures of a discrete probability distribution, including the mean (expected value), variance, and standard deviation.

Fundamentals of Random Variables

  • Definition of a Random Variable: A variable measured or observed as the outcome of a chance experiment. The variable assumes different numerical values solely by chance.

  • Examples of Random Variables:

    • The number of employees absent from the day shift on Monday; potential values include 00, 11, 22, or 33. Here, the number absent represents the random variable.

  • Classification of Random Variables:

    • Discrete Random Variable: A random variable that can assume only certain clearly separated values. Discrete variables are typically the result of counting.

    • Example 1: Tossing a coin three times and counting the total number of heads obtained.

    • Example 2: A bank counting the exact number of credit cards owned by its customers.

    • Case Study (Bank of the Carolinas): The Bank of the Carolinas counts credit card ownership among a group of customers. The number of cards owned is the discrete random variable XX. The empirical distribution is recorded as follows:


Relative frequency table for number of credit cards owned
  * 00 credit cards: relative frequency = 0.030.03
  * 11 credit card: relative frequency = 0.100.10
  * 22 credit cards: relative frequency = 0.180.18
  * 33 credit cards: relative frequency = 0.210.21
  * 44 or more credit cards: relative frequency = 0.480.48
  * Total relative frequency sum = 1.001.00
  • Continuous Random Variable: A random variable that can assume an infinite number of values within a given range. Continuous variables are typically the result of measuring continuous scales.

    • Example 1: The flight duration between Atlanta and LA, taking values such as 4.67 hours4.67\text{ hours}, 5.13 hours5.13\text{ hours}, or any intermediate real number.

    • Example 2: The annual snowfall measured in Minneapolis, MN, expressed in inches.

Characteristics and Representation of Probability Distributions

  • Definition of Probability Distribution: A complete tabular or mathematical listing of all possible outcomes of an experiment alongside the probability associated with each individual outcome.

  • Three Essential Characteristics of a Probability Distribution:

    1. Bounded Probabilities: The probability P(X)P(X) of any specific outcome XX lies strictly between 00 and 11, inclusive:      0 \normalfont{\text{ ≤ }} P(X) \normalfont{\text{ ≤ }} 1

    2. Mutually Exclusive Outcomes: No two outcomes can occur simultaneously during a single trial of the experiment.

    3. Exhaustive Outcomes: The list includes every possible outcome of the experiment, meaning the sum of all individual probabilities is exactly equal to 11:      ∑P(X)=1.0∑ P(X) = 1.0

  • Example 1 (Course Enrollment Distribution):

    • Objective: Model the number of courses taken by university students per semester.

    • Random Variable: X=number of courses takenX = \text{number of courses taken}.

    • Possible outcomes: 2 subjects2\text{ subjects}, 3 subjects3\text{ subjects}, 4 subjects4\text{ subjects}, and 5 subjects5\text{ subjects}.


Probability distribution table for number of courses taken
  • Distribution Table:

    • X=2→P(X)=0.20X = 2 → P(X) = 0.20

    • X=3→P(X)=0.40X = 3 → P(X) = 0.40

    • X=4→P(X)=0.24X = 4 → P(X) = 0.24

    • X=5→P(X)=0.16X = 5 → P(X) = 0.16

    • Sum of probabilities: 0.20+0.40+0.24+0.16=1.000.20 + 0.40 + 0.24 + 0.16 = 1.00

    • Example 2 (Three Coin Tosses):

  • Objective: Model the number of heads appearing face up when tossing a fair coin 33 times.

  • Sample Space (88 equally likely outcome events):


Sample space outcomes and number of heads for tossing a coin three times
* Outcome 11: T, T, T→X=0\text{T, T, T} → X = 0
* Outcome 22: T, T, H→X=1\text{T, T, H} → X = 1
* Outcome 33: T, H, T→X=1\text{T, H, T} → X = 1
* Outcome 44: T, H, H→X=2\text{T, H, H} → X = 2
* Outcome 55: H, T, T→X=1\text{H, T, T} → X = 1
* Outcome 66: H, T, H→X=2\text{H, T, H} → X = 2
* Outcome 77: H, H, T→X=2\text{H, H, T} → X = 2
* Outcome 88: H, H, H→X=3\text{H, H, H} → X = 3
  • Probability Distribution Table and Graphical Representation:


Probability distribution table and bar chart for 3 coin tosses
* X=0→P(X)=1/8=0.125X = 0 → P(X) = {1}/{8} = 0.125
* X=1→P(X)=3/8=0.375X = 1 → P(X) = {3}/{8} = 0.375
* X=2→P(X)=3/8=0.375X = 2 → P(X) = {3}/{8} = 0.375
* X=3→P(X)=1/8=0.125X = 3 → P(X) = {1}/{8} = 0.125
* Total sum: 8/8=1.000{8}/{8} = 1.000
  • Class Exercise (Vehicle Ownership Distribution):

    • Given raw household count data for car ownership:


Table of number of cars owned and household counts
* 0 cars→12 households0\text{ cars} → 12\text{ households}
* 1 car→40 households1\text{ car} → 40\text{ households}
* 2 cars→30 households2\text{ cars} → 30\text{ households}
* 3 cars→15 households3\text{ cars} → 15\text{ households}
* 4 cars→3 households4\text{ cars} → 3\text{ households}
* Total sample size = 12+40+30+15+3=100 households12 + 40 + 30 + 15 + 3 = 100\text{ households}
  • Formulated Probability Distribution for X=number of cars ownedX = \text{number of cars owned}:

    • X=0→P(X)=12/100=0.12X = 0 → P(X) = {12}/{100} = 0.12

    • X=1→P(X)=40/100=0.40X = 1 → P(X) = {40}/{100} = 0.40

    • X=2→P(X)=30/100=0.30X = 2 → P(X) = {30}/{100} = 0.30

    • X=3→P(X)=15/100=0.15X = 3 → P(X) = {15}/{100} = 0.15

    • X=4→P(X)=3/100=0.03X = 4 → P(X) = {3}/{100} = 0.03

Measures of Central Tendency and Dispersion

  • Mean (Expected Value) of a Discrete Probability Distribution:

    • Represents the typical value used to summarize the central location of the distribution.

    • Equivalently called the expected value, denoted as E(X)E(X) or ̢

    • Formula [6-1]:     ̢ = E(X) = ∑ [x ⋅ P(x)]

  • Variance and Standard Deviation of a Discrete Probability Distribution:

    • Variance (̢^2 or Var(X)\text{Var}(X)): Measures the amount of dispersion, spread, or variation in the distribution.

    • Mathematical definitions:     \text{Var}(X) = E[(X - ̢)^2] = ∑ [(x - ̢)^2 ⋅ P(x)]     \text{Var}(X) = E(X^2) - [E(X)]^2 = ∑ [x^2 ⋅ P(x)] - ̢^2

    • Standard Deviation (̢_X): The positive square root of the variance:     ̢_X = √{\text{Var}(X)}

  • Systematic Steps for Computing Variance:

    1. Compute the distribution mean ̢.

    2. Subtract ̢ from each value of xx to determine the deviations (x - ̢).

    3. Square each deviation term to obtain (x - ̢)^2

    4. Multiply each squared deviation by its corresponding probability P(x)P(x) to yield (x - ̢)^2 P(x).

    5. Sum these product values to calculate the total variance ̢^2

  • Comprehensive Worked Example (John's Saturday Car Sales):

    • Scenario: John tracks his Saturday automobile sales using a discrete probability model.


Calculation table for the mean of car sales probability distribution
  • Step 1: Calculate Expected Car Sales (̢):     ̢ = ∑ [x ⋅ P(x)] = 0(0.1) + 1(0.2) + 2(0.3) + 3(0.3) + 4(0.1)     ̢ = 0.0 + 0.2 + 0.6 + 0.9 + 0.4 = 2.1\text{ cars}     John expects to sell 2.1 cars2.1\text{ cars} on a typical Saturday.

  • Step 2: Calculate Variance (̢^2):


Step-by-step table computing variance for car sales
* x=0→(0−2.1)=−2.1→(−2.1)2=4.41→4.41(0.10)=0.441x = 0 → (0 - 2.1) = -2.1 → (-2.1)^2 = 4.41 → 4.41(0.10) = 0.441
* x=1→(1−2.1)=−1.1→(−1.1)2=1.21→1.21(0.20)=0.242x = 1 → (1 - 2.1) = -1.1 → (-1.1)^2 = 1.21 → 1.21(0.20) = 0.242
* x=2→(2−2.1)=−0.1→(−0.1)2=0.01→0.01(0.30)=0.003x = 2 → (2 - 2.1) = -0.1 → (-0.1)^2 = 0.01 → 0.01(0.30) = 0.003
* x=3→(3−2.1)=0.9→(0.9)2=0.81→0.81(0.30)=0.243x = 3 → (3 - 2.1) = 0.9 → (0.9)^2 = 0.81 → 0.81(0.30) = 0.243
* x=4→(4−2.1)=1.9→(1.9)2=3.61→3.61(0.10)=0.361x = 4 → (4 - 2.1) = 1.9 → (1.9)^2 = 3.61 → 3.61(0.10) = 0.361
* Variance ̢^2 = 0.441 + 0.242 + 0.003 + 0.243 + 0.361 = 1.290
* Standard Deviation ̢ = √{1.290} ≈ 1.1358\text{ cars}
  • Class Exercise (Mean, Variance, and Standard Deviation):

    • Given distribution:

    • X=0→P(X)=0.15X = 0 → P(X) = 0.15

    • X=1→P(X)=0.20X = 1 → P(X) = 0.20

    • X=2→P(X)=0.15X = 2 → P(X) = 0.15

    • X=3→P(X)=0.25X = 3 → P(X) = 0.25

    • X=4→P(X)=0.25X = 4 → P(X) = 0.25

    • Mean Computation:     ̢ = 0(0.15) + 1(0.20) + 2(0.15) + 3(0.25) + 4(0.25)     ̢ = 0 + 0.20 + 0.30 + 0.75 + 1.00 = 2.25

    • Variance Computation (̢^2 = ∑ x^2 P(x) - ̢^2):     E(X2)=02(0.15)+12(0.20)+22(0.15)+32(0.25)+42(0.25)E(X^2) = 0^2(0.15) + 1^2(0.20) + 2^2(0.15) + 3^2(0.25) + 4^2(0.25)     E(X2)=0+0.20+0.60+2.25+4.00=7.05E(X^2) = 0 + 0.20 + 0.60 + 2.25 + 4.00 = 7.05     ̢^2 = 7.05 - (2.25)^2 = 7.05 - 5.0625 = 1.9875

    • Standard Deviation Computation:     ̢ = √{1.9875} ≈ 1.4098

Calculation of Event Probabilities

  • Example (Weekly Pendrive Production):

    • Past data for weekly pendrive production by a machine:

    • X=0→P(X)=0.15X = 0 → P(X) = 0.15

    • X=1→P(X)=0.20X = 1 → P(X) = 0.20

    • X=2→P(X)=0.35X = 2 → P(X) = 0.35

    • X=3→P(X)=0.30X = 3 → P(X) = 0.30

    • Solutions for Specific Events:

    • a) Exactly 2 pendrives:       P(X=2)=0.35P(X = 2) = 0.35

    • b) 0 to 2 pendrives:       P(0 \normalfont{\text{ ≤ }} X \normalfont{\text{ ≤ }} 2) = P(0) + P(1) + P(2) = 0.15 + 0.20 + 0.35 = 0.70

    • c) More than 1 pendrive:       P(X>1)=P(2)+P(3)=0.35+0.30=0.65P(X > 1) = P(2) + P(3) = 0.35 + 0.30 = 0.65

    • d) At most 1 pendrive:       P(X \normalfont{\text{ ≤ }} 1) = P(0) + P(1) = 0.15 + 0.20 = 0.35

  • Class Exercise (Customer Complaints per Day):

    • Distribution of daily complaints XX:

    • X=0→P(X)=0.05X = 0 → P(X) = 0.05

    • X=1→P(X)=0.15X = 1 → P(X) = 0.15

    • X=2→P(X)=0.40X = 2 → P(X) = 0.40

    • X=3→P(X)=0.20X = 3 → P(X) = 0.20

    • X=4→P(X)=0.10X = 4 → P(X) = 0.10

    • X=5→P(X)=0.10X = 5 → P(X) = 0.10

    • Solutions for Specific Events:

    • a) At least two complaints in a day:       P(X \normalfont{\text{ ≥ }} 2) = P(2) + P(3) + P(4) + P(5) = 0.40 + 0.20 + 0.10 + 0.10 = 0.80

    • b) At most two complaints in a day:       P(X \normalfont{\text{ ≤ }} 2) = P(0) + P(1) + P(2) = 0.05 + 0.15 + 0.40 = 0.60

    • c) More than three complaints in a day:       P(X>3)=P(4)+P(5)=0.10+0.10=0.20P(X > 3) = P(4) + P(5) = 0.10 + 0.10 = 0.20

Mathematical Laws of Expected Value and Variance

  • Laws of Expected Value:

    1. Constant Rule: The expectation of a constant aa is the constant itself:      E(a)=aE(a) = a      Examples: E(10)=10E(10) = 10, E(200)=200E(200) = 200

    2. Linear Factor Rule: Multiplying a random variable by a constant aa scales its expectation by aa:      E(aX)=a⋅E(X)E(aX) = a ⋅ E(X)      E(aX2)=a⋅E(X2)E(aX^2) = a ⋅ E(X^2)      Example: E(2X)=2⋅E(X)E(2X) = 2 ⋅ E(X)

    • Worked Example (Expectation Transformation):

    • Given: E(X)=100E(X) = 100 and E(X2)=250E(X^2) = 250

    • Problem: Compute E(3X−2X2+1000)E(3X - 2X^2 + 1000)

    • Evaluation:       E(3X−2X2+1000)=3⋅E(X)−2⋅E(X2)+1000E(3X - 2X^2 + 1000) = 3 ⋅ E(X) - 2 ⋅ E(X^2) + 1000       E(3X−2X2+1000)=3(100)−2(250)+1000=300−500+1000=800E(3X - 2X^2 + 1000) = 3(100) - 2(250) + 1000 = 300 - 500 + 1000 = 800

  • Laws of Variance:

    1. Constant Rule: The variance of any constant aa is zero:      Var(a)=0\text{Var}(a) = 0      Examples: Var(100)=0\text{Var}(100) = 0, Var(3000)=0\text{Var}(3000) = 0

    2. Scale Factor Rule: Multiplying a random variable by a constant aa scales its variance by a2a^2:      Var(aX)=a2⋅Var(X)\text{Var}(aX) = a^2 ⋅ \text{Var}(X)      Examples: Var(3X)=32⋅Var(X)=9⋅Var(X)\text{Var}(3X) = 3^2 ⋅ \text{Var}(X) = 9 ⋅ \text{Var}(X), Var(4X)=16⋅Var(X)\text{Var}(4X) = 16 ⋅ \text{Var}(X)

    • Worked Example (Variance Transformation):

    • Given: Var(X)=120\text{Var}(X) = 120

    • Problem: Compute Var(3X−1000)\text{Var}(3X - 1000)

    • Evaluation:       Var(3X−1000)=Var(3X)+Var(1000)\text{Var}(3X - 1000) = \text{Var}(3X) + \text{Var}(1000)       Var(3X−1000)=32⋅Var(X)+0=9(120)=1080\text{Var}(3X - 1000) = 3^2 ⋅ \text{Var}(X) + 0 = 9(120) = 1080

  • Class Exercise (Linear Revenue Function):

    • Scenario: A company's daily sales (measured in hundreds of units) is represented by a random variable XX with expected value E(X)=10E(X) = 10. Revenue (in RM thousands) is modeled by Y=5X+20Y = 5X + 20

    • Problem: Determine expected daily revenue E(Y)E(Y).

    • Evaluation:     E(Y)=E(5X+20)=5⋅E(X)+20E(Y) = E(5X + 20) = 5 ⋅ E(X) + 20     E(Y)=5(10)+20=70E(Y) = 5(10) + 20 = 70

    • Expected daily revenue is RM 70,000\text{RM } 70,000

Academic References

  • Textbook: Lind, D., Marchal, W., & Wathen, S. (2022). Basic Statistics for Business & Economics (10th ed.). McGraw-Hill Education.

  • Chapter Reference: Chapter 6 (Discrete Probability Distributions).