Comprehensive Lecture Notes on Probability and Probability Distributions
Basic Concepts of Probability
Fundamental Terminology of Random Phenomena:
- Random Experiment (隨機實驗): Any repeatable process or phenomenon that yields uncertain outcomes under identical conditions.
- Sample Space (樣本空間, ): The collection or set of all possible outcomes of a random experiment.
- Sample Point (樣本點): Each individual element or outcome residing within the sample space.
- Event (事件): Any subset of the sample space .
- Simple Event (簡單事件): An event consisting of exactly one sample point.
- Composite Event (複合事件): An event consisting of two or more sample points.
Counting Principles and Combinatorics:
- Permutation (排列, ): The arrangement of elements selected from an -element set where selection sequence or order matters:
- Combination (組合, ): The selection of elements from an -element set where order does not matter:
- Excel Functions for Counting:
- Factorial ():
=FACT(n) - Combination ():
=COMBIN(n, r) - Permutation ():
=PERMUT(n, r)
Example 5-1: Competitor Selection and License Plate Number Generation:
- Scenario 1 (Competition Selection): Selecting participants from 4 individuals (甲, 乙, 丙, 丁):
- Selecting 3 individuals without ordering implies one individual is excluded:
- Selecting 2 individuals without ordering:
- Scenario 2 (Automobile License Plates): Selecting 4 digits from 10 digits ( through ) where digits cannot repeat and the sequence determines the license identity:
Example 5-2: Desert Island Dice Game:
- Experiment: Rolling a fair die twice (or rolling two dice once).
- Sample Space: Contains sample points:
- Event (Escape the Island): Rolling identical values on both outcomes:
- Probability: Since there are 6 favorable outcomes out of 36 equally likely outcomes:
Set Operations and Probability Rules:
- Union (聯集, ): Represents the occurrence of at least one event (, , or both).
- Intersection (交集, ): Represents the simultaneous joint occurrence of both events and .
- Complement (餘集, or ): Represents the event that does not occur:
- Mutually Exclusive Events (互斥事件): Two events that cannot occur at the same time (), meaning .
- Addition Rule of Probability (加法法則):
- Addition Rule for Mutually Exclusive Events:

Example 5-3: E-Commerce Product Purchasing Behavior:
- Given Parameters:
- Member purchase of daily necessities:
- Member purchase of electrical appliances:
- Member purchase of both product categories:
- Calculations:
- Probability of purchasing at least one category:
- Probability of purchasing neither category:
Approaches to Defining Probability:
- Classical Approach (古典先驗機率法): Rooted in theoretical mathematical symmetry and limits; assumes all elementary outcomes in the sample space are equally likely.
- Empirical / Relative Frequency Approach (實驗法 / 相對次數法): Establishes probabilities through repeated experimentation or historical empirical observations as the ratio of favorable outcomes to total trials.
- Subjective Approach (主觀機率法): Based on an individual's personal belief, judgment, intuition, or qualitative assessment before empirical trials.
- Uniform Distribution (均勻分配): Occurs when every elementary outcome has an identical probability of happening:
- Discrete Uniform Distribution: Tossing a fair die where each face has probability .
- Continuous Uniform Distribution: The arrival time of a bus within a 5-minute window.
Example 5-4: Lottery Number Selection Classification:
- Computer automated quick pick (電腦隨機選號): Classical probability approach.
- Analyzing historical winning frequency records (研究過去開獎號碼出現次數): Empirical/relative frequency approach.
- Self-selected lucky numbers (自己選號): Subjective probability approach.
Conditional Probability, Independence, and Contingency Analysis
Conditional Probability (條件機率):
- The probability of an event occurring given that another event has already occurred:
- Marginal Probability (邊際機率): The probability of a single event occurring without regard to other events (e.g., or ).
- Joint Probability (聯合機率): The probability of the simultaneous intersection of two events ().
- Multiplication Rule (乘法法則):
Event Independence (獨立事件):
- Event does not affect the occurrence of event . Two events and are independent if and only if any of the following three equivalent conditions hold:
Example 5-5: Weather Forecast and Umbrella Carrying:
- Let event denote checking the weather forecast (: not checking).
- Let event denote carrying an umbrella (: not carrying).
- The sequential nature creates four sample path points: .
- Calculating joint probabilities along tree branches: .
- Independence Analysis:
- Individual 甲 checks the forecast (70% rain) and carries an umbrella because of it (), demonstrating dependent events.
Individual 乙 carries an umbrella regardless of the weather forecast (), demonstrating independent events.

Distinction Between Joint Probability and Conditional Probability:
- Joint Probability: Pertains to intersection and simultaneous occurrence at the same moment in time (e.g., purchasing pizza and buying soda together at checkout).
- Conditional Probability: Involves a time sequence or prior condition (e.g., given a consumer bought toilet paper during this promotion, predicting whether they will purchase toilet paper again six months later).
- Independent events are not necessarily mutually exclusive.
Contingency Table (Cross-Tabulation) and Probability Trees:
- Contingency analysis of retail food tasting and purchase behaviors:
| Action | Purchase () | Did Not Purchase () | Total |
|---|---|---|---|
| Sampled Food () | |||
| Did Not Sample () | |||
| Total |
Derived Conditional Probabilities:
Given that a customer sampled the food, the probability they purchase is:
Given that a customer sampled the food, the probability they do not purchase is:
Given that a customer did not sample the food, the probability they purchase is:
Given that a customer did not sample the food, the probability they do not purchase is:
Example 5-6: Examination Failure Analysis:
Event : Failing Mathematics ( or ).
Event : Failing English ( or ).
Event : Failing both Mathematics and English ( or ).
| Examination Outcome | English Fail () | English Pass () | Total |
|---|---|---|---|
| Math Fail () | |||
| Math Pass () | |||
| Total |
- Conditional Probabilities:
- Given a student failed Math, probability they also failed English:
- Given a student failed English, probability they also failed Math:
Bayes' Theorem and Bayesian Inference
Foundations of Bayes' Theorem (貝式定理):
- Used to update prior beliefs and infer the backward causal probability of an event given that an effect has been observed:
- Key Components:
- Prior Probability (先驗機率, ): Initial belief or subjective estimate before new evidence is collected.
- Likelihood / Likelihood Probability (概似機率, ): The conditional probability of observing evidence given hypothesis/state .
- Posterior Probability (事後機率, ): The updated probability of hypothesis after evidence has been observed.
Worked Example: Drunk Driving and Car Accidents:
- Prior probabilities: Driver is drunk ; Driver is sober .
- Likelihoods: ; .
- Backward inference given an accident has occurred:
- Conclusion: of vehicle accidents in this jurisdiction are attributable to drunk driving.
Example 5-7: Factory Industrial Accident Attribution:
- Two production facilities: New Taipei plant employs (); Taoyuan plant employs ().
- Annual accident rates: ; .
- Overall accident probability:
- Probability an injured employee belongs to the New Taipei plant:
In-Depth Case Study: Decision Making via Bayesian Inference:
- Objective Probability vs. Subjective Probability:
- Objective probability (frequentist) demands infinite repeatability under identical conditions and independent causal trials (e.g., rainfall probabilities derived from matching atmospheric profiles).
- In complex enterprise strategy or space exploration (e.g., NASA), conditions are unique across missions; historical relative frequencies cannot serve as direct objective probabilities.
- Thomas Bayes introduced subjective probability: setting a prior parameter, observing actual occurrences, and progressively updating beliefs.
- Trust Re-evaluation Model:
- Initial prior state: A new business counterpart is assigned probability of being "trustworthy" and "untrustworthy" (or untrustworthy if intuitively suspicious).
- Behavioral assumptions (likelihoods):
- If trustworthy: probability of telling the truth = , lying = .
- If untrustworthy: probability of telling the truth = , lying = .
- Joint probability grid:
- Box I (Untrustworthy & Truth):
- Box II (Trustworthy & Truth):
- Box III (Trustworthy & Lie):
- Box IV (Untrustworthy & Lie):
- Observed result: The partner is caught telling a lie once. The evaluation space restricts strictly to Boxes III and IV:
- Updating belief raises the probability of the counterpart being untrustworthy from to .

- Real-World and High-Tech Applications of Bayesian Inference:
- Medical Diagnostics: Textbooks teach disease to symptom (measles red rash), but clinical diagnosis flows backward (observing a red rash to infer probability of measles).
- Athletics: Tennis players update predictions of ball bounce and trajectory mid-rally using visual/auditory cues.
- Information Technology: Spam mail filtering, operating system help assistance, medical diagnostic imaging.
- Aerospace: NASA space shuttle propulsion health monitoring systems utilize Bayesian networks to detect faulty components from real-time sensor streams and determine immediate mitigations.
Random Variables, Expectation, and Variance
- Concepts of Random Variables and Probability Distributions:
- Random Variable (隨機變數, ): A real-valued function that maps every outcome in sample space to a numerical value.
- Probability Distribution (機率分配): A complete specification listing all possible values of a random variable alongside their associated probabilities, represented via equations, tables, or graphs.

Classification of Random Variables:
- Discrete Random Variable (間斷隨機變數): Takes on countable values (finite or countably infinite).
- Continuous Random Variable (連續隨機變數): Takes on any value within an unbroken interval on the real line.
- Example 5-8 Classifications:
- Number of games won out of 5 matches: Discrete (, finite count).
- Customer waiting time at checkout: Continuous (, infinite uncountable values).
- Number of vehicles using a highway over New Year holiday: Discrete (, countably infinite).
Mathematical Formulation for Discrete vs. Continuous Random Variables:
| Property | Discrete Random Variable | Continuous Random Variable |
|---|---|---|
| Values () | or | , , , or |
| Probability Function | Probability Function: or | Probability Density Function (pdf): |
| Core Properties | for all | for all at any exact point |
| Cumulative Distribution Function (cdf, ) | ||
| Expected Value ( or ) | ||
| Variance ( or ) |
Example 5-9: Sum of Points from Rolling Two Dice:
- Random experiment has outcomes. The sum ranges from through .
- Probability Distribution Table:
- Calculated Metrics:
- Expected Value:
- Variance:
- Standard Deviation:
- Excel Implementation Steps:
- Step 1: Input values into column
A(A2:A12) and probabilities into columnB(B2:B12). - Step 2: Compute expected value using
=SUMPRODUCT(A2:A12, B2:B12)in cellG2, yielding7. - Step 3: Populate column
Dwith squared deviations using formula=(A2-$G$2)^2and drag throughD12. - Step 4: Compute variance in
G3using=SUMPRODUCT(D2:D12, B2:B12)(), and standard deviation inG4using=SQRT(G3)().
Linear Transformation Properties of Expectation and Variance:
- For any constant , and constants :
| Transformation Property | Expected Value | Variance |
|---|---|---|
| Constant | ||
| Shift by Constant | ||
| Scaling by Constant | ||
| Linear Combination |
- Example 5-10: Scaled Weight of an Apple Gift Box:
- Random variable represents weight of one apple: , .
- Variable represents the scaled weight of a 6-apple gift box:
- Expected Value:
- Variance:
- Standard Deviation:
Discrete Probability Distributions
Binomial Distribution (二項分配)
Properties of a Binomial Experiment:
- Fixed number of trials ().
- Each trial has strictly two mutually exclusive outcomes: Success () and Failure ().
- Probability of success remains constant from trial to trial; failure probability is .
- Trials are statistically independent.
Mathematical Formulation:
- Probability Mass Function (pmf):
- Expected Value:
- Variance:
- Excel formula:
=BINOM.DIST(x, n, p, cumulative)(whereFALSEor0calculates ;TRUEor1calculates ).
Example 5-11: Multiple-Choice Test Guessing Scenarios:
- Baseline Test (10 Questions, 5 choices, 10 points each):
- Parameters: , , score .
- Most likely number of correct guesses: with .
- Probability of passing ( correct answers):
- Expected correct answers and test score:
- Modified Test 1 (10 Questions, 4 choices, 10 points each):
- Parameters: , , score .
- Highest probability outcome: with .
- Passing probability: .
- Expected values: , .
- Modified Test 2 (20 Questions, 4 choices, 5 points each):
- Parameters: , , score .
- Highest probability outcome: with .
- Passing probability ( correct):
- Expected values: , .
Hypergeometric Distribution (超幾何分配)
- Hypergeometric Characteristics (Sampling Without Replacement):
- Population size is finite () containing successes and failures.
- Sample size is drawn without replacement.
- Individual trials are dependent because selection changes subsequent composition.

Mathematical Formulation:
- Probability Mass Function:
- Expected Value:
- Variance:
- Finite Population Correction Factor (有限母體校正因子): , adjusts variance downwards to account for sampling without replacement.
- Excel formula:
=HYPGEOM.DIST(x, n, k, N, cumulative).
Example 5-12: Shipment Defect Inspection:
- Parameters: Total shipment , defectives , sample size . Buyer rejects shipment if defective count X > 1$.\n * Probability of finding 0 defectives:\n P(X = 0) = \frac{C_0^5 C_{10}^{45}}{C_{10}^{50}} \approx 0.3106\n * Probability of finding 1 defective:\n P(X = 1) = \frac{C_1^5 C_9^{45}}{C_{10}^{50}} \approx 0.4313\n * Probability of rejection (> 1 defective):\n P(X > 1) = 1 - P(X \le 1) = 1 - (0.3106 + 0.4313) = 1 - 0.7419 = 0.2581 = 25.81\%\n * **Process Improvement Scenario (Defect rate dropped to 4%)**:\n * New defective count: k = 50 \times 0.04 = 2.\n * Rejection probability:\n P(X > 1) = 1 - P(X \le 1) = 1 - (P(0) + P(1)) = 1 - (0.6367 + 0.3265) = 1 - 0.9633 = 0.0367 = 3.67\%\n\n## Poisson Distribution (卜瓦松分配)\n\n* **Poisson Experiment Characteristics**:\n * Counts occurrences of a rare event across a continuous specified interval (time, length, area, volume).\n * Occurrences across non-overlapping intervals are independent.\n * Average rate of occurrence is \lambda per unit interval.\n * Expected occurrences scale proportionally with interval size (t\lambdat).\n\n* **Mathematical Formulation**:\n * X \sim \text{Poisson}(\lambda)\n * Probability Mass Function:\n P(X = x) = \frac{e^{-\lambda} \lambda^x}{x!}, \quad x = 0, 1, 2, \dots, \quad e \approx 2.71828\n * Expected Value: E(X) = \lambda\n * Variance: V(X) = \lambda\n * Excel formula: `=POISSON.DIST(x, lambda, cumulative)`.\n\n* **Example 5-13: Publishing Typo Analysis**:\n * Baseline: Typo rate is 1 error per 40 pages (\lambda = 1 per 40 pages).\n * For a 200-page book, the interval scales by t = \frac{200}{40} = 5t\lambda = 5.\n * Probability of no typos:\n P(X = 0) = \frac{e^{-5} 5^0}{0!} \approx 0.0067 = 0.67\%\n * Probability of 3 to 5 typos:\n P(3 \le X \le 5) = P(3) + P(4) + P(5) = 0.1404 + 0.1755 + 0.1755 = 0.4913 = 49.13\%\n P(X \le 5) - P(X \le 2) = 0.6160 - 0.1247 = 0.4913\n * Probability of more than 10 typos:\n P(X > 10) = 1 - P(X \le 9) = 1 - 0.9682 = 0.0318 = 3.18\%\n\n## Relationships and Approximations Across Discrete Distributions\n\n* **Summary Comparison Table**:\n\n| Distribution | Probability Mass Function (P(X = x)xE(X)V(X)) |\n| :--- | :--- | :--- | :--- | :--- |\n| **Binomial** | C_x^n p^x (1 - p)^{n - x}0, 1, \dots, nnpnp(1 - p) |\n| **Hypergeometric** | \frac{C_x^k C_{n - x}^{N - k}}{C_n^N}0, 1, \dots, nnpnp(1 - p) \frac{N - n}{N - 1} |\n| **Poisson** | \frac{e^{-\lambda} \lambda^x}{x!}0, 1, 2, \dots\lambda\lambda |\n\n* **Approximation Rules**:\n * **Hypergeometric to Binomial**: When sampling fraction \frac{n}{N} \le 0.05n, p = \frac{k}{N}).\n * **Binomial to Poisson**: When sample size is large (n > 20np \le 7\lambda = np.\n\n\n\n* **Example 5-14: Insurance Policy Claim Risk Comparison**:\n * Parameters: n = 700p = 0.001.\n * Condition check: n = 700 > 20np = 700 \times 0.001 = 0.70 \le 7.\n * Binomial calculation for zero claims:\n P(X = 0) = C_0^{700} (0.001)^0 (0.999)^{700} \approx 0.4964\n * Poisson approximation calculation (\lambda = 0.70):\n P(X = 0) = \frac{e^{-0.7} (0.7)^0}{0!} \approx 0.4966\n * The two models produce virtually identical probabilities (0.49640.4966).\n\n# Continuous Probability Distributions\n\n## Normal Distribution (常態分配)\n\n* **Fundamental Properties**:\n * Often designated as the Gaussian distribution (高斯分配) or Z distribution.\n * Essential due to natural physical phenomena following normal structures and its foundational role in inferential statistics.\n * Continuous, bell-shaped, single-peaked (unimodal), and symmetrical around its mean \mu.\n * Asymptotic tails extend infinitely in both directions along the horizontal axis without touching it (-\infty < x < \infty).\n * Inflection points (反曲點) where the curvature changes from convex to concave occur exactly at \mu - \sigma\mu + \sigma.\n\n* **Probability Density Function (pdf)**:\n f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x - \mu)^2}{2\sigma^2}}, \quad -\infty < x < \infty\n\n* **The Empirical Rule (經驗法則)**:\n * Area within \mu \pm 1\sigma68.3\% of the total probability.\n * Area within \mu \pm 2\sigma95.45\%95.4\%).\n * Area within \mu \pm 3\sigma99.73\%99.7\%).\n\n\n\n* **Standardization Process**:\n * Any general normal distribution X \sim N(\mu, \sigma)Z \sim N(0, 1) by subtracting the mean and dividing by the standard deviation:\n Z = \frac{X - \mu}{\sigma}\n\n\n\n* **Comparison Table: Normal vs. Standard Normal Distribution**:\n\n| Property | Normal Distribution | Standard Normal Distribution |\n| :--- | :--- | :--- | \n| **Random Variable** | Before standardization: X \sim N(\mu, \sigma)Z \sim N(0, 1) |\n| **Mean** | \mu0 |\n| **Standard Deviation** | \sigma1 |\n| **Probability Density Function** | f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x - \mu)^2}{2\sigma^2}}f(z) = \frac{1}{\sqrt{2\pi}} e^{-\frac{z^2}{2}} |\n| **Domain of Values** | -\infty < x < \infty-\infty < z < \infty |\n\n* **Example 5-15: Mock Examination Score Performance**:\n * Population parameters: N = 600X \sim N(72, 18^2)\mu = 72\sigma = 18.\n * **Probability of Failing (< 60 points)**:\n P(X < 60) = P\left(Z < \frac{60 - 72}{18}\right) = P(Z < -0.67) \approx 0.2525\n * Excel function: `=NORM.DIST(60, 72, 18, 1)` yields `0.2525`.\n * **Expected Number of Failing Students**:\n \text{Count} = 600 \times 0.2525 = 151.5 \approx 152\text{ students}\n * **Probability of Scoring Above 80 Points**:\n P(X > 80) = P\left(Z > \frac{80 - 72}{18}\right) = P(Z > 0.44) = 1 - P(Z \le 0.44) = 1 - 0.6716 = 0.3284\n * Excel function: `=1 - NORM.DIST(80, 72, 18, 1)` yields `0.3284`.\n * **Probability of Scoring Between 60 and 80 Points**:\n P(60 < X < 80) = P(X < 80) - P(X < 60) = 0.6716 - 0.2525 = 0.4191\n * **Score Threshold for Top 10% Cutoff**:\n * Target condition: Top 10\%0.90P(Z \le z) = 0.90).\n * The Z0.90Z = 1.282.\n * Solving for x:\n 1.28 = \frac{x - 72}{18} \implies x = 72 + (1.28 \times 18) = 72 + 23.04 = 95.04 \approx 95.07\n * Excel functions:\n * Finding Z-score: `=NORM.S.INV(0.90)` yields `1.282`.\n * Direct cutoff: `=NORM.INV(0.90, 72, 18)` yields `95.07`.\n * Conclusion: A student must score at least 95 points to have a chance of admission to their top choice school.\n\n## Exponential Distribution (指數分配)\n\n* **Exponential Nature and Relationship to Poisson**:\n * Whereas the Poisson distribution counts the number of event arrivals in a fixed span, the exponential distribution models the continuous elapsed time (or distance) between successive arrivals.\n * Memoryless continuous distribution.\n\n\n\n* **Comparative Structure: Exponential vs. Poisson**:\n\n| Attribute | Exponential Distribution | Poisson Distribution |\n| :--- | :--- | :--- |\n| **Random Variable (XX \sim \text{Exponential}(\beta)X \sim \text{Poisson}(\lambda) |\n| **Probability Density / Mass** | f(x) = \frac{1}{\beta} e^{-\frac{x}{\beta}}P(X = x) = \frac{e^{-\lambda} \lambda^x}{x!} |\n| **Domain of Support** | x \ge 0x = 0, 1, 2, \dots (Discrete) |\n| **Mean (E(X)\beta = \frac{1}{\lambda}\lambda |\n| **Variance (V(X)\beta^2\lambda |\n| **Real-World Examples** | • Time between vehicles entering a lot
• Time elapsed between machine failures
• Distance in kilometers between potholes | • Number of vehicles entering per hour
• Number of machine failures per 30 minutes
• Number of potholes per 10 km stretch |\n\n* **Example 5-16: Automobile Battery Lifespan**:\n * Mean lifespan: \beta = 24X \sim \text{Exponential}(\beta = 24)).\n * Rate parameter: \lambda = \frac{1}{\beta} = \frac{1}{24}.\n * Probability of requiring a replacement battery within 18 months (X < 18):\n P(X < 18) = 0.5276\n * Excel Implementation:\n * Input formula: `=EXPON.DIST(18, 1/24, 1)`\n * Cumulative left-tail output: `0.5276`\n * Corresponding right-tail survival probability (P(X > 18)$$):0.4724
- Parameters: Total shipment , defectives , sample size . Buyer rejects shipment if defective count X > 1$.\n * Probability of finding 0 defectives:\n P(X = 0) = \frac{C_0^5 C_{10}^{45}}{C_{10}^{50}} \approx 0.3106\n * Probability of finding 1 defective:\n P(X = 1) = \frac{C_1^5 C_9^{45}}{C_{10}^{50}} \approx 0.4313\n * Probability of rejection (> 1 defective):\n P(X > 1) = 1 - P(X \le 1) = 1 - (0.3106 + 0.4313) = 1 - 0.7419 = 0.2581 = 25.81\%\n * **Process Improvement Scenario (Defect rate dropped to 4%)**:\n * New defective count: k = 50 \times 0.04 = 2.\n * Rejection probability:\n P(X > 1) = 1 - P(X \le 1) = 1 - (P(0) + P(1)) = 1 - (0.6367 + 0.3265) = 1 - 0.9633 = 0.0367 = 3.67\%\n\n## Poisson Distribution (卜瓦松分配)\n\n* **Poisson Experiment Characteristics**:\n * Counts occurrences of a rare event across a continuous specified interval (time, length, area, volume).\n * Occurrences across non-overlapping intervals are independent.\n * Average rate of occurrence is \lambda per unit interval.\n * Expected occurrences scale proportionally with interval size (t\lambdat).\n\n* **Mathematical Formulation**:\n * X \sim \text{Poisson}(\lambda)\n * Probability Mass Function:\n P(X = x) = \frac{e^{-\lambda} \lambda^x}{x!}, \quad x = 0, 1, 2, \dots, \quad e \approx 2.71828\n * Expected Value: E(X) = \lambda\n * Variance: V(X) = \lambda\n * Excel formula: `=POISSON.DIST(x, lambda, cumulative)`.\n\n* **Example 5-13: Publishing Typo Analysis**:\n * Baseline: Typo rate is 1 error per 40 pages (\lambda = 1 per 40 pages).\n * For a 200-page book, the interval scales by t = \frac{200}{40} = 5t\lambda = 5.\n * Probability of no typos:\n P(X = 0) = \frac{e^{-5} 5^0}{0!} \approx 0.0067 = 0.67\%\n * Probability of 3 to 5 typos:\n P(3 \le X \le 5) = P(3) + P(4) + P(5) = 0.1404 + 0.1755 + 0.1755 = 0.4913 = 49.13\%\n P(X \le 5) - P(X \le 2) = 0.6160 - 0.1247 = 0.4913\n * Probability of more than 10 typos:\n P(X > 10) = 1 - P(X \le 9) = 1 - 0.9682 = 0.0318 = 3.18\%\n\n## Relationships and Approximations Across Discrete Distributions\n\n* **Summary Comparison Table**:\n\n| Distribution | Probability Mass Function (P(X = x)xE(X)V(X)) |\n| :--- | :--- | :--- | :--- | :--- |\n| **Binomial** | C_x^n p^x (1 - p)^{n - x}0, 1, \dots, nnpnp(1 - p) |\n| **Hypergeometric** | \frac{C_x^k C_{n - x}^{N - k}}{C_n^N}0, 1, \dots, nnpnp(1 - p) \frac{N - n}{N - 1} |\n| **Poisson** | \frac{e^{-\lambda} \lambda^x}{x!}0, 1, 2, \dots\lambda\lambda |\n\n* **Approximation Rules**:\n * **Hypergeometric to Binomial**: When sampling fraction \frac{n}{N} \le 0.05n, p = \frac{k}{N}).\n * **Binomial to Poisson**: When sample size is large (n > 20np \le 7\lambda = np.\n\n\n\n* **Example 5-14: Insurance Policy Claim Risk Comparison**:\n * Parameters: n = 700p = 0.001.\n * Condition check: n = 700 > 20np = 700 \times 0.001 = 0.70 \le 7.\n * Binomial calculation for zero claims:\n P(X = 0) = C_0^{700} (0.001)^0 (0.999)^{700} \approx 0.4964\n * Poisson approximation calculation (\lambda = 0.70):\n P(X = 0) = \frac{e^{-0.7} (0.7)^0}{0!} \approx 0.4966\n * The two models produce virtually identical probabilities (0.49640.4966).\n\n# Continuous Probability Distributions\n\n## Normal Distribution (常態分配)\n\n* **Fundamental Properties**:\n * Often designated as the Gaussian distribution (高斯分配) or Z distribution.\n * Essential due to natural physical phenomena following normal structures and its foundational role in inferential statistics.\n * Continuous, bell-shaped, single-peaked (unimodal), and symmetrical around its mean \mu.\n * Asymptotic tails extend infinitely in both directions along the horizontal axis without touching it (-\infty < x < \infty).\n * Inflection points (反曲點) where the curvature changes from convex to concave occur exactly at \mu - \sigma\mu + \sigma.\n\n* **Probability Density Function (pdf)**:\n f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x - \mu)^2}{2\sigma^2}}, \quad -\infty < x < \infty\n\n* **The Empirical Rule (經驗法則)**:\n * Area within \mu \pm 1\sigma68.3\% of the total probability.\n * Area within \mu \pm 2\sigma95.45\%95.4\%).\n * Area within \mu \pm 3\sigma99.73\%99.7\%).\n\n\n\n* **Standardization Process**:\n * Any general normal distribution X \sim N(\mu, \sigma)Z \sim N(0, 1) by subtracting the mean and dividing by the standard deviation:\n Z = \frac{X - \mu}{\sigma}\n\n\n\n* **Comparison Table: Normal vs. Standard Normal Distribution**:\n\n| Property | Normal Distribution | Standard Normal Distribution |\n| :--- | :--- | :--- | \n| **Random Variable** | Before standardization: X \sim N(\mu, \sigma)Z \sim N(0, 1) |\n| **Mean** | \mu0 |\n| **Standard Deviation** | \sigma1 |\n| **Probability Density Function** | f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x - \mu)^2}{2\sigma^2}}f(z) = \frac{1}{\sqrt{2\pi}} e^{-\frac{z^2}{2}} |\n| **Domain of Values** | -\infty < x < \infty-\infty < z < \infty |\n\n* **Example 5-15: Mock Examination Score Performance**:\n * Population parameters: N = 600X \sim N(72, 18^2)\mu = 72\sigma = 18.\n * **Probability of Failing (< 60 points)**:\n P(X < 60) = P\left(Z < \frac{60 - 72}{18}\right) = P(Z < -0.67) \approx 0.2525\n * Excel function: `=NORM.DIST(60, 72, 18, 1)` yields `0.2525`.\n * **Expected Number of Failing Students**:\n \text{Count} = 600 \times 0.2525 = 151.5 \approx 152\text{ students}\n * **Probability of Scoring Above 80 Points**:\n P(X > 80) = P\left(Z > \frac{80 - 72}{18}\right) = P(Z > 0.44) = 1 - P(Z \le 0.44) = 1 - 0.6716 = 0.3284\n * Excel function: `=1 - NORM.DIST(80, 72, 18, 1)` yields `0.3284`.\n * **Probability of Scoring Between 60 and 80 Points**:\n P(60 < X < 80) = P(X < 80) - P(X < 60) = 0.6716 - 0.2525 = 0.4191\n * **Score Threshold for Top 10% Cutoff**:\n * Target condition: Top 10\%0.90P(Z \le z) = 0.90).\n * The Z0.90Z = 1.282.\n * Solving for x:\n 1.28 = \frac{x - 72}{18} \implies x = 72 + (1.28 \times 18) = 72 + 23.04 = 95.04 \approx 95.07\n * Excel functions:\n * Finding Z-score: `=NORM.S.INV(0.90)` yields `1.282`.\n * Direct cutoff: `=NORM.INV(0.90, 72, 18)` yields `95.07`.\n * Conclusion: A student must score at least 95 points to have a chance of admission to their top choice school.\n\n## Exponential Distribution (指數分配)\n\n* **Exponential Nature and Relationship to Poisson**:\n * Whereas the Poisson distribution counts the number of event arrivals in a fixed span, the exponential distribution models the continuous elapsed time (or distance) between successive arrivals.\n * Memoryless continuous distribution.\n\n\n\n* **Comparative Structure: Exponential vs. Poisson**:\n\n| Attribute | Exponential Distribution | Poisson Distribution |\n| :--- | :--- | :--- |\n| **Random Variable (XX \sim \text{Exponential}(\beta)X \sim \text{Poisson}(\lambda) |\n| **Probability Density / Mass** | f(x) = \frac{1}{\beta} e^{-\frac{x}{\beta}}P(X = x) = \frac{e^{-\lambda} \lambda^x}{x!} |\n| **Domain of Support** | x \ge 0x = 0, 1, 2, \dots (Discrete) |\n| **Mean (E(X)\beta = \frac{1}{\lambda}\lambda |\n| **Variance (V(X)\beta^2\lambda |\n| **Real-World Examples** | • Time between vehicles entering a lot