1. Home
  2. Explore
  3. Mathematics
  4. Estimation Methods Summary

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Estimation Methods Summary

Studley Study Notes: Estimation, Confidence Intervals, and Hypothesis Testing

Standard Error

After deriving estimators and assessing their properties (unbiasedness, consistency, efficiency), the next step is to report an estimate along with an objective measure of its reliability. The estimate is a single realization from the distribution of the estimator. To convey how precise that estimate is, a researcher can report the variance (or estimated variance) of the estimator's distribution.

The standard error of an estimate is defined as the standard deviation (or, if unknown, the estimated standard deviation) of the estimator. It quantifies the spread of the estimator's sampling distribution.

  • Example: For the sample mean Xˉ\bar{X}Xˉ, it has been shown that Var(Xˉ)=σ2n\text{Var}(\bar{X}) = \frac{\sigma^2}{n}Var(Xˉ)=nσ2​. Therefore, the standard error is σn\frac{\sigma}{\sqrt{n}}n​σ​.

  • If σ2\sigma^2σ2 is unknown, it is replaced by an estimate (e.g., s2s^2s2) to obtain the estimated standard error sn\frac{s}{\sqrt{n}}n​s​.

  • In empirical papers, estimates are often reported with standard errors in parentheses, e.g., θ^  (SEθ^)\hat{\theta} \; (SE_{\hat{\theta}})θ^(SEθ^​).

Standard error provides information about how tightly concentrated the estimator's distribution is around the unknown parameter. However, the same information can be presented in a different, often more intuitive, form: an interval.


Confidence Intervals

A confidence interval is an interval estimate constructed using the sampling distribution of an estimator. It is narrow when the estimator has a tight distribution around the unknown parameter, and wide when the distribution is dispersed.

Formally, for a parameter θ\thetaθ, we want to find functions AAA and BBB of the random sample X=(X1,…,Xn)\mathbf{X} = (X_1, \dots, X_n)X=(X1​,…,Xn​) such that:

P(A(X)<θ<B(X))=1−αP\big( A(\mathbf{X}) < \theta < B(\mathbf{X}) \big) = 1 - \alphaP(A(X)<θ<B(X))=1−α
  • AAA and BBB are random functions (functions of the random sample).

  • θ\thetaθ is a fixed, unknown constant.

  • 1−α1 - \alpha1−α is the desired degree of confidence (e.g., 0.950.950.95 for α=0.05\alpha = 0.05α=0.05, 0.990.990.99 for α=0.01\alpha = 0.01α=0.01).

Once the random sample is observed, the realizations A(x)A(\mathbf{x})A(x) and B(x)B(\mathbf{x})B(x) become numbers. The interval [A(x),B(x)][A(\mathbf{x}), B(\mathbf{x})][A(x),B(x)] is called a 1−α1-\alpha1−α confidence interval for θ\thetaθ.

Important nuance: After plugging in the data, the interval is fixed. It is not correct to say “there is a 95%95\%95% probability that θ\thetaθ lies in this interval” (because θ\thetaθ is fixed, not random). The correct interpretation is that, in repeated sampling, 95%95\%95% of intervals constructed this way will contain the true θ\thetaθ. The interval simply summarizes the precision of the estimator.

Construction of Confidence Intervals

  • The functions AAA and BBB are not unique; different choices can yield valid intervals. The standard choice assigns α/2\alpha/2α/2 probability to each tail of the estimator's distribution.

  • Constructing a confidence interval requires knowledge of the full distribution of the estimator (not just its mean and variance).

  • In practice, formulas for common confidence intervals (e.g., for the mean) have been derived and tabulated. The user only needs to plug in the sample statistics and look up critical values.


Special Distributions: Chi-Squared, t, and F

These distributions are "invented" to describe the distributions of certain functions of estimators. They are not typically found in natural phenomena but are essential for constructing confidence intervals and hypothesis tests.

Chi-Squared (χ2\chi^2χ2) Distribution

  • The sample variance S2=1n−1∑i=1n(Xi−Xˉ)2S^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar{X})^2S2=n−11​∑i=1n​(Xi​−Xˉ)2 is an unbiased estimator of σ2\sigma^2σ2.

  • A particular function of S2S^2S2 follows a chi-squared distribution:

(n−1)S2σ2∼χn−12\frac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1}σ2(n−1)S2​∼χn−12​

where n−1n-1n−1 are the degrees of freedom (the parameter of the distribution). This fact is used to construct confidence intervals for σ2\sigma^2σ2.

t Distribution (Student’s t)

  • The t distribution arises when estimating the mean of a normal distribution with unknown variance.

  • If Z∼N(0,1)Z \sim N(0,1)Z∼N(0,1) and U∼χν2U \sim \chi^2_{\nu}U∼χν2​ are independent, then:

ZU/ν∼tν\frac{Z}{\sqrt{U/\nu}} \sim t_{\nu}U/ν​Z​∼tν​
  • Why is this useful? For a sample from N(μ,σ2)N(\mu,\sigma^2)N(μ,σ2), we know:

Xˉ−μσ/n∼N(0,1)\frac{\bar{X} - \mu}{\sigma/\sqrt{n}} \sim N(0,1)σ/n​Xˉ−μ​∼N(0,1)

But if σ\sigmaσ is unknown and replaced by the sample standard deviation SSS, the resulting statistic follows a t distribution:

Xˉ−μS/n∼tn−1\frac{\bar{X} - \mu}{S/\sqrt{n}} \sim t_{n-1}S/n​Xˉ−μ​∼tn−1​
  • The t distribution is symmetric, centered at zero, but has fatter tails than the standard normal. As nnn increases, the t distribution converges to the normal.

  • Historical note: The t distribution was derived by William Sealy Gosset (under the pseudonym "Student") while working as the chief brewer at the Guinness Brewery in Dublin. He needed a way to analyze quality control data from small samples with unknown variance.

F Distribution

  • The F distribution is used for comparing variances of two populations.

  • If U∼χn2U \sim \chi^2_{n}U∼χn2​ and V∼χm2V \sim \chi^2_{m}V∼χm2​ are independent, then:

U/nV/m∼Fn,m\frac{U/n}{V/m} \sim F_{n,m}V/mU/n​∼Fn,m​
  • Application: To test whether two normal populations have equal variances, one can form a ratio of their sample variances:

S12/σ12S22/σ22∼Fn1−1,n2−1\frac{S_1^2 / \sigma_1^2}{S_2^2 / \sigma_2^2} \sim F_{n_1-1, n_2-1}S22​/σ22​S12​/σ12​​∼Fn1​−1,n2​−1​

If σ12=σ22\sigma_1^2 = \sigma_2^2σ12​=σ22​, the ratio simplifies to a pure F statistic.


Constructing Confidence Intervals for the Mean

Two fundamental cases are considered: sampling from a normal distribution with known variance and with unknown variance. These are the most common scenarios encountered in practice.

Case 1: Normal Distribution, Known Variance

  • Given: X1,…,Xn∼i.i.d.N(μ,σ2)X_1, \dots, X_n \overset{\text{i.i.d.}}{\sim} N(\mu, \sigma^2)X1​,…,Xn​∼i.i.d.N(μ,σ2) with σ2\sigma^2σ2 known.

  • Desired: 1−α1-\alpha1−α confidence interval for μ\muμ.

  • Pivot: Xˉ−μσ/n∼N(0,1)\frac{\bar{X} - \mu}{\sigma/\sqrt{n}} \sim N(0,1)σ/n​Xˉ−μ​∼N(0,1).

  • Derivation:

    1. Choose zα/2z_{\alpha/2}zα/2​ such that P(Z>zα/2)=α/2P(Z > z_{\alpha/2}) = \alpha/2P(Z>zα/2​)=α/2 (upper-tail critical value of standard normal). By symmetry, P(Z<−zα/2)=α/2P(Z < -z_{\alpha/2}) = \alpha/2P(Z<−zα/2​)=α/2.

    2. Write:

    P(−zα/2<Xˉ−μσ/n<zα/2)=1−αP\left( -z_{\alpha/2} < \frac{\bar{X} - \mu}{\sigma/\sqrt{n}} < z_{\alpha/2} \right) = 1 - \alphaP(−zα/2​<σ/n​Xˉ−μ​<zα/2​)=1−α
    1. Rearrange to isolate μ\muμ:

    P(Xˉ−zα/2σn<μ<Xˉ+zα/2σn)=1−αP\left( \bar{X} - z_{\alpha/2} \frac{\sigma}{\sqrt{n}} < \mu < \bar{X} + z_{\alpha/2} \frac{\sigma}{\sqrt{n}} \right) = 1 - \alphaP(Xˉ−zα/2​n​σ​<μ<Xˉ+zα/2​n​σ​)=1−α
  • Result: The 1−α1-\alpha1−α confidence interval is:

    (xˉ−zα/2σn,  xˉ+zα/2σn)\left( \bar{x} - z_{\alpha/2} \frac{\sigma}{\sqrt{n}}, \; \bar{x} + z_{\alpha/2} \frac{\sigma}{\sqrt{n}} \right)(xˉ−zα/2​n​σ​,xˉ+zα/2​n​σ​)

    All quantities are known: xˉ\bar{x}xˉ from the sample, σ\sigmaσ known, zα/2z_{\alpha/2}zα/2​ from tables.

Case 2: Normal Distribution, Unknown Variance

  • Given: Same setup, but σ2\sigma^2σ2 is unknown.

  • Problem: The pivot in Case 1 cannot be used because σ\sigmaσ is unknown. Instead, use the sample standard deviation SSS.

  • Pivot: From the t distribution result:

    Xˉ−μS/n∼tn−1\frac{\bar{X} - \mu}{S/\sqrt{n}} \sim t_{n-1}S/n​Xˉ−μ​∼tn−1​
  • Derivation: Analogous to Case 1, but using the ttt critical value tα/2,n−1t_{\alpha/2, n-1}tα/2,n−1​.

    P(−tα/2,n−1<Xˉ−μS/n<tα/2,n−1)=1−αP\left( -t_{\alpha/2, n-1} < \frac{\bar{X} - \mu}{S/\sqrt{n}} < t_{\alpha/2, n-1} \right) = 1 - \alphaP(−tα/2,n−1​<S/n​Xˉ−μ​<tα/2,n−1​)=1−α

    Rearranging:

    P(Xˉ−tα/2,n−1Sn<μ<Xˉ+tα/2,n−1Sn)=1−αP\left( \bar{X} - t_{\alpha/2, n-1} \frac{S}{\sqrt{n}} < \mu < \bar{X} + t_{\alpha/2, n-1} \frac{S}{\sqrt{n}} \right) = 1 - \alphaP(Xˉ−tα/2,n−1​n​S​<μ<Xˉ+tα/2,n−1​n​S​)=1−α
  • Result: The 1−α1-\alpha1−α t confidence interval is:

    (xˉ−tα/2,n−1sn,  xˉ+tα/2,n−1sn)\left( \bar{x} - t_{\alpha/2, n-1} \frac{s}{\sqrt{n}}, \; \bar{x} + t_{\alpha/2, n-1} \frac{s}{\sqrt{n}} \right)(xˉ−tα/2,n−1​n​s​,xˉ+tα/2,n−1​n​s​)
  • Comparison with Case 1: Because the t distribution has fatter tails, tα/2,n−1>zα/2t_{\alpha/2, n-1} > z_{\alpha/2}tα/2,n−1​>zα/2​ for finite nnn. This makes the t interval wider, reflecting the extra uncertainty from estimating σ\sigmaσ. As nnn grows large, tα/2,n−1→zα/2t_{\alpha/2, n-1} \to z_{\alpha/2}tα/2,n−1​→zα/2​, and the intervals coincide.

  • Practical use: In many applications, even when the population is not exactly normal, the t interval is used as an approximation (appealing to the Central Limit Theorem). For large nnn, the normal and t intervals are virtually identical.


Hypothesis Testing

Hypothesis testing is a foundational tool in statistics, especially in economics and social sciences. It answers questions such as: "Does a treatment have an effect?" or "Is a parameter different from zero?"

Basic Concepts and Definitions

  • Hypothesis: An assumption about the distribution of a random variable in the population.

  • Maintained hypothesis: An assumption that is not tested (e.g., the distribution is normal).

  • Testable hypothesis: A hypothesis that can be tested using sample evidence.

  • Null hypothesis (H0H_0H0​): The testable hypothesis to be tested, often representing "no effect" or "status quo."

  • Alternative hypothesis (HaH_aHa​ or H1H_1H1​): A set of possibilities other than the null. The null and alternative must be disjoint (no overlap) and often cover the entire parameter space.

  • Simple hypothesis: Specifies a single value (e.g., H0:μ=0H_0: \mu = 0H0​:μ=0).

  • Composite hypothesis: Specifies a range of values (e.g., Ha:μ>0H_a: \mu > 0Ha​:μ>0).

Examples:

H0H_0H0​

HaH_aHa​

Type

μ=0\mu = 0μ=0

μ=1\mu = 1μ=1

Both simple

μ=0\mu = 0μ=0

μ≠0\mu \neq 0μ=0

Simple vs. composite (two-sided)

μ=0\mu = 0μ=0

μ>0\mu > 0μ>0

Simple vs. composite (one-sided)

Errors in Hypothesis Testing

Because decisions are based on a random sample, mistakes can occur.

Decision

H0H_0H0​ true

H0H_0H0​ false

Accept H0H_0H0​

Correct decision

Type II error

Reject H0H_0H0​

Type I error

Correct decision

  • Type I error: Rejecting a true null hypothesis. Probability denoted α\alphaα.

  • Type II error: Accepting a false null hypothesis. Probability denoted β\betaβ.

  • Significance level: α\alphaα (probability of Type I error).

  • Power of the test: 1−β1 - \beta1−β (probability of correctly rejecting a false null).

Critical Region and Test Statistic

  • Critical region (or rejection region): The set of all sample outcomes for which H0H_0H0​ is rejected. Denoted CCC.

  • Test statistic: A function of the sample used to decide whether to reject H0H_0H0​. Often a single number (e.g., Xˉ\bar{X}Xˉ) that summarizes evidence against H0H_0H0​.

Example: Simple vs. Simple Hypothesis

Setup: X1,…,Xn∼i.i.d.N(μ,σ2)X_1, \dots, X_n \overset{\text{i.i.d.}}{\sim} N(\mu, \sigma^2)X1​,…,Xn​∼i.i.d.N(μ,σ2), σ2\sigma^2σ2 known.

  • H0:μ=0H_0: \mu = 0H0​:μ=0

  • Ha:μ=1H_a: \mu = 1Ha​:μ=1

Choice of test statistic: The sample mean Xˉ\bar{X}Xˉ is a natural statistic. Intuitively, large values of Xˉ\bar{X}Xˉ favor HaH_aHa​, small values favor H0H_0H0​. The critical region is Xˉ>k\bar{X} > kXˉ>k for some constant kkk.

  • Under H0H_0H0​: Xˉ∼N(0,σ2/n)\bar{X} \sim N(0, \sigma^2/n)Xˉ∼N(0,σ2/n).

  • Under HaH_aHa​: Xˉ∼N(1,σ2/n)\bar{X} \sim N(1, \sigma^2/n)Xˉ∼N(1,σ2/n).

Probabilities of errors:

  • Type I error: α=P(Xˉ>k∣H0)=1−Φ(k−0σ/n)\alpha = P(\bar{X} > k \mid H_0) = 1 - \Phi\left( \frac{k - 0}{\sigma/\sqrt{n}} \right)α=P(Xˉ>k∣H0​)=1−Φ(σ/n​k−0​)

  • Type II error: β=P(Xˉ≤k∣Ha)=Φ(k−1σ/n)\beta = P(\bar{X} \leq k \mid H_a) = \Phi\left( \frac{k - 1}{\sigma/\sqrt{n}} \right)β=P(Xˉ≤k∣Ha​)=Φ(σ/n​k−1​)

  • Trade-off: Increasing kkk decreases α\alphaα but increases β\betaβ; decreasing kkk does the opposite. Fixing α\alphaα determines kkk and thus β\betaβ.

  • If the resulting error probabilities are too high, the only remedy (assuming a well-designed test) is to increase the sample size nnn. A larger nnn reduces the variances of the sampling distributions, making the two distributions more concentrated and allowing both α\alphaα and β\betaβ to be smaller simultaneously.

One-Sided vs. Two-Sided Tests

  • In the example above, the alternative was one-sided (μ=1\mu = 1μ=1). For a two-sided alternative (Ha:μ≠0H_a: \mu \neq 0Ha​:μ=0), the critical region would be two-tailed: reject H0H_0H0​ if Xˉ\bar{X}Xˉ is either too large or too small. The critical region would be Xˉ<k1\bar{X} < k_1Xˉ<k1​ or Xˉ>k2\bar{X} > k_2Xˉ>k2​, with k1k_1k1​ and k2k_2k2​ chosen so that α/2\alpha/2α/2 probability lies in each tail under H0H_0H0​.

General Remarks

  • In practice, most hypothesis tests involve composite alternatives. Analyzing such tests is more complex because α\alphaα and β\betaβ may depend on the true parameter value.

  • The simple-versus-simple example provides a clear illustration of the mechanics: the test statistic has a known distribution under both H0H_0H0​ and HaH_aHa​, allowing exact calculation of error probabilities. This framework forms the basis for more realistic scenarios, where critical values are obtained from tables of the normal, t, or other distributions.


These notes cover the essential concepts of standard errors, confidence intervals, the three foundational sampling distributions (χ2\chi^2χ2, ttt, FFF), the construction of confidence intervals for the mean, and the fundamentals of hypothesis testing. Mastery of these topics provides a strong foundation for further study in estimation and inference.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent