Lecture 7 and 8 Additional notes
1. Statistics and sampling distributions
This section explores statistics derived from samples and their probability distributions, known as sampling distributions, detailing how these distributions are found and illustrating their mathematical derivation.
1.1 Introduction to statistics and sampling distributions
When a random sample is drawn from a population, numerical descriptive measures calculated from that sample are termed statistics. Examples include the sample mean and sample variance. Because these statistics change with each different random sample selected, they are considered random variables. The probability distributions of these statistics are called sampling distributions, as they reveal the possible values a statistic can take and their frequencies in repeated sampling 3.
1.1.1 Definition of sampling distribution
The sampling distribution of a statistic is the probability distribution that arises for the possible values of that statistic when random samples of size n are repeatedly drawn from a population 4.
1.1.2 Methods for finding sampling distributions
There are three primary methods for determining the sampling distribution of a statistic:
- Mathematical derivation: Using the laws of probability to derive the distribution theoretically.
- Simulation: Approximating the distribution by drawing a large number of samples of size n, calculating the statistic for each, and creating a relative frequency histogram. A large number of samples will yield a histogram closely resembling the theoretical distribution.
- Statistical theorems: Employing established statistical theorems to derive exact or approximate sampling distributions.
1.2 Mathematical derivation of sampling distributions
This method involves applying probability theory to determine the distribution of a statistic.
1.2.1 Example: Sampling distribution of the mean of two dice
To derive the sampling distribution of the mean (xˉ) for two dice, one can enumerate all possible outcomes and their corresponding means. Let X1 and X2 represent the random variables for the two dice. The probability of the sample mean being K is equivalent to the probability of the sum of the two dice being 2K.
The probability can be expressed as: P(21(X1+X2)=K)=P(X1+X2=2K) =361∑m=max(1,2K−6)min(6,2K−1)1 =361(min(6,2K−1)−max(1,2K−6)+1) where 2K is an integer from 2 to 12, inclusive 8.
1.2.2 Example: Sum of two independent uniform random variables
Consider two independent random variables, X1 and X2, uniformly distributed on the interval. Their probability density function (pdf) is fX1(x1)=1 if 0≤X1≤1, and 0 otherwise. The pdf of their sum, S=X1+X2, can be derived using the convolution integral: fS(s)=∫−∞∞fX1(x1)fS−X1(s−x1)dx1 Since X2 has support on fS−X1(s−x1) represents fX2(s−x1), which is 1 when 0≤s−x1≤1. The range of s is from 0 to 2 1 9.
For 0≤s≤1: fS(s)=∫0s1⋅1dx1=s
For 1<s≤2: fS(s)=∫s−111⋅1dx1=[x1]s−11=1−(s−1)=2−s
Thus, the pdf of S is: fS(S)=⎩⎨⎧s2−s0,if 0≤S≤1if 1<S≤2otherwise This distribution is triangular in shape 10.
1.2.3 Sum of two independent normal distributions
For two independent random variables, X and Y, following normal distributions N(μX,σX2) and N(μY,σY2) respectively, the pdf of their sum Z=X+Y can be derived using the convolution integral: fZ(z)=∫−∞∞fY(z−x)fX(x)dx The resulting distribution for Z is also normal: fZ(z)=N(z;μX+μY,σX2+σY2) This means Z follows a normal distribution with a mean equal to the sum of the individual means and a variance equal to the sum of the individual variances 14.
1.3 Simulation for approximating sampling distributions
When mathematical derivation is complex, simulation offers a practical alternative to approximate sampling distributions. This involves:
- Drawing a large number of random samples, each of size n, from the population.
- Calculating the statistic of interest for each sample.
- Constructing a relative frequency histogram of these calculated statistics.
- As the number of samples increases, the histogram will closely approximate the theoretical sampling distribution 5.
Example: The sampling distribution of the mean of X+Y, where X is uniform on [−1,1] and Y follows a standard Gaussian distribution, can be approximated using simulation 11.
1.4 Sampling distributions derived using statistical theorems
Statistical theorems provide powerful tools for deriving exact or approximate sampling distributions 6.
1.4.1 The Central Limit Theorem (CLT)
The Central Limit Theorem is fundamental in statistics and has implications for both the sum and the mean of sample measurements.
- For the sum of sample measurements (∑xi): As the sample size n becomes large, the distribution of the sum of sample measurements approaches a normal distribution with a mean of nμ and a standard deviation of σn.
- For the mean of sample measurements (xˉ): As the sample size n becomes large, the sampling distribution of the sample mean xˉ also approaches a normal distribution. This approximate normal distribution has a mean of μ (the population mean) and a standard deviation of nσ (the standard error of the mean) 12.
1.4.2 Conditions for using the Central Limit Theorem
The sample size n required for the sampling distribution of xˉ to be approximately normal depends on the shape of the sampled population:
- Normal Population: If the population itself is normally distributed, the sampling distribution of xˉ will be exactly normal for any sample size n.
- Approximately Symmetric Population: If the population distribution is approximately symmetric, the sampling distribution of xˉ will become approximately normal even for relatively small sample sizes.
- Skewed Population: For a skewed population, a larger sample size is necessary. Conservatively, a sample size of n≥30 is generally required before the sampling distribution of xˉ can be considered approximately normal 13.
Note: The value n≥30 is a rule of thumb; the actual required sample size can vary depending on the degree of skewness in the population distribution.
2. Large-sample estimation
This section details the principles and construction of confidence intervals for population parameters using large samples, focusing on the properties of statistical estimators, particularly their unbiasedness.
2.1 Large-sample confidence interval for a population mean
A large-sample confidence interval provides a range of plausible values for an unknown population mean, μ, based on data from a sufficiently large sample. The construction of this interval relies on the properties of the standard normal distribution.
2.1.1 Formula and components
The formula for a (1−α)100% large-sample confidence interval for the population mean μ is given by:
xˉ±zα/2nσ
or, when the population standard deviation σ is unknown and estimated by the sample standard deviation s:
xˉ±zα/2ns
Key components of this interval are:
- xˉ: The sample mean, serving as a point estimate for μ.
- n: The sample size, which must be sufficiently large for the interval to be valid.
- σ: The standard deviation of the sampled population.
- s: The sample standard deviation, used as an estimate for σ when σ is unknown.
- zα/2: The z-value corresponding to an area of α/2 in the upper tail of the standard normal distribution. This value determines the width of the confidence interval and is directly related to the desired confidence level (1−α).
Important: The standard normal distribution is used here because, for large sample sizes, the sampling distribution of the sample mean xˉ is approximately normally distributed, regardless of the shape of the population distribution, according to the Central Limit Theorem 17.
2.1.2 Width of the confidence interval
The width of the confidence interval is determined by the margin of error, which is the term added to and subtracted from the sample mean xˉ.
- If σ is known, the width is 2×zα/2nσ.
- If σ is unknown and estimated by s, the width is 2×zα/2ns.
The width of the interval is directly proportional to zα/2 and the estimated standard deviation (σ or s), and inversely proportional to the square root of the sample size (n) 19.
Note: As the sample size n increases, the width of the confidence interval decreases, leading to a more precise estimate of the population mean 20.
2.1.3 Factors affecting the width of the confidence interval
Several factors influence the width of the confidence interval:
- Sample size (n): A larger sample size leads to a narrower interval.
- Significance level (α): A smaller α (which corresponds to a higher confidence level) leads to a wider interval.
- Confidence coefficient (1−α): A higher confidence coefficient implies greater certainty that the interval contains the true population parameter, thus requiring a wider interval.
The following table illustrates the relationship between the confidence coefficient and the corresponding zα/2 values:
| Confidence Coefficient (1−α) | α | α/2 | zα/2 |
|---|---|---|---|
| .90 | .10 | .05 | 1.645 |
| .95 | .05 | .025 | 1.96 |
| .98 | .02 | .01 | 2.33 |
| .99 | .01 | .005 | 2.58 |
2.1.4 Examples illustrating the width of the confidence interval
Consider a population with a standard deviation σ=100 dollars.
- If n=100 and α=0.1 (90% confidence), the width is 1.645×1002×100=32.9 dollars.
- If n=1000 and α=0.1 (90% confidence), the width is 1.645×10002×100≈10.4 dollars.
- If n=100 and α=0.05 (95% confidence), the width is 1.96×1002×100=39.2 dollars.
These examples highlight how increasing the sample size or decreasing the confidence level can significantly reduce the width of the confidence interval 21.
2.2 Properties of statistical estimators
Statistical estimators are functions of sample data used to estimate unknown population parameters. Key properties that determine the quality of an estimator include unbiasedness and efficiency.
2.2.1 Unbiased estimators
An estimator is considered unbiased if its expected value is equal to the true value of the population parameter it is estimating. In other words, on average, the estimator will not systematically over- or under-estimate the parameter.
Let θ^ be an estimator for a population parameter θ. The estimator θ^ is unbiased if E(θ^)=θ.
2.2.1.1 Unbiasedness of the sample mean
The sample mean, xˉ, is an unbiased estimator of the population mean, μ.
Proof: Assume xi are independent and identically distributed (i.i.d.) random variables with population mean μ. E(xˉ)=E(n1∑i=1nxi) By linearity of expectation: E(xˉ)=n1∑i=1nE(xi) Since E(xi)=μ for all i: E(xˉ)=n1∑i=1nμ=n1(nμ)=μ Thus, xˉ is an unbiased estimator of μ 22.
2.2.1.2 Unbiasedness of the population variance estimator
The sample variance can be calculated in two common ways: with n in the denominator or n−1. The latter is an unbiased estimator of the population variance.
Proof for n1∑i=1n(xi−μ)2: Let Sμ2=n1∑i=1n(xi−μ)2, where xi are i.i.d. with mean μ and variance σ2. E(Sμ2)=E(n1∑i=1n(xi−μ)2) E(Sμ2)=n1∑i=1nE(xi−μ)2 By definition of variance, E(xi−μ)2=σ2. E(Sμ2)=n1∑i=1nσ2=n1(nσ2)=σ2 Therefore, Sμ2 is an unbiased estimator of σ2 23.
Proof for Sample Variance S2 with n−1 denominator: Let S2=n−11∑i=1n(xi−xˉ)2, where xi are i.i.d. with mean μ and variance σ2. We can write (xi−xˉ)=(xi−μ)−(xˉ−μ). Squaring and summing: ∑i=1n(xi−xˉ)2=∑i=1n[(xi−μ)−(xˉ−μ)]2 =∑i=1n(xi−μ)2−2(xˉ−μ)∑i=1n(xi−μ)+∑i=1n(xˉ−μ)2 =∑i=1n(xi−μ)2−2(xˉ−μ)(n(xˉ−μ))+n(xˉ−μ)2 =∑i=1n(xi−μ)2−2n(xˉ−μ)2+n(xˉ−μ)2 =∑i=1n(xi−μ)2−n(xˉ−μ)2 Taking the expectation of both sides: E(∑i=1n(xi−xˉ)2)=E(∑i=1n(xi−μ)2)−E(n(xˉ−μ)2) E(∑i=1n(xi−xˉ)2)=∑i=1nE(xi−μ)2−nE(xˉ−μ)2 We know E(xi−μ)2=σ2 and E(xˉ−μ)2=Var(xˉ)=nσ2. E(∑i=1n(xi−xˉ)2)=nσ2−n(nσ2)=nσ2−σ2=(n−1)σ2 Now, consider the expected value of S2: E(S2)=E(n−11∑i=1n(xi−xˉ)2) E(S2)=n−11E(∑i=1n(xi−xˉ)2)=n−11(n−1)σ2=σ2 Thus, S2 is an unbiased estimator of σ2 24.
2.2.2 Biased estimators
An estimator is biased if its expected value is not equal to the true value of the population parameter. A biased estimator systematically overestimates or underestimates the parameter. The magnitude of this systematic error is called the bias, defined as Bias(θ^)=E(θ^)−θ. While unbiasedness is a desirable property, sometimes biased estimators with good efficiency properties are used, especially in the context of large samples where bias might diminish.
Common mistakes to avoid
- Review all topics thoroughly before exams
- Pay attention to formulas and key definitions
- Practice with examples provided in each section
- Don't memorize without understanding the underlying concepts
© 2026 Maeve. All rights reserved. This content is protected by copyright.