Comprehensive Notes on Sampling, Sampling Distributions & Statistical Inference
Data & Statistics Overview
Data: numerical or categorical measurements collected in a study.
Goal of statistics: organize and interpret data to extract meaningful information.
Two broad branches:
Descriptive statistics → organize & summarize data already in hand.
Inferential statistics → generalize from a sample to a larger population, acknowledging uncertainty.
Descriptive Statistics
Provide concise summaries of data.
Tables, frequency distributions, graphs (histograms, bar charts, boxplots).
Summary numbers (measures of center, spread, shape, position).
Terminology:
Parameter: descriptive value computed for an entire population.
Statistic: descriptive value computed for a sample and used to estimate a parameter.
Inferential Statistics
Use sample information to draw conclusions (inferences) about the population.
Recognize that sample statistics are generally imperfect proxies for population parameters because only a subset is observed.
Central activity: quantify and control the error introduced by sampling.
Sampling Basics
Population: totality of elements we wish to study (e.g.
1,000 college students).Sample: subset chosen from the population (e.g.
5 selected students).Census: complete enumeration of every population element (time-consuming, costly, sometimes destructive).
Survey: data-collection procedure performed on a sample.
Sampling error: , an inevitable discrepancy due to observing only part of the population.
Systematic error (bias): consistent, directional error; arises from flawed study design or implementation (e.g.
non-coverage, measurement bias).
Key Terms & Concepts
Bias: occurs when certain groups are systematically excluded or over-represented so that the sample is not representative.
Target population: group to which researchers intend to generalize their findings.
Sampling unit: smallest unit eligible for selection (person, household, bottle, etc.).
Sampling frame: operational list that enumerates every sampling unit.
Sampling scheme: explicit rule specifying how units are drawn from the frame.
Fundamental rule of inference: We may generalize from available data only if the sample is representative with respect to the research question.
Why Sampling?
Economical relative to a census (lower cost, less field time).
Feasible when studying the whole population is impossible.
Prevents destruction of units when measurement is destructive (e.g.
crash-testing vehicles).
Types of Sampling
A good sample is unbiased and representative.
Probability sampling: every population element has a known (not necessarily equal) probability of selection.
Examples: Simple Random Sampling (SRS), stratified, cluster, systematic, multistage.
Non-probability sampling: selection probabilities unknown (convenience, judgement, quota); threatens validity of inference.
Simple Random Sampling (SRS)
Each possible sample of size has the same probability of being chosen.
Provides tractable mathematics for sampling distributions.
Sampling Error
Systematic Error
Sampling error (random error): variability that arises purely by chance; summarized by the standard error (SE).
Example SE for mean: .
Systematic error (bias): errors that shift results in one direction.
Selection bias, information (measurement) bias, nonresponse bias, etc.
Point Estimation & Margin of Error
Point estimate: single-number best guess of a parameter (e.g.
rating points).Margin of error (MoE): , creates an interval capturing the parameter with specified confidence (e.g.
around a presidential approval rating).Directly derived from the sampling distribution.
Sampling Distributions
Because statistics vary from sample to sample, each statistic is a random variable with its own probability distribution — the sampling distribution.
Common statistics & their distributions under SRS:
Sample mean .
Sample variance .
Sample proportion .
Example (M&M packs): means of all possible size-2 samples (4–10 yellow pieces) take values 4.5, 5, 5.5, …, 9.
Each mean has probability ; the set forms the sampling distribution of .
One can compute its expected value and variance .
Central Limit Theorem (CLT)
Statement: For simple random samples of size from a population with mean and variance , the distribution of approaches normality as becomes large (rule of thumb: ).
Mean of : .
Variance: .
Practical implication: allows normal-based inference even when the underlying population is non-normal, provided the sample is large.
If n<30, normality of requires that the population itself be normal.
Standard Error of the Mean
Infinite (or very large) population: .
Finite population of size without replacement: (finite-population correction, FPC).
Worked Examples
Example 1: SWS Presidential Rating
Population rating mean unknown; sample of respondents gave , .
Mean of sampling distribution: .
Standard error (assuming large population): .
95% MoE: rating points ≈ when re-expressed.
Interpretation: true population rating likely between 61 – 67 (illustrated graphically).
Example 2: Diagnostic Test (30 Students)
Population: , .
Sample size .
.
.
Probability P(\bar{x}<74):
.
P(Z<-1.10)=0.1357 ⇒ 13.57% chance the sample mean falls below 74.
Example 3: Juice Bottling Machine
Calibrated target: ; ; .
.
.
(B) Probability \bar{x}<598:
.
P(Z<-1.20)=0.1151 ⇒ 11.51%.
(C) Probability \bar{x}>601:
; P(Z>0.60)=0.2743 ⇒ 27.43%.
(D) Probability 595<\bar{x}<605:
(0.0013), (0.9987).
Probability → 99.74%.
Example 4: Diagnostic Test (25 Students)
Population: , , .
(A) , .
(B) P(\bar{x}<59):
.
P(Z<-1.25)=0.1056 ⇒ roughly 10.56%.
Illustrative Scenario: M&M Packs
5 packs contain {4, 5, 6, 8, 10} yellow pieces.
All possible size-2 samples (10 possible combinations, equally likely each).
Sample means range 4.5 – 9, demonstrating variability in .
One can tabulate the sampling distribution, compute and , reinforcing that is a random variable.
Ethical, Philosophical & Practical Implications
Representative sampling underpins ethical generalization; biased designs may misinform policy.
Transparency about sampling error and MoE nurtures public trust.
Over-reliance on non-probability samples (e.g.
online polls) can mislead.Destructive testing highlights trade-offs between learning and preserving units (e.g.
product safety vs.
inventory loss).
Connections & Real-World Relevance
CLT connects to previous lectures on probability distributions by providing the bridge from any distribution to approximate normality.
Sampling distributions form the theoretical basis for confidence intervals and hypothesis tests covered later.
Concepts of bias and representativeness resonate with research design, epidemiologic studies, quality control, and social-science polling.