Introduction. Statistics and Estimators

Published

8 September 2026

WarningDraft

This set of notes is still being edited: the text may contain typos, inaccuracies, and locally unpolished spots. If you find something, please let the author know (contact information on the course page).

1 Mathematical Statistics: Introduction

1.1 Probability Theory VS Mathematical Statistics

In probability theory, we assumed that we knew the nature of some phenomenon or experiment (the distribution of a random variable), and this knowledge allowed us to study the behavior of various derived quantities. Given the distribution of some random variable \(\xi\), we could, for example, find the distribution of \(\xi^2\), find how the expectations, variances, and distributions of sums of dependent/independent random variables relate to one another, and so on β€” that is, we went from a known distribution to the properties and behavior of quantities related to it.

In mathematical statistics everything is reversed: the data are the results of experiments (values of a random variable), and we need to understand the nature of the phenomenon being studied (the distribution of the quantity).

Let \(\xi\) be a random variable taking values in the set \(\mathbb {R}\) and having distribution \(\mathbb {P}\)1. We will call the random variable \(\xi\) an observation. One of the main problems of mathematical statistics, which is essentially what we will be doing, is the following:

Based on a set of observations, determine some information about the distribution \(\mathbb{P}\), which is assumed to be unknown.

As a rule, it is possible to carry out independent experiments in order to determine the nature of the phenomenon under study. Speaking mathematically, the distribution needs to be recovered from a set of independent observations, called a sample. That is, a sample is a vector \(\left(X_{1}, \ldots , X_{n}\right)^T\) (or simply \(X_{1}, \ldots , X_{n}\)) made up of independent random variables distributed according to \(\mathbb {P}\), i.e., in the same way as \(\xi\). Such a vector takes values in the set \(\mathbb {R}^{n}\), and its distribution \(\mathbb {P}^{n}\) is defined on the Borel \(\sigma\)-algebra \(\mathscr {B}\left(\mathbb {R}^{n}\right)\).

There are several approaches to the problem of estimating a distribution. Let us consider the main ones.

1.2 Parametric VS Nonparametric Approaches

In real experiments, as a rule, it is possible to narrow the possible values of \(\mathbb {P}\) somewhat before carrying out the study, i.e., to find some family of distributions \(\mathcal{P}\) to which \(\mathbb {P}\) is guaranteed to belong. The triple \((\mathbb {R}, \mathcal{B}(\mathbb {R}), \mathcal{P})\) is called a probabilistic-statistical model.

In the parametric approach, we assume that the family of distributions \(\mathcal{P}\) to which our unknown distribution \(\mathbb {P}\) belongs consists only of distributions given by some parameter.

ExampleExample 1

Suppose we want to estimate the rate at which customers visit a store. Let \(\xi\) be the time between visits of consecutive customers, that is, how much time passes between the visit of one customer and the next. Let \(\mathbb {P}\) be the distribution of \(\xi\).

It is clear that \(\xi\) is a nonnegative random variable with a continuous distribution, i.e., it is known in advance that \(\mathbb {P} \in \mathcal{P}\), where \(\mathcal{P}\) is the class of all continuous distributions with support \([0, +\infty )\). We need to estimate the density \(f_0\) of the distribution \(\mathbb {P}\).

To estimate \(\mathbb {P}\), the following sample (more precisely, its realization) was collected: \[ \begin{pmatrix} X_1(\omega ) \\ X_2(\omega ) \\ \vdots \\ X_{20}(\omega ) \end{pmatrix} = \left(\begin{smallmatrix} 0.5 \\ 0.8 \\ 1.2 \\ 5.8 \\ 8.5 \\ 7.2 \\ 1.5 \\ 1.8 \\ 2.0 \\ 2.3 \\ 2.6 \\ 3.5 \\ 3.9 \\ 4.5 \\ 5.2 \\ 6.4 \\ 6.8 \\ 7.6 \\ 9.2 \\ 9.8 \end{smallmatrix}\right) \] (time is measured in minutes). Estimate \(\mathbb {P}\) using the parametric and nonparametric approaches.

SolutionSolution
Enum-item1.

Parametric approach. We need to narrow \(\mathcal{P}\), that is, make an additional assumption about the form of \(\mathbb {P}\). It is common to model the time between recurring events using the exponential distribution, since it has the memoryless property. So, we set \(\mathcal{P} = \{ \operatorname {Exp}(\theta ) : \theta > 0\}\), i.e., \(\xi \sim \mathbb {P} = \operatorname {Exp}(\theta )\) for some unknown \(\theta > 0\). Density:

\[ f(x) = f(x,\theta ) = \theta e^{-\theta x} \cdot \; \mathbb {1}_{[0,+\infty )}(x) \]

The problem of estimating the density has been reduced to constructing an estimator of the parameter \(\theta\).

We have \(\mathbb {E}\left[\xi \right] = 1/\theta\), i.e., \(\theta = \frac{1}{\mathbb {E}\left[\xi \right]}\). It is reasonable to estimate the expectation \(\mathbb {E}\left[\xi \right]\) by the sample mean \(\frac{1}{n}\sum_{k=1}^{n}X_k\) (we will discuss this in more detail later). Hence, a natural estimator of \(\theta\) is

\[ \widehat{\theta } = \frac{1}{\frac{1}{n}\sum _{k=1}^{n}X_k}. \]

In our specific case:

\[ \frac{1}{n}\sum _{k=1}^{n}X_k(\omega _0) = \frac{0.5 + 0.8 +\ldots + 9.8}{20} = \frac{91.1}{20} = 4.555, \]

whence \(\widehat{\theta }(\omega_0) \approx 0.220\).

Parametric density estimate:

\[ \widehat{f}^{\mathrm{P}}(x) = \widehat{\theta }\, e^{-\widehat{\theta }\, x} \cdot \; \mathbb {1}_{[0,+\infty )}(x), \]

where P stands for parametric. In our specific case:

\[ \widehat{f}^{\mathrm{P}}(x, \omega _0) \approx 0.220 \cdot e^{-0.220 \cdot x} \cdot \; \mathbb {1}_{[0,+\infty )}(x) \]

Enum-item2.

Nonparametric approach. Here we make no assumptions about the shape of the distribution. Let us use the following method: over each sample point \(X_i\) we inflate a symmetric β€œbump” of area \(\frac{1}{n}\). The shape of the bump is given by a kernel \(K\) β€” a function satisfying \(K(u) \geq 0\), \(\int K(u)\, du = 1\), \(K(u) = K(-u)\). Popular kernels:

  • the Epanechnikov kernel \(K(u) = \frac{3}{4}(1 - u^2) \cdot \; \mathbb {1}_{[-1,1]}(u)\);

  • the Gaussian kernel \(K(u) = \frac{1}{\sqrt{2\pi }} e^{-u^2/2}\);

  • the uniform kernel \(K(u) = \frac{1}{2}\cdot \; \mathbb {1}_{[-1,1]}(u)\).

The width of the bump is controlled by the parameter \(h > 0\) (the bandwidth). Preliminary density estimate:

\[ \widehat{f}_0^{\mathrm{NP}}(x) = \sum _{i=1}^{n} \frac{1}{n} \cdot \frac{1}{h} \cdot K\! \left(\frac{x - X_i}{h}\right). \]

where \(\frac{1}{h} \cdot K\! \left(\frac{x - X_i}{h}\right)\) is a bump of width \(h\) centered at \(X_i\). The factor \(\frac{1}{h}\) is included so that the area under the graph remains equal to \(1\).

This is the so-called kernel density estimate, abbreviated KDE (Kernel Density Estimation).

Since the kernel \(K\) is symmetric, part of the area under \(\widehat{f}_0^{\mathrm{NP}}\) sometimes β€œleaks” onto the negative half-axis, which contradicts the fact that \(\xi \geq 0\). Denote this leaked area by

\[ s = \int _{-\infty }^{0} \widehat{f}_0^{\mathrm{NP}}(x)\, dx. \]

Let us correct the estimate by renormalizing it on \([0, +\infty )\):

\[ \widehat{f}^{\mathrm{NP}}(x) = \begin{cases} \dfrac {1}{1 - s}\, \widehat{f}_0^{\mathrm{NP}}(x), & x \geq 0, \\ 0, & x < 0, \end{cases} \]

where NP stands for non-parametric. Then \(\int_0^{+\infty } \widehat{f}^{\mathrm{NP}}(x)\, dx = 1\).

Density estimation: nonparametric and parametric approaches

Orange points are the observations. Drag observations to move them. Click on an empty spot to add an observation. Double-click or right-click to remove an observation.

1.7
\(\hat{f}_0^{\mathrm{NP}}\) β€” preliminary KDE (all \(x\))
\(\hat{f}^{\mathrm{NP}}\) β€” corrected KDE (\(x \ge 0\))
\(\hat{f}^{\mathrm{P}}\) β€” \(\mathrm{Exp}(\hat{\theta})\), \(\hat{\theta} = \bar{X}\)
Sample size: \(\bar{X} =\) \(\hat{\theta} =\) \(s =\)

As the graph shows, the density estimates differ substantially. The parametric estimate is coarser β€” it does not account for the fact that the distribution has 2 peaks: near the point \(2\) and near the point \(7\). On the other hand, the parametric estimate is simpler.

1.3 Frequentist VS Bayesian Approaches

Recall that in probability theory there are several ways to understand the word β€œprobability.” A simple example: you flip a coin, it lands on your hand, but you immediately cover it with your other hand. What is the probability that it came up heads?

  • Frequentist interpretation of probability. The probability of an event is the limit of the relative frequency of its occurrence under unlimited repetition of the same random experiment:

    \[ \mathbb {P}(A) = \lim _{n \to \infty } \frac{\text{number of successes}}{n}. \]

    To speak of the probability of something, one needs to imagine (at least mentally) a series of repetitions of the experiment. Therefore, probabilistic statements only make sense for random, repeatable events.

    In the coin example, β€œprobability” makes no sense from this point of view: the coin has already landed on your hand, it has already come up somehow. There is no repeatability here: you could open your hand 1000 times, and all 1000 times you would see the same result (though you don’t know it yet, it is nonetheless certain that it will be the same).

    When, within the frequentist approach, one says β€œa fair coin has probability \(\frac{1}{2}\) of landing heads,” what is meant is that if you flip the coin 1000 times, heads will come up in roughly half of the cases.

  • Bayesian interpretation of probability. Probability is a degree of belief (degree of plausibility, degree of confidence) in the truth of some statement, based on available information. Such a probability can be assigned to any statement, including a one-time, non-repeatable event.

    From the Bayesian point of view, the question of the probability that an already-tossed coin landed heads or tails makes perfect sense: you are about \(1/2\) confident that it landed heads.

    Incidentally, this leads to a curious observation: an ordinary person, not versed in mathematical subtleties, when asked about the probability of heads for a coin that has already landed, will most likely confidently answer \(1/2\). Likewise, they would not be puzzled by the question β€œwhat is the probability that it will rain tomorrow,” even though there is no repeatability here and the frequentist approach does not apply. That is, the layperson’s interpretation of probability is, in essence, Bayesian.

    One more curious point: since in the Bayesian approach probability is a degree of belief, it can be updated as new, even indirect, information arrives. Suppose that initially (a priori) you had no information about the coin, and you were confident it was fair. Then, after the toss and covering it with your hand, the probability (degree of belief) of heads for you equals \(\frac{1}{2}\). Next, instead of uncovering your hand, you might try to determine the outcome by touch. Suppose it seems to you that you feel heads on top β€” then the probability (degree of belief) of heads might shift, say, to \(\frac{2}{3}\). Then, suppose it turns out that the coin was lent to you by a friend who says it is unfair and more prone to landing tails. After this new information, you can once again update your probability (degree of belief), shifting it, say, to \(\frac{3}{8}\). The probability obtained after taking new information into account is called the posterior probability. And so on: the Bayesian approach allows one to successively β€œupdate” probabilities as data arrive.

Let us consider the difference between the frequentist and Bayesian approaches using the example of estimating a parameter in a parametric model. In the frequentist approach, the parameter is considered a fixed but unknown number β€” it is not random, and it is formally incorrect to speak of β€œthe probability that the parameter lies in some fixed interval”: either the parameter lies there, or it does not. Randomness in this approach is associated only with the data β€” with the fact that if the experiment is repeated many times, the sample will come out differently each time.

In the Bayesian approach, the parameter itself is declared to be a random variable. This does not mean that the experiment is β€œactually” carried out each time with a new parameter β€” it simply means that our knowledge about the parameter, before and after the experiment, is described by a probability distribution. Before we have seen the data, this knowledge is expressed by a prior distribution (from the Latin a priori β€” β€œfrom what is before”) β€” this is a distribution that we choose ourselves, based on what we know about the parameter beforehand (or based on convenience, if nothing is known). After the data are obtained, the prior distribution is recomputed into the posterior distribution (a posteriori β€” β€œfrom what is after”) using Bayes’ formula β€” this is the updated knowledge about the parameter, taking the observations into account.

ExampleExample 2

A coin was tossed \(n = 10\) times, and \(k = 8\) heads came up. Estimate the probability \(p\) of heads: a) using the frequentist approach (point estimate and confidence interval); b) using the Bayesian approach (posterior distribution and confidence interval).

SolutionSolution

a) Frequentist approach.

Maximum likelihood estimate:

\[ \hat{p} = \frac{k}{n} = \frac{8}{10} = 0{,}8. \]

Approximate 95% (Wald) confidence interval:

\[ \hat{p} \pm 1{,}96 \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} = 0{,}8 \pm 1{,}96 \cdot \sqrt{\frac{0{,}8 \cdot 0{,}2}{10}} \approx 0{,}8 \pm 0{,}248, \]

that is, \((0{,}55;\ 1{,}0)\) (after truncation at the boundary \(1\)).

Interpretation: if the experiment (10 tosses) is repeated many times and such an interval is constructed each time, then in 95 out of 100 cases it will cover the true value \(p\). Here \(p\) itself does not change and is not random β€” what is random is the interval itself (from sample to sample).

b) Bayesian approach.

We need to specify a prior distribution for \(p\). Let us take

\[ p \sim \mathrm{Beta}(\alpha =1,\ \beta =1), \]

that is, the uniform distribution on \([0,1]\) β€” it reflects a situation where we have no preferences beforehand: any value of \(p\) from 0 to 1 is considered a priori equally likely.

The likelihood of the data under the binomial model:

\[ L(p) \propto p^{k}(1-p)^{n-k}. \]

By Bayes’ formula, the posterior density is proportional to the product of the prior density and the likelihood; for the Beta-Binomial pair this is again a beta distribution:

\[ p \mid \text{data} \sim \mathrm{Beta}(\alpha + k,\ \beta + n - k) = \mathrm{Beta}(9, 3). \]

Posterior expectation:

\[ \mathbb {E}[p \mid \text{data}] = \frac{9}{9+3} = 0{,}75. \]

95% confidence interval (using the \(2{,}5\%\) and \(97{,}5\%\) quantiles of \(\mathrm{Beta}(9,3)\)):

\[ (0{,}48;\ 0{,}94). \]

Interpretation: after we have seen the data and updated our knowledge about \(p\), we can say β€” with probability 95%, the true value of \(p\) lies in this interval. Here this is a legitimate probabilistic statement about the parameter itself, because in this approach \(p\) is a random variable with posterior distribution \(\mathrm{Beta}(9,3)\).

Bayesian updating: the coin

Sliders for the data \(n\) (number of tosses) and \(k\) (number of heads) and for the prior \(\mathrm{Beta}(\alpha_0,\beta_0)\) parameters β€” the posterior density, confidence interval, and labels are recomputed instantly.

posterior: Beta(9, 3) posterior mean = 0.750 \(\hat p_{\mathrm{MLE}} = k/n\) = 0.800 95% Bayesian CI = (0.482, 0.940)

Comparison. The point estimate in the Bayesian approach (\(0{,}75\)) is shifted slightly toward the center of the prior distribution (\(0{,}5\)) compared to the purely empirical estimate \(0{,}8\) β€” this is precisely the influence of the prior distribution. If we take a more β€œconfident” prior distribution, for example \(\mathrm{Beta}(50,50)\) (a strong expectation that \(p \approx 0{,}5\), say, from previous experiments with similar coins), the shift in the posterior estimate would be much stronger. The frequentist estimate \(\hat p = k/n\), on the other hand, does not depend at all on the choice of any prior distribution β€” in this approach, no such object even exists.

In this course we will mainly deal with parametric frequentist statistics. Although we will also touch on nonparametric and Bayesian methods.

Parametric statistics reduces to constructing and studying estimators of parameters, which is what we will be doing in the upcoming seminars.

2 Statistics: Definition, Examples

Definition 1 Suppose we have a sample of size \(n\). Any \((\mathscr {B}\left(\mathbb {R}^{n}\right) \mid \mathcal{E})\)-measurable map \(S: \mathbb {R}^{n} \rightarrow E\) is called a statistic, where \((E, \mathcal{E})\) is an arbitrary measurable space2.

Suppose we are working with a parametric model, i.e., the family of distributions is parameterized as \(\mathcal{P}=\left\{ \mathbb {P}_{\theta }, \theta \in \Theta \right\}\). As a rule, the parameter is a number or a vector (as, for example, in the case of the normal distribution, where \(\theta = (\mu , \sigma^2)^T\)), i.e., \(\Theta \subset \mathbb {R}\) (or \(\mathbb {R}^{k}\)), and in this case it is assumed that a Borel sigma-algebra \(\mathscr {B}\left(\Theta \right)\) is defined on \(\Theta\). A measurable (\(\mathscr {B}\left(\mathbb {R}^{n}\right) \mid \mathscr {B}\left(\Theta \right)\)-measurable) map \(S: \mathbb {R}^{n} \to \Theta\) is called an estimator of the parameter \(\theta\).

As a rule, an estimator of the parameter \(\theta\) is denoted \(\widehat{\theta } = \widehat{\theta }(X)\). Note that an estimator of a parameter is a random variable, since it depends on the sample, i.e., on random variables. At the same time, the parameter itself is a nonrandom constant β€” it is simply unknown to us.

To summarize, if \(X=\left(X_{1}, \ldots , X_{n}\right)\) is a sample, then a statistic \(S(X)\) is a measurable function of the sample. An estimator of the parameter \(\theta \in \Theta\) is a statistic that takes values in \(\Theta\).

In the case of a parametric model, the problem of finding the β€œtrue” distribution reduces to finding the β€œtrue” value of the parameter. For this, a successful (in some sense) estimator of the parameter is found. In this chapter, we will discuss which estimators are considered β€œsuccessful.”

Let \(X_{1}, \ldots , X_{n}\) be a sample from an unknown distribution \(\mathbb {P}\).

  • Let \(g: \mathbb {R} \to \mathbb {R}\) be a Borel function. The quantity

    \[ \overline{g(X)} = \frac{1}{n} \sum _{i=1}^{n} g(X_i) \]

    is called the sample characteristic of \(g(x)\). For example,

    \[ \overline{X} := \frac{1}{n} \sum _{i=1}^{n} X_{i} \]

    is called the sample mean (here \(g\) is the identity function), and

    \[ \overline{X^k} := \frac{1}{n} \sum _{i=1}^{n} X_{i}^{k} \]

    is the sample \(k\)-th moment. Or, for example, one can speak of the sample logarithm:

    \[ \overline{\ln X} := \frac{1}{n} \sum _{i=1}^{n} \ln (X_{i}) \]

  • Suppose the unknown distribution \(\mathbb {P}\) (\(\xi \sim \mathbb {P}\)) has a variance \(\sigma^2 := \operatorname {Var}\left[\xi \right]\), which we will treat as a parameter. How should we estimate it? Recall that \(\operatorname {Var}\left[\xi \right] = \mathbb {E}\left[\xi^2\right] - \left(\mathbb {E}\left[\xi \right]\right)^2\). The statistic

    \[ s^2 = \overline{X^2} - \left(\overline{X}\right)^2 \]

    is called the (biased) sample variance. It will become clear below why this statistic is called biased.

  • Let us arrange the values of the sample \(\left(X_{1}, \ldots , X_{n}\right)\) in increasing order:

    \[ X_{(1)} \leq X_{(2)} \leq \ldots \leq X_{(n)} \]

    The resulting collection of statistics is called the order statistics, and its member \(X_{(k)}\) is the \(k\)-th order statistic. In particular, \(X_{(1)}\) is the minimum:

    \[ X_{(1)} = \min _{k \in \left\{ 1,\ldots ,n\right\} }X_k, \]

    and \(X_{(n)}\) is the sample maximum:

    \[ X_{(n)} = \max _{k \in \left\{ 1,\ldots ,n\right\} }X_k, \]

    The sample median is the statistic that splits the order statistics (the sample sorted in increasing order) in half:

    \[ X_{\mathrm{med}} := \begin{cases} X_{(m+1)}, & n = 2m + 1 \\ \frac{1}{2}\left(X_{(m)} + X_{(m+1)}\right), & n = 2m \end{cases} \]

3 Properties of Estimators

3.1 Non-Asymptotic Properties

Let \(X = (X_1, \ldots , X_n)\) be an observation from an unknown distribution \(\mathbb {P} \in \left\{ \mathbb {P}_{\theta }, \theta \in \Theta \right\}\).

Definition 2 An estimator \(\widehat{\theta } = \widehat{\theta }(X)\) is called an unbiased estimator of the parameter \(\theta\) if for every \(\theta \in \Theta\) the equality \[ \mathbb {E}_{\theta }\left[\widehat{\theta }\right] = \theta \] holds. That is, whatever the true parameter \(\theta \in \Theta\) may be, the expectation of the random variable \(\widehat{\theta }\) coincides with \(\theta\). Note here that the expectation, generally speaking, depends on \(\theta\), since the distribution \(\mathbb {P}_\theta\) depends on \(\theta\), and the expectation is a Lebesgue integral with respect to the unknown distribution. This is why \(\mathbb {E}\) carries the subscript \(\theta\).

ExampleExample 3

Let \(X_{1}, \ldots , X_{n}\) be a sample from an unknown distribution \(\mathbb {P} \in \left\{ \mathbb {P}_{\theta }, \theta \in \Theta \right\}\), \(\Theta \subset \mathbb {R}\), where the parameter \(\theta\) equals the expectation of the distribution: \(\mathbb {E}_{\theta }\left[X_1\right] = \theta\) for every \(\theta \in \Theta\). Prove that \(\overline{X}\) is an unbiased estimator of the parameter \(\theta\).

SolutionSolution

By linearity of expectation, \[ \mathbb {E}_{\theta }\left[\overline{X}\right] = \frac{1}{n}\sum _{i=1}^n \mathbb {E}_{\theta }\left[X_i\right] = \mathbb {E}_{\theta }\left[X_1\right] = \theta , \] for every \(\theta \in \Theta\).

ProblemProblem 1

Let \(X_{1}, \ldots , X_{n}\) be a sample from an unknown distribution \(\mathbb {P}_{\sigma^2}\) with parameter \(\sigma^{2}\), whose variance exists and equals \(\sigma^2\). Consider the (biased) sample variance \[ s^2 = \overline{X^2} - \left(\overline{X}\right)^2 \]

  1. Prove that

\[ s^2 = \frac{1}{n} \sum _{i=1}^n \left(X_i - \overline{X}\right)^2. \]

  1. Prove that

\[ \mathbb {E}_{\sigma ^2}\left[s^2\right] = \frac{n-1}{n} \sigma ^2, \quad \forall \sigma ^2 > 0, \]

i.e., \(s^2\) is indeed a biased estimator.

  1. Prove that the estimator

\[ S^2 = \frac{n}{n-1}s^2 = \frac{1}{n-1}\sum _{i=1}^n \left(X_i - \overline{X}\right)^2, \]

called the unbiased sample variance, is indeed an unbiased estimator of \(\sigma^2\).

The following problem shows that unbiased estimators do not exist for all (complicated) parameters.

ProblemProblem 2

Let \(X_{1}, \ldots , X_{n}\) be a sample from the distribution \(\operatorname {Ber}(\theta )\), \(\theta \in \Theta = [0,1]\). For which functions \(\tau (\theta )\) do unbiased estimators exist?

3.2 Asymptotic Properties

In this section we assume that we have an infinitely large sample \(X_1, X_2, X_3, \ldots\) from an unknown distribution \(\mathbb {P}\). One can prove that there exists a probability space \(\left(\mathbb {R}^{\infty }, \mathscr {B}\left(\mathbb {R}^{\infty }\right), \mathbb {P}^{\infty }\right)\) on which one can define an infinite sequence of random variables \(X_{1}, X_{2}, \ldots\) (a sample of infinite size), distributed in the same way as \(\xi\)3. Thereby, a sample of any size \(n\) is defined on this space. Going forward, for simplicity of notation, we will write \((\mathbb {R}, \mathscr {B}\left(\mathbb {R}\right), \mathbb {P})\) instead of \(\left(\mathbb {R}^{\infty }, \mathscr {B}\left(\mathbb {R}^{\infty }\right), \mathbb {P}^{\infty }\right)\), respectively.

Suppose we have a sequence of estimators constructed according to the same principle, where the \(n\)-th estimator in the sequence depends only on the first \(n\) elements of the sample: \(\widehat{\theta }_1 = \widehat{\theta }_1(X_1)\), \(\widehat{\theta }_2 = \widehat{\theta }_2(X_1,X_2)\), \(\ldots\),

\[ \widehat{\theta }_n = \widehat{\theta }_n(X_1, \ldots , X_n), \quad \ldots , \]

For example, the sample mean: \(\widehat{\theta }_n = \frac{1}{n}\sum_{k=1}^{n}X_k\). Or the maximum: \(\widehat{\theta }_n = \max_{1 \leq k \leq n}X_k\). In such cases, it is common to omit the dependence on \(n\) and simply speak of the estimator \(\widehat{\theta }\).

Definition 3 Let \(\widehat{\theta }\) be an estimator (a sequence of estimators) of an unknown parameter \(\theta\).

  • \(\widehat{\theta }\) is called a consistent estimator of \(\theta\) if, whatever the true parameter \(\theta\) may be, \(\widehat{\theta }\) converges to it in probability:

    \[ \widehat{\theta } \xrightarrow [n \to \infty ]{\mathbb {P}_{\theta }} \theta \]

    for every \(\theta \in \Theta\).

  • \(\widehat{\theta }\) is called a strongly consistent estimator of \(\theta\) if \(\forall \theta \in \Theta\) we have

    \[ \widehat{\theta } \xrightarrow [n \to \infty ]{\mathbb {P}_{\theta }\text{-a.s.}} \theta \]

  • \(\widehat{\theta }\) is called an asymptotically normal estimator of \(\theta\) if \(\forall \theta \in \Theta\) we have

    \[ \sqrt{n}\left(\widehat{\theta } - \theta \right) \xrightarrow [n \to \infty ]{d_\theta } \mathscr {N}\left(0, \sigma ^2(\theta )\right) \]

    for some function \(\sigma^{2}(\theta )\), which is called the asymptotic variance of the estimator \(\widehat{\theta }\).

    In the definition above we used the notation \(d_{\theta }\), which denotes convergence in distribution under the condition that the elements of the sample have distribution \(\mathbb {P}_{\theta }\).

All the definitions above carry over to the case where \(\theta\) is a multidimensional parameter. In this case, in the definition of asymptotic normality, the asymptotic variance \(\sigma^2(\theta )\) is replaced by the asymptotic covariance matrix \(\Sigma (\theta )\).

ExampleExample 4

Let a sample \(X_{1}, \ldots , X_{n}\) be given from an unknown distribution \(\mathbb {P} \in \mathcal{P}\). Suppose, moreover, that \(k \in \mathbb {N}\) and \[ 0 < \mathbb {E}_{\mathbb {P}}\left[\left|X_1\right|^{2k}\right] <\infty \] for all \(\mathbb {P} \in \mathcal{P}\), i.e., whatever the unknown distribution may be, it is known in advance that it has a finite \(2k\)-th moment. Prove that the sample \(k\)-th moment \(\overline{X^k}\) is an unbiased, strongly consistent, and asymptotically normal estimator of \(\mathbb {E}_{\mathbb {P}}\left[X_1^{k}\right]\).

SolutionSolution
  • Unbiasedness, as in the previous problem, follows from the linearity of expectation.

  • Strong consistency follows from the strong law of large numbers (Kolmogorov’s): the quantities \(X_1^k, X_2^k, \ldots\) are independent, identically distributed, and \(\mathbb {E}_{\mathbb {P}}\left[\left|X_1^k\right|\right] = \mathbb {E}_{\mathbb {P}}\left[\left|X_1\right|^{k}\right] < \infty\) (finiteness follows from the finiteness of the \(2k\)-th moment), so

    \[ \overline{X^k} = \frac{1}{n} \sum _{i=1}^{n} X_{i}^{k} \xrightarrow [n \to \infty ]{\text{a.s.}} \mathbb {E}_{\mathbb {P}}\left[X_{1}^{k}\right], \quad \forall \mathbb {P} \in \mathcal{P}. \]

    Almost sure convergence implies convergence in probability, so we obtain (ordinary) consistency along the way.

  • Asymptotic normality follows from the central limit theorem: apply the CLT to \(X_1^k, X_2^k, \ldots\). Indeed, \(X_1, X_2, \ldots\) are independent and identically distributed, hence the sequence \(X_1^k, X_2^k, \ldots\) also consists of independent identically distributed random variables, with

    \[ \operatorname {Var}_{\mathbb {P}}\left[X_1^k\right] = \mathbb {E}_{\mathbb {P}}\left[X_1^{2k}\right] - \left(\mathbb {E}_{\mathbb {P}}\left[X_1^k\right]\right)^2 < \infty . \]

    Thus, we can apply the CLT. Applying it:

    \[ \sqrt{n}\left(\overline{X^{k}} - \mathbb {E}_{\mathbb {P}}\left[X_{1}^{k}\right]\right) \stackrel{d}{\rightarrow } \mathscr {N}\left(0, \operatorname {Var}_{\mathbb {P}}\left[X_1^k\right]\right). \]

The main tools for proving that an estimator is consistent or asymptotically normal are the laws of large numbers, the central limit theorem, the theorem on inheritance of convergence, and also the theorem on inheritance of asymptotic normality, formulated below.

ProblemProblem 3

Let \(X_1, \ldots , X_n\) be a sample from the distribution \(\operatorname {U}[0,\theta ]\), \(\theta \in \Theta = (0,+\infty )\). Check the estimator for unbiasedness, consistency, and strong consistency

  1. \(2\overline{X}\),

  2. \(\overline{X} + \frac{X_{(n)}}{2}\),

  3. \((n+1)X_{(1)}\),

  4. \(X_{(1)} + X_{(n)}\),

  5. \(\frac{n+1}{n}X_{(n)}\).

HintHint

\(X_{(n)} = \max (X_1, \ldots , X_n)\), so \(X_{(n)} \leq t\) holds if and only if \(X_1, X_2\ldots ,X_n \leq t\). We have \[ \begin{align} \mathbb {P}\left(X_{(n)} \leq t\right) & = \mathbb {P}\left(X_1 \leq t, X_2 \leq t, \ldots , X_n \leq t\right) \stackrel{*}{=} \\ & \stackrel{*}{=}\mathbb {P}\left(X_1 \leq t\right) \cdot \ldots \cdot \mathbb {P}\left(X_n \leq t\right) \stackrel{**}{=} \\ & \stackrel{**}{=} \left(\mathbb {P}\left(X_1 \leq t\right)\right)^n, \end{align} \] where \(*\) holds by independence of the sample, and \(**\) by the sample elements \(X_1, \ldots , X_n\) being identically distributed.

ProblemProblem 4

Prove that asymptotic normality implies consistency. That is, let \(\widehat{\theta }(X) = \widehat{\theta }_{n}(X_1, \ldots , X_n)\) be an asymptotically normal estimator of the parameter \(\theta\) with asymptotic variance \(\sigma^{2}(\theta )\). Prove that then \(\widehat{\theta }(X)\) is a consistent estimator of \(\theta\).

HintHint

Apply Slutsky’s theorem from the next chapter.

4 Sample VS Realization of a Sample

Let us say a few words about what this distinction consists of. Imagine that you are conducting a real study β€” for example, collecting data on the intervals between customer visits. In real life you obtain concrete data, concrete numbers. Numbers, of course, are not random variables. So why does mathematical statistics work with random variables at all?

The point is that we are reasoning as if immediately before conducting the experiment. The experiment has already been planned, and we are about to go collect the data β€” but have not yet collected it. At this moment, for us, the data are unknown, i.e., they represent random variables. And it is precisely at this moment that we want to understand in advance what properties our future data will have: will, for example, the sample mean approximate the parameter of interest well (will unbiasedness hold, will the asymptotic properties hold), and so on.

In other words, mathematical statistics works with a sample β€” a collection of random variables

\[ X_1, X_2, X_3, \ldots , X_n, \]

whereas as a result of a real experiment, that is, for a fixed outcome \(\omega_0 \in \Omega\), these random variables turn into concrete numbers β€” into a realization of the sample

\[ X_1(\omega _0), X_2(\omega _0), X_3(\omega _0), \ldots , X_n(\omega _0). \]

Footnotes

  1. \(\xi\) can also be a random vector taking values in \(\mathbb {R}^{k}\), with an unknown \(k\)-dimensional distribution \(\mathbb {P}\). In this case the model is constructed analogously. Going forward, for simplicity of exposition, the theory is presented for the one-dimensional case.β†©οΈŽ

  2. Recall that a map is called measurable if for every set \(A \in \mathcal{E}\) we have \(\left\{ x \; : \; S(x) \in A\right\} \in \mathscr {B}\left(\mathbb {R}^{n}\right)\)β†©οΈŽ

  3. One can even prove that a sample of infinite size from an arbitrary distribution can be defined on \(([0,1], \mathscr {B}\left([0,1]\right), \operatorname {U}[0,1])\).β†©οΈŽ