Lecture 5: Normal Curves

Fundamental Characteristics of the Normal Probability Distribution

  • Continuous Data Model: The normal probability distribution is a continuous probability distribution defined for continuous random variables.

  • Bell-Shaped Curve: The graph of the normal probability density function is a symmetric, bell-shaped curve, frequently referred to as the Gaussian curve.

Standard Normal Probability Curve showing mean mu and standard deviation sigma
  • Domain / Range of Values: The random variable XX can take on any real value across the infinite interval -\negthinspace \tag*{} \text{to} +\negthinspace \tag*{}:   −→<X<+→-\rightarrow < X < +\rightarrow

  • Symmetry: The distribution is perfectly symmetrical about its mean μ\mu.

  • Equivalence of Central Tendencies: Due to perfect symmetry:   Mean=Median=Mode\text{Mean} = \text{Median} = \text{Mode}

  • Total Area Under the Curve: The total probability under the density curve (representing the total area) equals exactly 11.

  • Approximation to Discrete Binomial Probabilities: Under specific conditions, the normal distribution can be used as an approximation for discrete binomial probabilities. This normal approximation is appropriate when both of the following criteria are satisfied:   np>5n p > 5   n(1−p)>5n (1 - p) > 5

Mathematical Formulation and Parameters

  • Probability Density Function (PDF): The mathematical equation defining the normal probability density function for a random variable XX is:   f(x)=1σ2πe−(x−μ)22σ2f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{(x - \mu)^2}{2\sigma^2}}   where −→<X<+→-\rightarrow < X < +\rightarrow.

  • Mathematical Constants:

    • π≈3.14\pi \approx 3.14

    • e≈2.718e \approx 2.718 (Euler's constant)

  • Parameters of the Distribution:

    • μ\mu: The mean of the distribution, specifying the central location.

    • σ\sigma: The standard deviation of the distribution, specifying the spread or dispersion.

  • Distribution Notation: A normally distributed variable XX with mean μ\mu and standard deviation σ\sigma is denoted as:   X∼N(μ,σ)X \sim N(\mu, \sigma)

Structural Variations in Normal Distributions

  • Effect of Varying Means (μ1<μ2<μ3\mu_1 < \mu_2 < \mu_3):

    • When standard deviations are held equal (σ1=σ2=σ3\sigma_1 = \sigma_2 = \sigma_3), changing the mean μ\mu shifts the location of the curve along the horizontal axis (XX-axis) without changing its shape, height, or spread.

Three Normal Distributions with Different Means
  • Effect of Varying Standard Deviations (σ1<σ2<σ3\sigma_1 < \sigma_2 < \sigma_3):

    • When the mean is held constant (μ1=μ2=μ3=μ\mu_1 = \mu_2 = \mu_3 = \mu), changing the standard deviation σ\sigma alters the spread and peak of the curve. Smaller standard deviations (σ1\sigma_1) result in narrow, highly peaked curves, while larger standard deviations (σ3\sigma_3) produce flatter, wider curves.

Three Normal Distributions with Different Standard Deviations

Empirical Rule and Areas Under the Normal Curve

  • Total Enclosed Area: The entire area under the normal curve represents a total probability of 11.

  • Interval Probabilities Relative to Standard Deviation (σ\sigma):

    • One Standard Deviation Interval (μ±1σ\mu \pm 1\sigma ):

    • Approximately 0.680.68 (68%) of the total probability lies within μ±1σ\mu \pm 1\sigma

    • The remaining 0.320.32 probability is divided equally between the two outer tails, leaving 0.160.16 in each tail (P(X<μ−1σ)=0.16P(X < \mu - 1\sigma) = 0.16 and P(X>μ+1σ)=0.16P(X > \mu + 1\sigma) = 0.16).

Area Under Normal Curve within 1 Standard Deviation
  • Two Standard Deviations Interval (μ±2σ\mu \pm 2\sigma):

    • Approximately 0.950.95 (95%) of the total probability lies within μ±2σ\mu \pm 2\sigma

    • The remaining 0.050.05 probability is divided equally between the two outer tails, leaving 0.0250.025 in each tail (P(X<μ−2σ)=0.025P(X < \mu - 2\sigma) = 0.025 and P(X>μ+2σ)=0.025P(X > \mu + 2\sigma) = 0.025).

Area Under Normal Curve within 2 Standard Deviations
  • Three Standard Deviations Interval (μ±3σ\mu \pm 3\sigma):

    • Approximately 0.9970.997 (99.7%) of the total probability lies within μ±3σ\mu \pm 3\sigma

    • The remaining 0.0030.003 probability is divided equally between the two outer tails, leaving 0.00150.0015 in each tail (P(X<μ−3σ)=0.0015P(X < \mu - 3\sigma) = 0.0015 and P(X>μ+3σ)=0.0015P(X > \mu + 3\sigma) = 0.0015).

Area Under Normal Curve within 3 Standard Deviations

The Standard Normal Probability Distribution (Z)

  • Definition: The standard normal probability distribution is a special case of the normal distribution where the mean is normalized to 00 and the standard deviation is normalized to 11.

  • Standard Parameters:

    • Mean: μ=0\mu = 0

    • Standard deviation: σ=1\sigma = 1

    • Notation: Z∼N(0,1)Z \sim N(0, 1)

Standard Normal Distribution showing Z with mean 0 and standard deviation 1
  • Standard Normal Probability Density Function:   f(z)=12πe−z22f(z) = \frac{1}{\sqrt{2\pi}} e^{-\frac{z^2}{2}}   where −→<Z<+→-\rightarrow < Z < +\rightarrow.

  • The ZZ-Transformation Formula: Any normally distributed variable X∼N(μ,σ)X \sim N(\mu, \sigma) can be converted to the standard normal random variable ZZ using standardisation:   Z=X−μσZ = \frac{X - \mu}{\sigma}

  • Transformation Example (Blood Pressure):

    • Given a blood pressure distribution XX with mean μ=110 mmHg\mu = 110\,\text{mmHg} and standard deviation σ=10 mmHg\sigma = 10\,\text{mmHg}:

    • For x=115 mmHgx = 115\,\text{mmHg}: Z=115−11010=0.5Z = \frac{115 - 110}{10} = 0.5

    • For x=100 mmHgx = 100\,\text{mmHg}: Z=100−11010=−1.0Z = \frac{100 - 110}{10} = -1.0

    • For x=145 mmHgx = 145\,\text{mmHg}: Z=145−11010=3.5Z = \frac{145 - 110}{10} = 3.5

    • For x=110 mmHgx = 110\,\text{mmHg}: Z=110−11010=0Z = \frac{110 - 110}{10} = 0

Calculating Probabilities for standard Normal Distribution

  • Integration Definition: The probability that ZZ takes on values between z0z_0 and z1z_1 corresponds to the area under the PDF curve between those points:   P(z0≤Z≤z1)=∫z0z112πe−z22dzP(z_0 \le Z \le z_1) = \int_{z_0}^{z_1} \frac{1}{\sqrt{2\pi}} e^{-\frac{z^2}{2}} dz

    • Explicit mathematical integration is avoided through the use of standardized tables, computer software, and web applets.

Area under standard normal curve between z0 and z1
  • Symmetry Relationships (for z0≥0z_0 \ge 0):

    • Tail Equivalence: Due to curve symmetry across Z=0Z = 0:     P(Z≤−z0)=P(Z≥z0)P(Z \le -z_0) = P(Z \ge z_0)

    • Half-Curve Area: Each half of the curve split at the mean 00 contains half the area (0.50.5):     P(Z≤0)=P(Z≥0)=0.5P(Z \le 0) = P(Z \ge 0) = 0.5

    • Intervals from the Mean (00 to z0z_0):     P(0≤Z≤z0)=0.5−P(Z≥z0)P(0 \le Z \le z_0) = 0.5 - P(Z \ge z_0)     P(−z0≤Z≤0)=0.5−P(Z≤−z0)P(-z_0 \le Z \le 0) = 0.5 - P(Z \le -z_0)

    • Cumulative Area (Z≤z0Z \le z_0):     P(Z≤z0)=0.5+P(0≤Z≤z0)=0.5+(0.5−P(Z≥z0))=1−P(Z≥z0)P(Z \le z_0) = 0.5 + P(0 \le Z \le z_0) = 0.5 + (0.5 - P(Z \ge z_0)) = 1 - P(Z \ge z_0)

    • Symmetric Interval (−z0≤Z≤z0-z_0 \le Z \le z_0):     P(−z0≤Z≤z0)=1−2P(Z≥z0)P(-z_0 \le Z \le z_0) = 1 - 2 P(Z \ge z_0)

    • Asymmetric Interval (z0≠z1z_0 \neq z_1):     P(z0≤Z≤z1)=1−P(Z≥z1)−P(Z≤z0)=1−P(Z≥z1)−P(Z≥−z0)P(z_0 \le Z \le z_1) = 1 - P(Z \ge z_1) - P(Z \le z_0) = 1 - P(Z \ge z_1) - P(Z \ge -z_0)

    • Example Calculation: For P(−1≤Z≤2)P(-1 \le Z \le 2), the calculation becomes:       P(−1≤Z≤2)=1−P(Z≥2)−P(Z≤−1)=1−P(Z≥2)−P(Z≥1)P(-1 \le Z \le 2) = 1 - P(Z \ge 2) - P(Z \le -1) = 1 - P(Z \ge 2) - P(Z \ge 1)

Structure of Standard Normal Probability Tables

  • Types of Table Values: Standard normal statistical tables list probabilities for specific values of zz across three primary formatting conventions:

    1. Two-Sided (Two-Tailed) Value: P(Z≥z)+P(Z≤−z)P(Z \ge z) + P(Z \le -z)

    2. One-Sided (One-Tailed) Value: P(Z≥z)P(Z \ge z)

    3. Cumulative Probability: P(Z≤z)P(Z \le z)

  • Tabulated Standard Values:

    • For z=0.00z = 0.00:

    • Two-sided probability: 1.001.00

    • One-sided probability: 0.50.5

    • Cumulative probability: 0.50.5

    • For z=1.645z = 1.645:

    • Two-sided probability: 0.100.10

    • One-sided probability: 0.050.05

    • Cumulative probability: 0.950.95

    • For z=1.96z = 1.96:

    • Two-sided probability: 0.05000.0500

    • One-sided probability: 0.02500.0250

    • Cumulative probability: 0.97500.9750

  • Diagnostic Interpretation of Patterns:

    • Identical Distributions (Y=XY = X Line): A straight line along Y=XY = X where x2(p)=x1(p)x_2(p) = x_1(p) indicates identical distributions.

    • Shifted Means (Parallel Line to Y=XY = X): A straight line parallel to Y=XY = X indicates that only the means differ, while variances and shapes are identical.

    • Differing Means and Variances (Non-Parallel Straight Line): A straight line that is not parallel to Y=XY = X indicates differing means and differing variances.

    • Differing Distribution Shapes (Curved Line): A curved plot indicates that the underlying shapes of the two distributions differ (e.g., one is skewed while the other is symmetric).

Case Study: Carotid Endarterectomy (CE) Total Charges

  • Objective: Evaluate the distribution of total charges for Carotid Endarterectomy (CE) procedures and test whether a log⁡10\log_{10} transformation satisfies the assumption of normality.

  • Stata Analysis Commands:

    • Plotting raw charge histogram with normal density overlay:     .hist totchg, normal kdensity title(Histogram of CE Total Charges)

    • Creating log-transformed variable:     .gen ltc = log10(totchg)

    • Plotting log-transformed charge histogram:     .hist ltc, normal kdensity title(Histogram of log10 CE Total Charges)

    • Generating Q-Q plots against standard normal distribution:     .qnorm totchg, title(Q-Q Plot of CE Total Charges) grid     .qnorm ltc, title(Q-Q Plot of CE Log10 Total Charges) grid

  • Empirical Visual Results:

    • Raw Total Charges (totchg):

    • Histogram: Shows severe positive (right) skewness with high density near lower charges and a long tail extending beyond $100000\$100000.

Histogram of Carotid Endarterectomy Total Charges
- *Q-Q Plot:* Displays sharp upward curvature at higher quantiles relative to the straight normal reference line, confirming heavy right-tail skewness.
Q-Q Plot of Carotid Endarterectomy Total Charges
  • Log10 Transformed Charges (ltc):

    • Histogram: Displays a substantially more symmetric bell-shaped distribution centered near 3.73.7.

Histogram of Log10 Carotid Endarterectomy Total Charges
- *Q-Q Plot:* Follows the linear reference line much more closely across central percentiles, though mild departures remain at extreme tails.
Q-Q Plot of Log10 Carotid Endarterectomy Total Charges
  • Analytical Conclusions:

    • Raw Carotid Endarterectomy (CE) total charges are strongly skewed toward high values.

    • The log⁡10\log_{10} transformation creates a substantially more symmetric distribution.

    • However, Q-Q plot diagnostic evaluation indicates CE charges remain somewhat skewed to high values even on the log⁡10\log_{10} scale, illustrating the importance of visual diagnostic tools prior to applying normal distribution theory.