Английская Википедия:Bootstrapping populations

Материал из Онлайн справочника
Версия от 22:57, 10 февраля 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{Technical|date=December 2021}} '''Bootstrapping populations''' in statistics and mathematics starts with a sample <math>\{x_1,\ldots,x_m\}</math> observed from a random variable. When ''X'' has a given distribution law with a set of non fixed parameters, we denote with a vector <math>\boldsymbol\theta</math>, a...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Technical Bootstrapping populations in statistics and mathematics starts with a sample <math>\{x_1,\ldots,x_m\}</math> observed from a random variable.

When X has a given distribution law with a set of non fixed parameters, we denote with a vector <math>\boldsymbol\theta</math>, a parametric inference problem consists of computing suitable values – call them estimates – of these parameters precisely on the basis of the sample. An estimate is suitable if replacing it with the unknown parameter does not cause major damage in next computations. In Algorithmic inference, suitability of an estimate reads in terms of compatibility with the observed sample.

In this framework, resampling methods are aimed at generating a set of candidate values to replace the unknown parameters that we read as compatible replicas of them. They represent a population of specifications of a random vector <math>\boldsymbol\Theta</math> [1] compatible with an observed sample, where the compatibility of its values has the properties of a probability distribution. By plugging parameters into the expression of the questioned distribution law, we bootstrap entire populations of random variables compatible with the observed sample.

The rationale of the algorithms computing the replicas, which we denote population bootstrap procedures, is to identify a set of statistics <math>\{s_1,\ldots,s_k\}</math> exhibiting specific properties, denoting a well behavior, w.r.t. the unknown parameters. The statistics are expressed as functions of the observed values <math>\{x_1,\ldots,x_m\}</math>, by definition. The <math>x_i</math> may be expressed as a function of the unknown parameters and a random seed specification <math>z_i</math> through the sampling mechanism <math>(g_{\boldsymbol\theta},Z)</math>, in turn. Then, by plugging the second expression in the former, we obtain <math>s_j</math> expressions as functions of seeds and parameters – the master equations – that we invert to find values of the latter as a function of: i) the statistics, whose values in turn are fixed at the observed ones; and ii) the seeds, which are random according to their own distribution. Hence from a set of seed samples we obtain a set of parameter replicas.

Method

Given a <math>\boldsymbol x=\{x_1,\ldots,x_m\}</math> of a random variable X and a sampling mechanism <math>(g_{\boldsymbol\theta},Z)</math> for X, the realization x is given by <math>\boldsymbol x=\{g_{\boldsymbol\theta}(z_1),\ldots,g_{\boldsymbol\theta}(z_m)\}</math>, with <math>\boldsymbol\theta=(\theta_1,\ldots,\theta_k)</math>. Focusing on well-behaved statistics,

<math>s_1=h_1(x_1,\ldots,x_m),</math>
  <math>\vdots\ \ \ \ \ \ \ \ \ \ \ \ \ \ \vdots</math>
<math>s_k=h_k(x_1,\ldots,x_m),</math>

for their parameters, the master equations read

<math>s_1= h_1(g_{\boldsymbol\theta} (z_1),\ldots, g_{\boldsymbol\theta} (z_m))= \rho_1(\boldsymbol\theta;z_1,\ldots,z_m)</math>
  <math>\vdots\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \vdots \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \vdots</math> (1)
<math>s_k= h_k(g_{\boldsymbol\theta} (z_1),\ldots, g_{\boldsymbol\theta} (z_m))= \rho_k(\boldsymbol\theta;z_1,\ldots,z_m).</math>

For each sample seed <math>\{z_1,\ldots,z_m\}</math> a vector of parameters <math>\boldsymbol\theta</math> is obtained from the solution of the above system with <math>s_i</math> fixed to the observed values. Having computed a huge set of compatible vectors, say N, the empirical marginal distribution of <math>\Theta_j</math> is obtained by:

<math>\widehat F_{\Theta_j}(\theta)=\sum_{i=1}^N\frac{1}{N}I_{(-\infty,\theta]}(\breve\theta_{j,i})</math> (2)

where <math>\breve\theta_{j,i}</math> is the j-th component of the generic solution of (1) and where <math>I_{(-\infty,\theta]}(\breve\theta_{j,i})</math> is the indicator function of <math>\breve\theta_{j,i}</math> in the interval <math>(-\infty,\theta].</math> Some indeterminacies remain if X is discrete and this we will be considered shortly. The whole procedure may be summed up in the form of the following Algorithm, where the index <math>\boldsymbol\Theta</math> of <math>\boldsymbol s_{\boldsymbol\Theta}</math> denotes the parameter vector from which the statistics vector is derived.

Algorithm

Generating parameter populations through a bootstrap
Given a sample <math>\{x_1,\ldots,x_m\}</math> from a random variable with parameter vector <math>\boldsymbol\theta</math> unknown,
  1. Identify a vector of well-behaved statistics <math>\boldsymbol S</math> for <math>\boldsymbol\Theta</math>;
  2. compute a specification <math>\boldsymbol s_{\boldsymbol\Theta}</math> of <math>\boldsymbol S</math> from the sample;
  3. repeat for a satisfactory number N of iterations:
    • draw a sample seed <math>\breve{\boldsymbol z}_i</math> of size m from the seed random variable;
    • get <math>\breve{\boldsymbol\theta}_i=\mathrm{Inv}(\boldsymbol s,\boldsymbol z_i)</math> as a solution of (1) in θ with <math>\boldsymbol s=\boldsymbol s_{\boldsymbol\Theta}</math> and <math>\boldsymbol z_i = \{\breve z_1,\ldots,\breve z_m\}</math>;
    • add <math>\breve{\boldsymbol\theta}_i</math> to <math>\boldsymbol\Theta</math>; population.
Файл:Expocdf.png
Cumulative distribution function of the parameter Λ of an Exponential random variable when statistic <math>s_\Lambda=6.36</math>
Файл:Unicdf.png
Cumulative distribution function of the parameter A of a uniform continuous random variable when statistic <math>s_A=9.91</math>

You may easily see from a table of sufficient statistics that we obtain the curve in the picture on the left by computing the empirical distribution (2) on the population obtained through the above algorithm when: i) X is an Exponential random variable, ii) <math> s_\Lambda= \sum_{j=1}^m x_j </math>, and

<math>\text{ iii) Inv}(s_\Lambda,\boldsymbol u_i) =\sum_{j=1}^m(-\log u_{ij})/s_\Lambda</math>,

and the curve in the picture on the right when: i) X is a Uniform random variable in <math>[0,a] </math>, ii) <math> s_A= \max_{j=1, \ldots, m} x_j </math>, and

<math>\text{iii) Inv}(s_A,\boldsymbol u_i) =s_A/\max_{j=1,\ldots,m}\{u_{ij}\}</math>.

Remark

Note that the accuracy with which a parameter distribution law of populations compatible with a sample is obtained is not a function of the sample size. Instead, it is a function of the number of seeds we draw. In turn, this number is purely a matter of computational time but does not require any extension of the observed data. With other bootstrapping methods focusing on a generation of sample replicas (like those proposed by Шаблон:Harv) the accuracy of the estimate distributions depends on the sample size.

Example

For <math>\boldsymbol x</math> expected to represent a Pareto distribution, whose specification requires values for the parameters <math>a</math> and k,[2] we have that the cumulative distribution function reads:

Файл:Paretocdf.png
Joint empirical cumulative distribution function of parameters <math>(A,K)</math> of a Pareto random variable when <math>m=30, s_1=83.24</math> and <math>s_{2}=8.37</math> based on 5,000 replicas.
<math>F_X(x)=1-\left(\frac{k}{x}\right)^a</math>.

A sampling mechanism <math>(g_{(a,k)}, U)</math> has <math>[0,1]</math> uniform seed U and explaining function <math>g_{(a,k)}</math> described by:

<math>x= g_{(a,k)}=(1 - u)^{-\frac{1}{a}} k</math>

A relevant statistic <math>\boldsymbol s_\boldsymbol\Theta</math> is constituted by the pair of joint sufficient statistics for <math>A</math> and K, respectively <math>s_1=\sum_{i=1}^m \log x_i, s_{2}=\min\{x_i\}</math>. The master equations read

<math>s_1=\sum_{i=1}^m -\frac{1}{a}\log(1 - u_i)+m \log k</math>
<math>s_{2}=(1 - u_{\min})^{-\frac{1}{a}} k</math>

with <math>u_{\min}=\min\{u_i\}</math>.

Figure on the right reports the three-dimensional plot of the empirical cumulative distribution function (2) of <math>(A,K)</math>.

Notes

Шаблон:Reflist

References

  1. By default, capital letters (such as U, X) will denote random variables and small letters (u, x) their corresponding realizations.
  2. We denote here with symbols a and k the Pareto parameters elsewhere indicated through k and <math>x_{\mathrm{min}}</math>.