Exhaustive Study Notes: Inferential Statistics, Sampling Distributions, Central Limit Theorem, and the t-Distribution

Core Principles of Statistical Inference

  • Definition and Purpose of Statistical Inference:

    • Inferential statistics involves drawing a sample from a broader population, taking a measurement (statistic) on that sample, and using that measurement to guide conclusions about the unknown population parameter without directly measuring the entire population.
    • Direct measurement of an entire population is known as a census, which is generally unfeasible or impossible due to practical constraints.
    • A survey captures data from a subset of the population to infer details about the parameter.
    • The inferential process operates as a logical flow:     Population (Parameter μ or p)⟶Sample⟶Statistic (xˉ or p^)⟶Inference back to Population\text{Population (Parameter } \mu \text{ or } p) \longrightarrow \text{Sample} \longrightarrow \text{Statistic (} \bar{x} \text{ or } \hat{p} \text{)} \longrightarrow \text{Inference back to Population}
  • Data Collection and Types of Bias:

    • Bias: Any systematic distortion in sampling or measurement that produces inaccurate estimates.
    • Sampling Bias / Selection Bias:
    • Occurs when the sampling method systematically favors certain outcomes or excludes portions of the population.
    • Voluntary response surveys introduce significant selection bias because individuals with strong feelings self-select into participation.
    • Measurement Bias:
    • Occurs when the measuring tool or instrument systematically understates or overstates true values (such as an uncalibrated atmospheric sensor).
    • Response Bias:
    • Occurs when participants provide inaccurate responses or self-select into answering specific survey questions.
  • Accuracy vs. Precision:

    • Accuracy (Unbiasedness):
    • Indicates that sample statistics are centered around the true parameter value.
    • Achieved through Simple Random Sampling (SRS), which mathematically guarantees that measurements hover around the true parameter value, even when the exact parameter value is unknown.
    • Precision (Variability):
    • Indicates how close repeated sample measurements are to one another.
    • Controlled directly by sample size (nn). Larger sample sizes reduce variability among sample statistics.
    • Ideal Sampling Design:
    • Combines Simple Random Sampling (ensuring accuracy) with a large sample size nn (ensuring high precision/low standard error).
    • A large sample size without Simple Random Sampling produces precise but systematically inaccurate (biased) results.

Measures of Center and Variability: Means vs. Proportions

  • Categorizing Quantitative vs. Categorical Measures:

    • Every statistical parameter falls into one of two primary categories depending on the nature of the variable: a mean or a proportion.
  • Population and Sample Means:

    • Applied when analyzing continuous quantitative metrics or monetary amounts (e.g., spending per customer).
    • Population Mean (μ\mu): The true average across all NN items in the population.
    • Sample Mean (xˉ\bar{x}): The calculated average from nn sampled observations, serving as the point estimate for μ\mu.
    • Population Standard Deviation (σ\sigma): The true variability among individual units in the population.
    • Sample Standard Deviation (ss): The calculated variability from nn sampled observations, serving as the point estimate for σ\sigma.
  • Population and Sample Proportions:

    • Applied when measuring categorical outcomes or counting specific attributes within a group (e.g., proportion of satisfied customers, percentage of left-handed students).
    • Counts alone are insufficient without context; expressing the count relative to the total group size yields a proportion or percentage.
    • Population Proportion (pp): The true proportion of successes across the entire population.
    • Sample Proportion (p^\hat{p} or pˉ\bar{p}): The observed proportion of successes in a sample of size nn, serving as the point estimate for pp.
    • Conceptual treatment for proportions matches that for means, though the operational formulas differ slightly.

Sampling Variability, Point Estimates, and Plausible Ranges

  • Statistics as Random Variables:

    • Every sample statistic (such as xˉ\bar{x} or p^\hat{p}) is a random variable because its value depends on the specific observations drawn into the sample.
    • Sampling Variability: The natural, expected variation among statistics calculated from different samples drawn from the same population. It represents natural variation rather than experimental error.
  • Empirical Example: Customer Spending:

    • In a cafe population of N=4000N = 4000 customers:
    • Sample 1 (n=100n = 100): yields a point estimate of xˉ1=$9.40\bar{x}_1 = \$9.40.
    • Sample 2 (n=100n = 100): yields a point estimate of xˉ2=$9.18\bar{x}_2 = \$9.18.
    • Sample 3 (n=100n = 100): yields a point estimate of xˉ3=$9.63\bar{x}_3 = \$9.63.
    • All calculated sample means are correct; differences arise solely from sampling variability across distinct groups of 100100 customers.
  • Point Estimates vs. Confidence Intervals (Ranges of Plausible Values):

    • Point Estimate:
    • A single summary number derived from a sample (e.g., xˉ=$9.40\bar{x} = \$9.40) offering the best guess for the parameter.
    • Fails to report uncertainty, sampling variability, or degree of precision.
    • Range of Plausible Values (Confidence Interval):
    • Bounded by lower and upper limits (e.g., $9.01\$9.01 to $9.79\$9.79).
    • Midpoint Property: The point estimate sits at the center of the range:       Midpoint=$9.01+$9.792=$9.40\text{Midpoint} = \frac{\$9.01 + \$9.79}{2} = \$9.40
    • Margin of Error: The distance from the point estimate to either limit:       Margin of Error=$9.40−$9.01=$9.79−$9.40=$0.39\text{Margin of Error} = \$9.40 - \$9.01 = \$9.79 - \$9.40 = \$0.39
    • Confidence Interpretation: Expresses the level of certainty that the true parameter μ\mu lies within the interval bounds.
    • Width vs. Confidence Trade-off:
      • Seeking higher confidence requires a wider interval range.
      • Accepting lower confidence yields a narrower interval range.

Population, Sample, and Sampling Distributions

  • Distinguishing the Three Types of Distributions:

    • Population Distribution:
    • The distribution of individual values across all members of the population.
    • Example: Individual spending values of all N=4000N = 4000 customers, characterized by population mean μ\mu and standard deviation σ\sigma
    • Sample Distribution:
    • The distribution of individual values within a single sample of size nn
    • Example: Spending values of the n=100n = 100 customers in Sample 1, characterized by sample mean xˉ\bar{x} and standard deviation ss
    • Sampling Distribution:
    • The probability distribution of a sample statistic (e.g., all possible values of xˉ\bar{x}) calculated from all possible simple random samples of size nn drawn from the population.
    • It represents a distribution of statistics, not individual data points.
  • Combinatorial Scale of Sampling Distributions:

    • The number of distinct simple random samples of size nn drawn from a population of size NN is exceptionally large.
    • Example comparison: In a lottery game choosing 66 numbers from 4949, there are over 10,000,000,00010,000,000,000 (101010^{10}) distinct combinations.
    • Selecting n=100n = 100 individuals from a population of N=4000N = 4000 produces trillions of distinct sample combinations.
  • Process of Constructing a Sampling Distribution (Height Example):

    • Consider a population of N=10000N = 10000 people with true mean height μ=5 ft 4 in\mu = 5\text{ ft } 4\text{ in} (5.33 ft5.33\text{ ft} or 5.4 ft5.4\text{ ft}).
    • Step 1: Draw an SRS of size n=5n = 5
    • Step 2: Measure heights and compute the sample mean xˉ1\bar{x}_1 (e.g., 5.3 ft5.3\text{ ft}).
    • Step 3: Plot xˉ1\bar{x}_1 on a frequency histogram.
    • Step 4: Draw a second SRS of size n=5n = 5, compute xˉ2\bar{x}_2 (e.g., 5.7 ft5.7\text{ ft}), and plot it.
    • Step 5: Repeat this process thousands of times.
    • Outcome: The histogram of stacked sample means (xˉ\bar{x} values) forms the sampling distribution curve.

The Sampling Distribution of the Sample Mean

  • Center of the Sampling Distribution:

    • Under simple random sampling, the expected value of the sampling distribution of xˉ\bar{x} equals the true population mean μ\mu:     μxˉ=E(xˉ)=μ\mu_{\bar{x}} = E(\bar{x}) = \mu
    • This shows that the sample mean xˉ\bar{x} is an unbiased estimator of μ\mu.
  • Spread and Standard Error (σxˉ\sigma_{\bar{x}}):

    • The standard deviation of a sampling distribution is named the Standard Error (SESE) to distinguish it from individual observation standard deviations.
    • Mathematical Formula:     σxˉ=σn\sigma_{\bar{x}} = \frac{\sigma}{\sqrt{n}}
    • Effect of Population Variability (σ\sigma): Larger population standard deviation increases standard error.
    • Effect of Sample Size (nn): Increasing sample size nn increases the denominator n\sqrt{n}, decreasing the standard error σxˉ\sigma_{\bar{x}}.
    • Diminishing Returns Rule: Cutting standard error in half requires quadrupling the sample size (4n4n).
  • Averaging Effect on Variability:

    • Taking averages reduces variability because individual high values offset low values within a sample.
    • In customer spending where population standard deviation is σ=$4.00\sigma = \$4.00:
    • Individual transaction values deviate from the mean by an average of $4.00\$4.00
    • For samples of size n=100n = 100, standard error drops to:       \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{100}} = \frac{\4.00}{10} = \$0.40
    • Standard error progression across sample sizes (nn) when σ=$4.00\sigma = \$4.00:
    • n = 16 \implies \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{16}} = \frac{\4.00}{4} = \$1.00
    • n = 25 \implies \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{25}} = \frac{\4.00}{5} = \$0.80
    • n = 64 \implies \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{64}} = \frac{\4.00}{8} = \$0.50
    • n = 100 \implies \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{100}} = \frac{\4.00}{10} = \$0.40
    • n = 400 \implies \sigma_{\bar{x}} = \frac{\4.00}{\sqrt{400}} = \frac{\4.00}{20} = \$0.20

The Central Limit Theorem (CLT)

  • Formal Statement of the Central Limit Theorem:

    • Regardless of the underlying population distribution shape (skewed right, skewed left, uniform, exponential), the sampling distribution of the sample mean xˉ\bar{x} approaches a normal distribution as sample size nn becomes sufficiently large:     xˉ∼N(μ,σn)\bar{x} \sim N\left(\mu, \frac{\sigma}{\sqrt{n}}\right)
  • Critical Misconceptions Clarified:

    • The CLT does not state that the original population distribution becomes normal.
    • The CLT does not state that individual data points in a single sample become normally distributed.
    • The CLT does not correct for sampling bias or non-random sampling methods.
  • Required Conditions for Applying the CLT for Means:

    1. Random Sampling and Independence: Observations must be gathered via Simple Random Sampling.
    2. 10% Condition: Sample size nn must be no larger than 10%10\% of population size (n≤0.10Nn \le 0.10 N) when sampling without replacement.
    3. Sample Size Requirements (nn):
    • Normal Population: If the population is normally distributed, the sampling distribution of xˉ\bar{x} is normal for any sample size nn (e.g., n=2,5,12n = 2, 5, 12).
    • Unknown or Moderately Skewed Population: Standard rule of thumb requires n≥30n \ge 30
    • Strongly Skewed Population or Extreme Outliers: Requires n≥50n \ge 50

The Sampling Distribution of Sample Proportions

  • Defining Categorical Metrics and Point Estimates:

    • When evaluating binary categorical variables (e.g., customer satisfaction: yes/no), data analysis relies on proportions.
    • Example: In a sample of n=100n = 100 customers drawn from N=4000N = 4000, 8282 express satisfaction.
    • Point estimate for population proportion pp:     p^=82100=0.82(82%)\hat{p} = \frac{82}{100} = 0.82 \quad (82\%)
    • Range representation: An observed sample proportion of p^=0.82\hat{p} = 0.82 with a margin of error of ±7.5%\pm 7.5\% yields a range of 74.5%74.5\% to 89.5%89.5\% (0.7450.745 to 0.8950.895).
  • Properties of the Sampling Distribution of p^\hat{p}:

    • Center: Expected value of sample proportions under Simple Random Sampling equals the true population proportion pp:     E(p^)=pE(\hat{p}) = p
    • Standard Error of Proportion:     σp^=SE(p^)=p(1−p)n\sigma_{\hat{p}} = SE(\hat{p}) = \sqrt{\frac{p(1-p)}{n}}
    • Sample Size Effect: Standard error decreases as sample size nn increases following an inverse square-root relationship.
  • Success-Failure Condition for Proportions:

    • The sampling distribution of p^\hat{p} is approximately normal if the sample size is large enough to expect at least 1010 successes and 1010 failures:     np≥10andn(1−p)≥10n p \ge 10 \quad \text{and} \quad n(1-p) \ge 10
    • When conditions are met, the sampling model is expressed as:     p^∼N(p,p(1−p)n)\hat{p} \sim N\left(p, \sqrt{\frac{p(1-p)}{n}}\right)

Practical Application: z-Distribution vs. t-Distribution

  • Theoretical Formulas vs. Practical Substitutions:

    • Population parameters μ\mu, σ\sigma, and pp are typically unknown in practical scenarios.
    • Consequently, sample statistics must be substituted into theoretical standard error equations.
  • Proportions: Single Guess and the zz Statistic:

    • Parameter pp is unknown in standard error formula p(1−p)n\sqrt{\frac{p(1-p)}{n}}.
    • Practical substitution replaces pp with sample statistic p^\hat{p}:     SE(p^)=p^(1−p^)nSE(\hat{p}) = \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}
    • Because only one parameter substitution is made (p^\hat{p} for pp), the Standard Normal Distribution (zz-distribution) remains valid for probability calculations and confidence intervals.
  • Means: Double Guess and the Need for the tt Statistic:

    • Parameters μ\mu and σ\sigma are both unknown in theoretical model N(μ,σn)N\left(\mu, \frac{\sigma}{\sqrt{n}}\right).
    • Practical substitution requires two concurrent parameter estimates:
    1. Substituting sample mean xˉ\bar{x} for population mean μ\mu
    2. Substituting sample standard deviation ss for population standard deviation σ\sigma
    • Practical Standard Error formula for means:     SE(xˉ)=snSE(\bar{x}) = \frac{s}{\sqrt{n}}
    • Estimating σ\sigma using sample standard deviation ss introduces additional uncertainty.
    • Because of this additional variability from making two guesses, the standard normal zz-distribution fails to provide accurate probabilities for sample means. Inference for sample means requires the tt Statistic (tt-distribution).
  • Properties of the tt-Distribution:

    • Symmetric and unimodal bell shape centered at 00
    • Total area under the probability curve equals 1.01.0
    • Possesses heavier (fatter) tails than the standard normal zz-distribution, reflecting added variability from estimating σ\sigma with ss
    • Controlled by Degrees of Freedom (dfdf):     df=n−1df = n - 1
    • As sample size nn increases (df→∞df \to \infty), tail weight decreases and the tt-distribution approaches the Standard Normal zz-distribution.