# Well-behaved statistic

Template:Multiple issues A well-behaved statistic is a term sometimes used in the theory of statistics to describe part of a procedure. This usage is broadly similar to the use of well-behaved in more general mathematics. It is essentially an assumption about the formulation of an estimation procedure (which entails the specification of an estimator or statistic) that is used to avoid giving extensive details about what conditions need to hold. In particular it means that the statistic is not an unusual one in the context being studied. Due to this, the meaning attributed to well-behaved statistic may vary from context to context.

The present article is mainly concerned with the context of data mining procedures applied to statistical inference and, in particular, to the group of computationally intensive procedure that have been called algorithmic inference.

## Algorithmic inference

{{#invoke:main|main}}

In algorithmic inference, the property of a statistic that is of most relevance is the pivoting step which allows to transference of probability-considerations from the sample distribution to the distribution of the parameters representing the population distribution in such a way that the conclusion of this statistical inference step is compatible with the sample actually observed.

By default, capital letters (such as U, X) will denote random variables and small letters (u, x) their corresponding realizations and with gothic letters (such as ${\displaystyle {\mathfrak {U}},{\mathfrak {X}}}$) the domain where the variable takes specifications. Facing a sample ${\displaystyle {\boldsymbol {x}}=\{x_{1},\ldots ,x_{m}\}}$, given a sampling mechanism ${\displaystyle (g_{\theta },Z)}$, with ${\displaystyle \theta }$ scalar, for the random variable X, we have

${\displaystyle {\boldsymbol {x}}=\{g_{\theta }(z_{1}),\ldots ,g_{\theta }(z_{m})\}.}$

The sampling mechanism ${\displaystyle (g_{\theta },{\boldsymbol {z}})}$, of the statistic s, as a function ? of ${\displaystyle \{x_{1},\ldots ,x_{m}\}}$ with specifications in ${\displaystyle {\mathfrak {S}}}$ , has an explaining function defined by the master equation:

${\displaystyle s=\rho (x_{1},\ldots ,x_{m})=\rho (g_{\theta }(z_{1}),\ldots ,g_{\theta }(z_{m}))=h(\theta ,z_{1},\ldots ,z_{m}),\qquad \qquad \qquad (1)}$

for suitable seeds ${\displaystyle {\boldsymbol {z}}=\{z_{1},\ldots ,z_{m}\}}$ and parameter ?

## Well-behaved

In order to derive the distribution law of the parameter T, compatible with ${\displaystyle {\boldsymbol {x}}}$, the statistic must obey some technical properties. Namely, a statistic s is said to be well-behaved if it satisfies the following three statements:

1. monotonicity. A uniformly monotone relation exists between s and ? for any fixed seed ${\displaystyle \{z_{1},\ldots ,z_{m}\}}$ – so as to have a unique solution of (1);
2. well-defined. On each observed s the statistic is well defined for every value of ?, i.e. any sample specification ${\displaystyle \{x_{1},\ldots ,x_{m}\}\in {\mathfrak {X}}^{m}}$ such that ${\displaystyle \rho (x_{1},\ldots ,x_{m})=s}$ has a probability density different from 0 – so as to avoid considering a non-surjective mapping from ${\displaystyle {\mathfrak {X}}^{m}}$ to ${\displaystyle {\mathfrak {S}}}$, i.e. associating via ${\displaystyle s}$ to a sample ${\displaystyle \{x_{1},\ldots ,x_{m}\}}$ a ? that could not generate the sample itself;
3. local sufficiency. ${\displaystyle \{{\breve {\theta }}_{1},\ldots ,{\breve {\theta }}_{N}\}}$ constitutes a true T sample for the observed s, so that the same probability distribution can be attributed to each sampled value. Now, ${\displaystyle {\breve {\theta }}_{j}=h^{-1}(s,{\breve {z}}_{1}^{j},\ldots ,{\breve {z}}_{m}^{j})}$ is a solution of (1) with the seed ${\displaystyle \{{\breve {z}}_{1}^{j},\ldots ,{\breve {z}}_{m}^{j}\}}$. Since the seeds are equally distributed, the sole caveat comes from their independence or, conversely from their dependence on ? itself. This check can be restricted to seeds involved by s, i.e. this drawback can be avoided by requiring that the distribution of ${\displaystyle \{Z_{1},\ldots ,Z_{m}|S=s\}}$ is independent of ?. An easy way to check this property is by mapping seed specifications into ${\displaystyle x_{i}}$s specifications. The mapping of course depends on ?, but the distribution of ${\displaystyle \{X_{1},\ldots ,X_{m}|S=s\}}$ will not depend on ?, if the above seed independence holds – a condition that looks like a local sufficiency of the statistic S.

### Example

For instance, for both the Bernoulli distribution with parameter p and the exponential distribution with parameter ? the statistic ${\displaystyle \sum _{i=1}^{m}x_{i}}$ is well-behaved. The satisfaction of the above three properties is straightforward when looking at both explaining functions: ${\displaystyle g_{p}(u)=1}$ if ${\displaystyle u\leq p}$, 0 otherwise in the case of the Bernoulli random variable, and ${\displaystyle g_{\lambda }(u)=-\log u/\lambda }$ for the Exponential random variable, giving rise to statistics

${\displaystyle s_{p}=\sum _{i=1}^{m}I_{[0,p]}(u_{i})}$

and

${\displaystyle s_{\lambda }=-{\frac {1}{\lambda }}\sum _{i=1}^{m}\log u_{i}.}$

Vice versa, in the case of X following a continuous uniform distribution on ${\displaystyle [0,A]}$ the same statistics do not meet the second requirement. For instance, the observed sample ${\displaystyle \{c,c/2,c/3\}}$ gives ${\displaystyle s'_{A}=11/6c}$. But the explaining function of this X is ${\displaystyle g_{a}(u)=ua}$. Hence a master equation ${\displaystyle s_{A}=\sum _{i=1}^{m}u_{i}a}$ would produce with a U sample ${\displaystyle \{0.8,0.8,0.8\}}$ and a solution ${\displaystyle {\breve {a}}=0.76c}$. This conflicts with the observed sample since the first observed value should result greater than the right extreme of the X range. The statistic ${\displaystyle s_{A}=\max\{x_{1},\ldots ,x_{m}\}}$ is well-behaved in this case.

Analogously, for a random variable X following the Pareto distribution with parameters K and A (see Pareto example for more detail of this case),

${\displaystyle s_{1}=\sum _{i=1}^{m}\log x_{i}}$

and

${\displaystyle s_{2}=\min _{i=1,\ldots ,m}\{x_{i}\}}$

can be used as joint statistics for these parameters.

As a general statement that holds under weak conditions, sufficient statistics are well-behaved with respect to the related parameters. The table below gives sufficient / Well-behaved statistics for the parameters of some of the most commonly used probability distributions.

{{safesubst:#invoke:anchor|main}}

## References

• {{#invoke:citation/CS1|citation

|CitationClass=book }}

• {{#invoke:Citation/CS1|citation

|CitationClass=journal }}