Discrete Probability Distributions and Random Variables

Foundation of Random Variables

  • A random experiment generates a sample space SS, which represents the set of all possible outcomes.
  • A random variable (also termed a chance variable or stochastic variable), denoted by XX, is a rule that assigns a unique real number X(s)X(s) to each outcome s∈Ss \in S.

Mapping of outcomes from Sample Space S to Measurement Space

  • Coin Tossing Example:
    • Consider an experiment where a fair coin is tossed 33 times.
    • The sample space SS consists of 88 elementary outcomes:     S={(TTT),(TTH),(THT),(HTT),(HHT),(HTH),(THH),(HHH)}S = \{(TTT), (TTH), (THT), (HTT), (HHT), (HTH), (THH), (HHH)\}
    • Let XX denote the number of heads obtained in the three tosses.
    • Mapping of sample points to real line values:
    • X(TTT)=0X(TTT) = 0
    • X(TTH)=1X(TTH) = 1
    • X(THT)=1X(THT) = 1
    • X(HTT)=1X(HTT) = 1
    • X(HHT)=2X(HHT) = 2
    • X(HTH)=2X(HTH) = 2
    • X(THH)=2X(THH) = 2
    • X(HHH)=3X(HHH) = 3
    • The random variable XX takes values in the set {0,1,2,3}\{0, 1, 2, 3\}.
    • Associated probabilities:
    • P(X=0)=18P(X=0) = \frac{1}{8}
    • P(X=1)=38P(X=1) = \frac{3}{8}
    • P(X=2)=38P(X=2) = \frac{3}{8}
    • P(X=3)=18P(X=3) = \frac{1}{8}

Sample space outcomes mapped to points on the real line for three coin flips

Classification of Random Variables

  • Random variables are broadly classified into two categories:
    • Discrete Random Variable (DRV): Has a finite or countably infinite number of possible outcomes that can be listed. Represents count data in practical applications.
    • Example: Number of defectives in a sample.
    • Example: The number of automobile accidents per year in Whitefield.
    • Example: The number of eggs laid each month by a hen.
    • Continuous Random Variable (CRV): Takes an uncountable number of values across a continuous interval. Represents measured data in practical applications.
    • Example: Heights, weights, distance, temperature.
    • Example: The length of time to play 1818 holes of golf.
    • Example: The amount of milk produced by a particular cow.

Discrete Probability Functions and Parameter Formulas

  • For a discrete random variable XX, each distinct value xx is assigned a real number probability P(x)=P[X=x]P(x) = P[X = x].
  • Axiomatic Requirements for Discrete Probability Density Function (PDF) / Probability Mass Function:
    1. Non-negativity and upper bound: 0≤P(x)≤10 \le P(x) \le 1 for every value x$.\n 2. Completeness (Sum of probabilities): \sum P(x) = 1.\n\n* **Key Measures of a Discrete Probability Distribution**:\n * **Mean (Expected Value)**:\n    \mu = E(X) = \sum x P(x)\n * **Variance**:\n    \sigma^2 = Var(X) = \sum (x - \mu)^2 P(x)\n * Computational alternative formula:\n      \sigma^2 = E[X^2] - [E(X)]^2 = \sum x^2 P(x) - \mu^2\n      where E[X^2] = \sum x^2 P(x).\n * **Standard Deviation**:\n    \sigma = \sqrt{Var(X)} = \sqrt{\sigma^2}\n\n# Detailed Worked Examples on Discrete Random Variables\n\n* **Example 1: Rolling Two Six-Sided Dice**\n * Two fair six-sided dice are rolled. Total possible outcomes = 36.\n * Let Xrepresentthesumofthenumbersshowingonthetwodice(represent the sum of the numbers showing on the two dice (X \in {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}).\n * Probability distribution and calculation details:\n * x = 2: outcomes \{(1,1)\login\}, P(2) = \frac{1}{36},,x P(x) = \frac{2}{36},,x^2 P(x) = \frac{4}{36}\n * x = 3: outcomes \{(1,2), (2,1)\login\}, P(3) = \frac{2}{36},,x P(x) = \frac{6}{36},,x^2 P(x) = \frac{18}{36}\n * x = 4: outcomes \{(1,3), (2,2), (3,1)\login\}, P(4) = \frac{3}{36},,x P(x) = \frac{12}{36},,x^2 P(x) = \frac{48}{36}\n * x = 5: outcomes \{(1,4), (2,3), (3,2), (4,1)\login\}, P(5) = \frac{4}{36},,x P(x) = \frac{20}{36},,x^2 P(x) = \frac{100}{36}\n * x = 6: outcomes \{(1,5), (2,4), (3,3), (4,2), (5,1)\login\}, P(6) = \frac{5}{36},,x P(x) = \frac{30}{36},,x^2 P(x) = \frac{180}{36}\n * x = 7: outcomes \{(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)\login\}, P(7) = \frac{6}{36},,x P(x) = \frac{42}{36},,x^2 P(x) = \frac{294}{36}\n * x = 8: outcomes \{(2,6), (3,5), (4,4), (5,3), (6,2)\login\}, P(8) = \frac{5}{36},,x P(x) = \frac{40}{36},,x^2 P(x) = \frac{320}{36}\n * x = 9: outcomes \{(3,6), (4,5), (5,4), (6,3)\login\}, P(9) = \frac{4}{36},,x P(x) = \frac{36}{36},,x^2 P(x) = \frac{324}{36}\n * x = 10: outcomes \{(4,6), (5,5), (6,4)\login\}, P(10) = \frac{3}{36},,x P(x) = \frac{30}{36},,x^2 P(x) = \frac{300}{36}\n * x = 11: outcomes \{(5,6), (6,5)\login\}, P(11) = \frac{2}{36},,x P(x) = \frac{22}{36},,x^2 P(x) = \frac{242}{36}\n * x = 12: outcomes \{(6,6)\login\}, P(12) = \frac{1}{36},,x P(x) = \frac{12}{36},,x^2 P(x) = \frac{144}{36}\n * Totals:\n * \sum P(x) = \frac{36}{36} = 1.00\n * \mu = E(X) = \sum x P(x) = \frac{252}{36} = 7.0\n * E[X^2] = \sum x^2 P(x) = \frac{1974}{36} \approx 54.8333\n * Variance and Standard Deviation:\n * \sigma^2 = E[X^2] - \mu^2 = 54.8333 - (7.0)^2 = 54.8333 - 49 = 5.8333\n * \sigma = \sqrt{5.8333} = 2.4152\n\n* **Example 2: Verification of Distribution Validity and Parameter Evaluation**\n * Given distribution:\n * P(10) = \frac{1}{8}\n * P(20) = \frac{3}{8}\n * P(30) = \frac{3}{8}\n * P(40) = \frac{1}{8}\n * Verification:\n * 0 \le P(x) \le 1forallfor allx$.
    • \sum P(x) = \frac{1}{8} + \frac{3}{8} + \frac{3}{8} + \frac{1}{8} = \frac{8}{8} = 1$.\n * The distribution represents a valid discrete probability function.\n * Mean calculation:\n * \mu = \sum x P(x) = 10\left(\frac{1}{8}\right) + 20\left(\frac{3}{8}\right) + 30\left(\frac{3}{8}\right) + 40\left(\frac{1}{8}\right) = \frac{10 + 60 + 90 + 40}{8} = \frac{200}{8} = 25\n * Variance calculation:\n * \sigma^2 = \sum (x - \mu)^2 P(x) = (10-25)^2\left(\frac{1}{8}\right) + (20-25)^2\left(\frac{3}{8}\right) + (30-25)^2\left(\frac{3}{8}\right) + (40-25)^2\left(\frac{1}{8}\right)\n * \sigma^2 = \frac{225}{8} + \frac{75}{8} + \frac{75}{8} + \frac{225}{8} = \frac{600}{8} = 75\n * Standard deviation:\n * \sigma = \sqrt{75}\n\n* **Example 3: Ship Arrival Probabilities at Harbor**\n * Probability distribution for number of ships x arriving daily:\n * P(10) = 0.4\n * P(11) = 0.2\n * P(12) = 0.2\n * P(13) = 0.1\n * P(14) = 0.1\n * Questions:\n * a. Probability that exactly 14 ships arrive:\n      P(X = 14) = 0.1\n * b. Probability that at least 12 ships arrive:\n      P(X \ge 12) = P(12) + P(13) + P(14) = 0.2 + 0.1 + 0.1 = 0.4\n * c. Probability that at most 11 ships arrive:\n      P(X \le 11) = P(10) + P(11) = 0.4 + 0.2 = 0.6\n\n* **Example 4: Solving for Constant k and Interval Probabilities**\n * Given probability function for x \in {-3, -2, -1, 0, 1, 2, 3}:\n * P(-3) = k,,P(-2) = 2k,,P(-1) = 3k,,P(0) = 4k,,P(1) = 3k,,P(2) = 2k,,P(3) = k\n * Step 1: Solve for k:\n    \sum P(x) = k + 2k + 3k + 4k + 3k + 2k + k = 16k = 1 \implies k = \frac{1}{16}\n * Distribution table with k = \frac{1}{16}:\n * P(-3) = \frac{1}{16},,P(-2) = \frac{2}{16},,P(-1) = \frac{3}{16},,P(0) = \frac{4}{16},,P(1) = \frac{3}{16},,P(2) = \frac{2}{16},,P(3) = \frac{1}{16}\n * Mean calculation:\n    \mu = \sum x P(x) = -3\left(\frac{1}{16}\right) - 2\left(\frac{2}{16}\right) - 1\left(\frac{3}{16}\right) + 0\left(\frac{4}{16}\right) + 1\left(\frac{3}{16}\right) + 2\left(\frac{2}{16}\right) + 3\left(\frac{1}{16}\right) = \frac{0}{16} = 0\n * Variance calculation:\n * E[X^2] = \sum x^2 P(x) = (-3)^2\left(\frac{1}{16}\right) + (-2)^2\left(\frac{2}{16}\right) + (-1)^2\left(\frac{3}{16}\right) + 0^2\left(\frac{4}{16}\right) + 1^2\left(\frac{3}{16}\right) + 2^2\left(\frac{2}{16}\right) + 3^2\left(\frac{1}{16}\right)\n * E[X^2] = \frac{9 + 8 + 3 + 0 + 3 + 8 + 9}{16} = \frac{40}{16} = \frac{5}{2}\n * \sigma^2 = E[X^2] - \mu^2 = \frac{5}{2} - 0^2 = \frac{5}{2}\n * Standard deviation:\n    \sigma = \sqrt{\frac{5}{2}}\n * Interval probabilities:\n * P(X \le 1) = P(-3) + P(-2) + P(-1) + P(0) + P(1) = \frac{1 + 2 + 3 + 4 + 3}{16} = \frac{13}{16}\n * P(X > 1) = P(2) + P(3) = \frac{2 + 1}{16} = \frac{3}{16}\n * P(-1 < X \le 2) = P(0) + P(1) + P(2) = \frac{4 + 3 + 2}{16} = \frac{9}{16}\n\n* **Example 5: Testing Functions for Probability Distribution Rules**\n * Function 1: f(x) = \frac{x}{15}forforx \in {0, 1, 2, 3, 4, 5}\n * Non-negative: Yes (f(x) \ge 0forallfor allx).\n * Sum of probabilities: \sum f(x) = \frac{0 + 1 + 2 + 3 + 4 + 5}{15} = \frac{15}{15} = 1$.
    • Result: Valid probability distribution.
    • Function 2: f(x)=5−2x6f(x) = \frac{5 - 2x}{6} for x∈{0,1,2,3}x \in \{0, 1, 2, 3\}
    • Non-negative check: For x=3x = 3, f(3) = \frac{5 - 6}{6} = -\frac{1}{6} < 0$.\n * Result: Not a valid probability distribution (violates non-negativity condition).\n * Function 3: f(x) = \frac{1}{4}forforx \in {3, 4, 5, 6}\n * Non-negative: Yes.\n * Sum of probabilities: \sum f(x) = \frac{1}{4} + \frac{1}{4} + \frac{1}{4} + \frac{1}{4} = 1$.
    • Result: Valid probability distribution.
    • Function 4: f(x)=x+125f(x) = \frac{x + 1}{25} for x∈{1,2,3,4,5}x \in \{1, 2, 3, 4, 5\}
    • Sum of probabilities: \sum f(x) = \frac{2 + 3 + 4 + 5 + 6}{25} = \frac{20}{25} = 0.8 \neq 1$.\n * Result: Not a valid probability distribution (sum does not equal 1).\n\n* **Example 6: Sampling Defective Items from a Box**\n * Box contents: Total 12items(items (4defective,defective,8 good).\n * Sample size: 3itemschosenatrandom.Letitems chosen at random. LetXbethenumberofdefectiveitems(be the number of defective items (X \in {0, 1, 2, 3}).\n * Distribution calculations:\n * P(X = 0) = \frac{\binom{4}{0} \times \binom{8}{3}}{\binom{12}{3}} = \frac{1 \times 56}{220} = \frac{14}{55}\n * P(X = 1) = \frac{\binom{4}{1} \times \binom{8}{2}}{\binom{12}{3}} = \frac{4 \times 28}{220} = \frac{28}{55}\n * P(X = 2) = \frac{\binom{4}{2} \times \binom{8}{1}}{\binom{12}{3}} = \frac{6 \times 8}{220} = \frac{12}{55}\n * P(X = 3) = \frac{\binom{4}{3} \times \binom{8}{0}}{\binom{12}{3}} = \frac{4 \times 1}{220} = \frac{1}{55}\n * Mean calculation:\n    \mu = \sum x P(x) = 0\left(\frac{14}{55}\right) + 1\left(\frac{28}{55}\right) + 2\left(\frac{12}{55}\right) + 3\left(\frac{1}{55}\right) = \frac{28 + 24 + 3}{55} = \frac{55}{55} = 1.0\n * Standard deviation calculation:\n * E[X^2] = 0^2\left(\frac{14}{55}\right) + 1^2\left(\frac{28}{55}\right) + 2^2\left(\frac{12}{55}\right) + 3^2\left(\frac{1}{55}\right) = \frac{28 + 48 + 9}{55} = \frac{85}{55} = \frac{17}{11}\n * \sigma^2 = E[X^2] - \mu^2 = \frac{17}{11} - (1.0)^2 = \frac{6}{11}\n * \sigma = \sqrt{\frac{6}{11}}\n\n* **Example 7: Probability Distribution with Parameter K**\n * Distribution for x \in {-2, -1, 0, 1, 2, 3}:\n * P(-2) = 0.1,,P(-1) = K,,P(0) = 0.2,,P(1) = 2K,,P(2) = 0.3,,P(3) = K\n * Solve for K:\n    \sum P(x) = 0.1 + K + 0.2 + 2K + 0.3 + K = 0.6 + 4K = 1 \implies 4K = 0.4 \implies K = 0.1\n * Evaluated probabilities (K = 0.1):\n * P(-2) = 0.1,,P(-1) = 0.1,,P(0) = 0.2,,P(1) = 0.2,,P(2) = 0.3,,P(3) = 0.1\n * Mean:\n    \mu = -2(0.1) - 1(0.1) + 0(0.2) + 1(0.2) + 2(0.3) + 3(0.1) = -0.2 - 0.1 + 0 + 0.2 + 0.6 + 0.3 = 0.8\n * Variance:\n * E[X^2] = (-2)^2(0.1) + (-1)^2(0.1) + 0^2(0.2) + 1^2(0.2) + 2^2(0.3) + 3^2(0.1) = 0.4 + 0.1 + 0 + 0.2 + 1.2 + 0.9 = 2.8\n * \sigma^2 = E[X^2] - \mu^2 = 2.8 - (0.8)^2 = 2.8 - 0.64 = 2.16\n * \sigma = \sqrt{2.16}\n * Tail and range probabilities:\n * P(X < 1) = P(-2) + P(-1) + P(0) = 0.1 + 0.1 + 0.2 = 0.4\n * P(X > -1) = P(0) + P(1) + P(2) + P(3) = 0.2 + 0.2 + 0.3 + 0.1 = 0.8\n * P(-1 < X \le 2) = P(0) + P(1) + P(2) = 0.2 + 0.2 + 0.3 = 0.7\n\n* **Example 8: Quadratic Parameter Equation in Discrete RV**\n * Probability function for x \in {0, 1, 2, 3, 4, 5, 6, 7}:\n * P(0) = 0,,P(1) = K,,P(2) = 2K,,P(3) = 2K,,P(4) = 3K,,P(5) = K^2,,P(6) = 2K^2,,P(7) = 7K^2 + K\n * Step 1: Solve for K:\n    \sum P(x) = 0 + K + 2K + 2K + 3K + K^2 + 2K^2 + (7K^2 + K) = 10K^2 + 9K = 1\n    10K^2 + 9K - 1 = 0 \implies (10K - 1)(K + 1) = 0\n    Since P(x) \ge 0,,K = \frac{1}{10} = 0.1$.
    • Evaluated probabilities:
    • P(0)=0P(0) = 0
    • P(1)=0.1P(1) = 0.1
    • P(2)=0.2P(2) = 0.2
    • P(3)=0.2P(3) = 0.2
    • P(4)=0.3P(4) = 0.3
    • P(5)=(0.1)2=0.01P(5) = (0.1)^2 = 0.01
    • P(6)=2(0.1)2=0.02P(6) = 2(0.1)^2 = 0.02
    • P(7)=7(0.1)2+0.1=0.07+0.1=0.17P(7) = 7(0.1)^2 + 0.1 = 0.07 + 0.1 = 0.17
    • Probability evaluations:
    • P(X<6)=P(0)+P(1)+P(2)+P(3)+P(4)+P(5)=0+0.1+0.2+0.2+0.3+0.01=0.81P(X < 6) = P(0) + P(1) + P(2) + P(3) + P(4) + P(5) = 0 + 0.1 + 0.2 + 0.2 + 0.3 + 0.01 = 0.81
    • P(X≥6)=P(6)+P(7)=0.02+0.17=0.19P(X \ge 6) = P(6) + P(7) = 0.02 + 0.17 = 0.19
    • P(3<X≤6)=P(4)+P(5)+P(6)=0.3+0.01+0.02=0.33P(3 < X \le 6) = P(4) + P(5) + P(6) = 0.3 + 0.01 + 0.02 = 0.33

Bernoulli Trials and the Binomial Distribution

  • Bernoulli Trials: A sequence of trials is defined as Bernoulli trials if:

    1. Each trial has only two possible outcomes: Success (SS) with probability pp, and Failure (FF) with probability q = 1 - p$.\n 2. The probability of success p remains identical across all trials.\n 3. The trials are strictly independent.\n * Example: Rolling a fair die 10timeswithsuccessdefinedasrollingatimes with success defined as rolling a6$.
    • p=16p = \frac{1}{6} (probability of getting 66).
    • q=56q = \frac{5}{6} (probability of getting 1,2,3,4, or 51, 2, 3, 4, \text{ or } 5).
    • Outcomes of separate rolls are independent and pp remains constant.
  • Binomial Experiment:

    • Consists of nn repeated independent trials.
    • Each trial yields two outcomes (SS or FF).
    • Probability of success P(S)=pP(S) = p remains constant.
    • Random variable xx represents the count of successes in nn trials (x∈{0,1,2,…,n}x \in \{0, 1, 2, \dots, n\}).
  • Mathematical Translation Table for Inequalities:

Mathematical Translation Table for Phrases

  • Binomial Probability Formula:   P(x)=nCxpxqn−x=n!(n−x)!x!pxqn−xP(x) = {}_nC_x p^x q^{n-x} = \frac{n!}{(n-x)! x!} p^x q^{n-x}   where:

    • nn = total number of trials
    • pp = probability of success on a single trial
    • q=1−pq = 1 - p = probability of failure on a single trial
    • xx = exact number of successes (x=0,1,2,…,nx = 0, 1, 2, \dots, n)
  • Population Parameters of a Binomial Distribution:

    • Mean: μ=np\mu = n p
    • Variance: σ2=npq\sigma^2 = n p q
    • Standard Deviation: σ=npq\sigma = \sqrt{n p q}
  • Detailed Binomial Examples:

    • Card Experiment:

    • Randomly draw a card from a standard deck of 5252 cards, record if it is an Ace, replace the card, and repeat 88 times.

    • Evaluation: Binomial experiment because trials are independent due to replacement, there are two outcomes (Ace or non-Ace), and probability remains fixed.

    • Parameters: n=8n = 8, p=452=113p = \frac{4}{52} = \frac{1}{13}, q=1−113=1213q = 1 - \frac{1}{13} = \frac{12}{13}, x∈{0,1,2,3,4,5,6,7,8}x \in \{0, 1, 2, 3, 4, 5, 6, 7, 8\}.

    • Red Chips Experiment 1 (Sample Size n=3n = 3):

    • A bag contains 1010 chips (33 red, 55 white, 22 blue). Three chips are selected with replacement (n=3n = 3).

    • Success SS = selecting a red chip   ⟹  p=310=0.3\implies p = \frac{3}{10} = 0.3, q = 0.7$.\n * Probability of selecting exactly one red chip (x = 1):\n      P(1) = {}_3C_1 (0.3)^1 (0.7)^2 = 3 \times 0.3 \times 0.49 = 0.441\n\n * **Red Chips Experiment 2 (Sample Size n = 4)**:\n * Bag has 10chips(chips (3red,red,5white,white,2blue).Fourchipsdrawnwithreplacement(blue). Four chips drawn with replacement (n = 4).\n * Parameters: p = 0.3,,q = 0.7$.

    • Probability Distribution Table:

      • P(0)=4C0(0.3)0(0.7)4=1×1×0.2401=0.240P(0) = {}_4C_0 (0.3)^0 (0.7)^4 = 1 \times 1 \times 0.2401 = 0.240
      • P(1)=4C1(0.3)1(0.7)3=4×0.3×0.343=0.412P(1) = {}_4C_1 (0.3)^1 (0.7)^3 = 4 \times 0.3 \times 0.343 = 0.412
      • P(2)=4C2(0.3)2(0.7)2=6×0.09×0.49=0.265P(2) = {}_4C_2 (0.3)^2 (0.7)^2 = 6 \times 0.09 \times 0.49 = 0.265
      • P(3)=4C3(0.3)3(0.7)1=4×0.027×0.7=0.076P(3) = {}_4C_3 (0.3)^3 (0.7)^1 = 4 \times 0.027 \times 0.7 = 0.076
      • P(4)=4C4(0.3)4(0.7)0=1×0.0081×1=0.008P(4) = {}_4C_4 (0.3)^4 (0.7)^0 = 1 \times 0.0081 \times 1 = 0.008
    • Probability Calculations:

      • a. Probability of selecting no more than 33 red chips (P(X≤3)P(X \le 3)) :         P(X≤3)=P(0)+P(1)+P(2)+P(3)=0.240+0.412+0.265+0.076=0.993P(X \le 3) = P(0) + P(1) + P(2) + P(3) = 0.240 + 0.412 + 0.265 + 0.076 = 0.993
      • b. Probability of selecting at least 11 red chip (P(X≥1)P(X \ge 1)) using complement rule:         P(X≥1)=1−P(0)=1−0.240=0.760P(X \ge 1) = 1 - P(0) = 1 - 0.240 = 0.760
    • College Breakfast Skipping Example:

    • Proportion of students skipping breakfast = 11 out of 55 (p=15=0.2p = \frac{1}{5} = 0.2, q=0.8q = 0.8). Sample size n = 10$.\n * Mean: \mu = n p = 10 \times 0.2 = 2.0\n * Variance: \sigma^2 = n p q = 10 \times 0.2 \times 0.8 = 1.6\n * Standard Deviation: \sigma = \sqrt{1.6} \approx 1.2649\n\n * **Family Children Demographics Example**:\n * Total families N = 800,childrenperfamily, children per familyn = 5.Equalprobabilityofboyorgirl(. Equal probability of boy or girl (p = \frac{1}{2},,q = \frac{1}{2}).Let). Letx be the number of boys.\n * i. Expected number of families with 3boys(boys (x = 3):\n      P(X = 3) = {}_5C_3 \left(\frac{1}{2}\right)^3 \left(\frac{1}{2}\right)^2 = 10 \times \frac{1}{32} = \frac{10}{32}\n      \text{Expected count} = 800 \times \frac{10}{32} = 250\n * ii. Expected number of families with 5girls(girls (x = 0 boys):\n      P(X = 0) = {}_5C_0 \left(\frac{1}{2}\right)^0 \left(\frac{1}{2}\right)^5 = 1 \times \frac{1}{32} = \frac{1}{32}\n      \text{Expected count} = 800 \times \frac{1}{32} = 25\n * iii. Expected number of families with either 2oror3 boys:\n      P(X = 2 \text{ or } 3) = P(2) + P(3) = \frac{10}{32} + \frac{10}{32} = \frac{20}{32}\n      \text{Expected count} = 800 \times \frac{20}{32} = 500\n * iv. Expected number of families with at most 2girls(correspondstogirls (corresponds to3, 4, \text{ or } 5boysboys\implies X \ge 3):\n      P(X \ge 3) = P(3) + P(4) + P(5) = \left[{}_5C_3 + {}_5C_4 + {}_5C_5\right] \left(\frac{1}{2}\right)^5 = \frac{10 + 5 + 1}{32} = \frac{16}{32}\n      \text{Expected count} = 800 \times \frac{16}{32} = 400\n\n * **Telephone Line Busy Example**:\n * Probability of busy line on weekday between 2 pm and 3 pm = \frac{1}{15}((p = \frac{1}{15},,q = \frac{14}{15}).Callsmade). Calls maden = 6$.

    • i. Probability that not more than 33 lines are busy (P(X≤3)P(X \le 3)) :       P(X≤3)=P(0)+P(1)+P(2)+P(3)=0.9997P(X \le 3) = P(0) + P(1) + P(2) + P(3) = 0.9997

    • ii. Probability that at least 33 lines are busy (P(X≥3)P(X \ge 3)) :       P(X≥3)=P(3)+P(4)+P(5)+P(6)=0.005P(X \ge 3) = P(3) + P(4) + P(5) + P(6) = 0.005

Hypergeometric Distribution

  • Characteristics:

    1. A sample of nn elements is randomly selected without replacement from a finite population of NN total elements.
    2. The population contains XX elements categorized as Successes (SS) and (N−X)(N - X) elements categorized as Failures (FF).
    3. The random variable xx measures the exact number of successes obtained in the sample of size n$.\n 4. Trials are dependent because sampling occurs without replacement.\n\n* **Hypergeometric Probability Formula**:\n  P(x) = \frac{\binom{X}{x} \binom{N - X}{n - x}}{\binom{N}{n}}\n  where combination operator is defined as:\n  \binom{N}{x} = \frac{N!}{x!(N - x)!}\n * Definitions of variables:\n * N = Total number of items in population (possible trials)\n * n = Sample size drawn (actual trials)\n * X = Total number of successes available in population (possible successes)\n * x = Number of successes obtained in sample (actual successes)\n\n* **Detailed Hypergeometric Examples**:\n\n * **CD Batch Inspection Example**:\n * Shipment size N = 1000,defectiveCDsinbatch, defective CDs in batchX = 20,non−defectiveCDs, non-defective CDsN - X = 980$.
    • Inspection sample size n = 30$.\n * Rule: Retailer returns batch if 3ormoredefectiveCDsarefound(or more defective CDs are found (x \ge 3).\n * Calculation via complement rule:\n      P(\text{return shipment}) = 1 - [P(0) + P(1) + P(2)]\n * P(0) = \frac{\binom{20}{0}\binom{1000 - 20}{30 - 0}}{\binom{1000}{30}} = \frac{\binom{20}{0}\binom{980}{30}}{\binom{1000}{30}} = 0.541\n * P(1) = \frac{\binom{20}{1}\binom{1000 - 20}{30 - 1}}{\binom{1000}{30}} = \frac{\binom{20}{1}\binom{980}{29}}{\binom{1000}{30}} = 0.341\n * P(2) = \frac{\binom{20}{2}\binom{1000 - 20}{30 - 2}}{\binom{1000}{30}} = \frac{\binom{20}{2}\binom{980}{28}}{\binom{1000}{30}} = 0.099\n * P(\text{return shipment}) = 1 - (0.541 + 0.341 + 0.099) = 1 - 0.981 = 0.019 = 1.9\%\n\n * **Light Bulb Carton Example**:\n * Carton of N = 24bulbs,containingbulbs, containingX = 3defectivebulbsanddefective bulbs andN - X = 21goodbulbs.Samplesizegood bulbs. Sample sizen = 6$.

    • Probability function formula:       P(X=x)=(3x)(216−x)(246)P(X = x) = \frac{\binom{3}{x}\binom{21}{6 - x}}{\binom{24}{6}}

    • Probability of selecting 00 defective bulbs (x=0x = 0):       P(X=0)=(30)(216)(246)=1×54264134596≈0.40316P(X = 0) = \frac{\binom{3}{0}\binom{21}{6}}{\binom{24}{6}} = \frac{1 \times 54264}{134596} \approx 0.40316

    • Probability of selecting all 33 defective bulbs (x=3x = 3):       P(X=3)=(33)(213)(246)=1×1330134596≈0.00988P(X = 3) = \frac{\binom{3}{3}\binom{21}{3}}{\binom{24}{6}} = \frac{1 \times 1330}{134596} \approx 0.00988

    • Automobile Safety Inspection Example:

    • Lot size N=10N = 10, cars inspected n=5n = 5. Below safety standards X=2X = 2, meeting standards N - X = 8$.\n * Find probability that at least 1carinspecteddoesnotmeetsafetystandards(car inspected does not meet safety standards (P(X \ge 1) = P(1) + P(2)).\n * P(1) = \frac{\binom{2}{1}\binom{10 - 2}{5 - 1}}{\binom{10}{5}} = \frac{\binom{2}{1}\binom{8}{4}}{\binom{10}{5}} = \frac{\frac{2!}{1!1!} \times \frac{8!}{4!4!}}{\frac{10!}{5!5!}} = \frac{2 \times 70}{252} = \frac{5}{9} \approx 0.556\n * P(2) = \frac{\binom{2}{2}\binom{10 - 2}{5 - 2}}{\binom{10}{5}} = \frac{\binom{2}{2}\binom{8}{3}}{\binom{10}{5}} = \frac{\frac{2!}{2!0!} \times \frac{8!}{3!5!}}{\frac{10!}{5!5!}} = \frac{1 \times 56}{252} = \frac{2}{9} \approx 0.222\n * Total Probability P(1) + P(2) = \frac{5}{9} + \frac{2}{9} = \frac{7}{9} \approx 0.778$$