4.1: Probability Distribution Function (PDF) for Discrete Random Variables

Fundamentals of Discrete Random Variables

  • Random Variable Definition: A variable whose numerical outcome is determined purely by chance through a statistical experiment, poll, or random process.

  • Discrete Property: The term "discrete" indicates that the random variable can only take on distinct, separated, or specific countable values (such as whole numbers).

  • Standard Notation:

    • Capital letters (such as XX) represent the random variable itself in general terms or as a description of the event.

    • Lowercase letters (such as xx) represent the specific numerical values that the random variable can attain.

  • Dice Rolling Example:

    • Definition of Random Variable: Let XX represent the sum of two rolled standard dice.

    • Attainable Values: The lowercase variable xx can take on any whole number value from the set {2,3,4,5,6,7,8,9,10,11,12}\{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12\}.

    • Randomness: Although the set of possible outcomes is fixed, the specific value xx achieved on any given roll is randomly determined.

Coin Tossing Experiment and Frequency Tables

  • Experiment Overview: Consider an experiment where a coin is tossed 1010 times and the total number of heads is recorded as xx.

Frequency and Relative Frequency table for coin tossing experiment
  • Experimental Outcomes and Frequency Distribution:

    • The attainable values for xx in a 10-coin toss experiment are x∈{0,1,2,3,4,5,6,7,8,9,10}x ∈ \{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}.

    • Frequency of xx: Represents the number of times a specific count xx occurs across repeated trials.

    • Relative Frequency of xx: Represents the proportion of total trials in which the value xx occurs.

  • Key Experimental Questions & Analysis:

    • Most Frequent Value in 10 Tosses: In empirical trials, values near the middle (such as x=5x = 5) typically occur most frequently due to symmetric theoretical probabilities.

    • Extension to 1000 Coin Tosses:

    • Attainable Values: xx can take any integer value from 00 to 10001000 inclusive (x∈{0,1,2,…,1000}x ∈ \{0, 1, 2, \dots, 1000\}).

    • Most Frequent Outcome: The value x=500x = 500 is expected to occur most frequently because the coin has a theoretical success probability of P(Heads)=0.5P(\text{Heads}) = 0.5.

    • Sum of Relative Frequencies: The relative frequency column in any frequency table always sums exactly to 11 (or 100%100\%), as it accounts for all possible outcomes in the sample space.

Probability Distribution Functions (PDF)

  • Definition: A Probability Distribution Function (PDF) for a discrete random variable is a mathematical rule or tabular display that assigns a probability to each possible outcome xx of a random phenomenon.

  • Essential Rules/Properties of a Valid Discrete PDF:

    • Every individual probability value P(x)P(x) must lie strictly between 00 and 11, inclusive:     0≤P(x)≤10 \le P(x) \le 1

    • The sum of all probabilities assigned to every possible value of the discrete random variable xx must equal exactly 11:     ∑P(x)=1\sum P(x) = 1

  • Connection to Relative Frequency:

    • Both PDF tables and relative frequency tables display the likelihood of specific outcomes.

    • Relative frequency tables represent empirical observed data, whereas PDF tables represent theoretical or estimated population probability distributions.

    • PDF tables can be evaluated using the same techniques used to interpret relative frequency distributions.

Discrete PDF Example: Store Visit Analysis

  • Scenario Description: Let XX represent the number of retail stores a driver must visit before finding a specific preferred brand of cookies.

Probability distribution table for store visits
  • Tabulated Probability Distribution:

    • For x=1x = 1 store visit: P(x=1)=0.55P(x = 1) = 0.55

    • For x=2x = 2 store visits: P(x=2)=0.2P(x = 2) = 0.2

    • For x=3x = 3 store visits: P(x=3)=0.15P(x = 3) = 0.15

    • For x=4x = 4 store visits: P(x=4)=0.1P(x = 4) = 0.1

  • Validation of PDF Properties:

    • Range Check: All individual probabilities (0.55,0.2,0.15,0.10.55, 0.2, 0.15, 0.1) are within the range [0,1][0, 1].

    • Sum Check:     ∑P(x)=0.55+0.2+0.15+0.1=1.0\sum P(x) = 0.55 + 0.2 + 0.15 + 0.1 = 1.0

Discrete PDF Example: Blueberry Pint Count Analysis

  • Scenario Description: Investigation into the number of individual blueberries contained within pint packages at a grocery store based on sampling.

Probability distribution table for blueberry count per pint
  • Complete Probability Distribution Table:

    • P(x=147)=0.01P(x = 147) = 0.01

    • P(x=148)=0.02P(x = 148) = 0.02

    • P(x=149)=0.05P(x = 149) = 0.05

    • P(x=150)=0.08P(x = 150) = 0.08

    • P(x=151)=0.18P(x = 151) = 0.18

    • P(x=152)=0.34P(x = 152) = 0.34

    • P(x=153)=0.16P(x = 153) = 0.16

    • P(x=154)=0.10P(x = 154) = 0.10

    • P(x=155)=0.04P(x = 155) = 0.04

    • P(x=156)=0.02P(x = 156) = 0.02

  • Detailed Analytical Questions and Step-by-Step Solutions:

    • 1. Finding the Most Common Number of Blueberries (Mode):

    • Procedure: Identify the value xx associated with the highest probability P(x)P(x).

    • Maximum probability is P(x)=0.34P(x) = 0.34, which corresponds to x=152x = 152

    • Outcome: The most common number of blueberries in a pint is 152152

    • 2. Probability of at Least 150 Blueberries: P(x≥150)P(x \ge 150)

    • Direct Summation Method:       P(x≥150)=P(150)+P(151)+P(152)+P(153)+P(154)+P(155)+P(156)P(x \ge 150) = P(150) + P(151) + P(152) + P(153) + P(154) + P(155) + P(156)       P(x≥150)=0.08+0.18+0.34+0.16+0.10+0.04+0.02=0.92P(x \ge 150) = 0.08 + 0.18 + 0.34 + 0.16 + 0.10 + 0.04 + 0.02 = 0.92

    • Complement Rule Method:       P(x≥150)=1−P(x<150)=1−[P(147)+P(148)+P(149)]P(x \ge 150) = 1 - P(x < 150) = 1 - [P(147) + P(148) + P(149)]       P(x≥150)=1−(0.01+0.02+0.05)=1−0.08=0.92P(x \ge 150) = 1 - (0.01 + 0.02 + 0.05) = 1 - 0.08 = 0.92

    • Outcome: The probability that a pint contains at least 150 blueberries is 0.920.92 (or 92%92\%

    • 3. Calculation of the Sample Mean:

    • Formula for Mean of a Discrete PDF:       μ=∑x⋅P(x)\mu = \sum x \cdot P(x)

    • Term-by-term Multiplication:       147×0.01=1.47147 \times 0.01 = 1.47       148×0.02=2.96148 \times 0.02 = 2.96       149×0.05=7.45149 \times 0.05 = 7.45       150×0.08=12.00150 \times 0.08 = 12.00       151×0.18=27.18151 \times 0.18 = 27.18       152×0.34=51.68152 \times 0.34 = 51.68       153×0.16=24.48153 \times 0.16 = 24.48       154×0.10=15.40154 \times 0.10 = 15.40       155×0.04=6.20155 \times 0.04 = 6.20       156×0.02=3.12156 \times 0.02 = 3.12

    • Summation:       μ=1.47+2.96+7.45+12.00+27.18+51.68+24.48+15.40+6.20+3.12=151.94\mu = 1.47 + 2.96 + 7.45 + 12.00 + 27.18 + 51.68 + 24.48 + 15.40 + 6.20 + 3.12 = 151.94

    • Outcome: The sample mean is 151.94151.94 blueberries.

    • 4. Determination of the Sample Median:

    • Definition: The median represents the 50th percentile, which is the value of xx where cumulative probability reaches or exceeds 0.500.50

    • Accumulating Probabilities sequentially:

      • For x=147x = 147: Cumulative P=0.01P = 0.01

      • For x=148x = 148: Cumulative P=0.01+0.02=0.03P = 0.01 + 0.02 = 0.03

      • For x=149x = 149: Cumulative P=0.03+0.05=0.08P = 0.03 + 0.05 = 0.08

      • For x=150x = 150: Cumulative P=0.08+0.08=0.16P = 0.08 + 0.08 = 0.16

      • For x=151x = 151: Cumulative P=0.16+0.18=0.34P = 0.16 + 0.18 = 0.34

      • For x=152x = 152: Cumulative P=0.34+0.34=0.68P = 0.34 + 0.34 = 0.68

    • Outcome: Since the cumulative probability crosses 0.500.50 at x=152x = 152 (jumping from 0.340.34 to 0.680.68), the sample median is 152152 blueberries.