{{ safesubst:#invoke:Unsubst||$N=Confusing |date=__DATE__ |$B= {{#invoke:Message box|ambox}} }}

In statistics, the Khmaladze transformation is a mathematical tool used in constructing convenient goodness of fit tests for hypothetical distribution functions. More precisely, suppose ${\displaystyle X_{1},\ldots ,X_{n}}$ are i.i.d., possibly multi-dimensional, random observations generated from an unknown probability distribution. A classical problem in statistics is to decide how well a given hypothetical distribution function ${\displaystyle F}$, or a given hypothetical parametric family of distribution functions ${\displaystyle \{F_{\theta }:\theta \in \Theta \}}$, fits the set of observations. The Khmaladze transformation allows us to construct goodness of fit tests with desirable properties. It is named after Estate V. Khmaladze.

Consider the sequence of empirical distribution functions ${\displaystyle F_{n}}$ based on a sequence of i.i.d random variables, ${\displaystyle X_{1},\ldots ,X_{n}}$, as n increases. Suppose ${\displaystyle F}$ is the hypothetical distribution function of each ${\displaystyle X_{i}}$. To test whether the choice of ${\displaystyle F}$ is correct or not, statisticians use the normalized difference,

${\displaystyle v_{n}(x)={\sqrt {n}}[F_{n}(x)-F(x)].}$

This ${\displaystyle v_{n}}$, as a random process in ${\displaystyle x}$, is called the empirical process. Various functionals of ${\displaystyle v_{n}}$ are used as test statistics. The change of the variable ${\displaystyle v_{n}(x)=u_{n}(t)}$, ${\displaystyle t=F(x)}$ transforms to the so-called uniform empirical process ${\displaystyle u_{n}}$. The latter is an empirical processes based on independent random variables ${\displaystyle U_{i}=F(X_{i})}$, which are uniformly distributed on ${\displaystyle [0,1]}$ if the ${\displaystyle X_{i}}$s do indeed have distribution function ${\displaystyle F}$.

This fact was discovered and first utilized by Kolmogorov (1933), Wald and Wolfowitz (1936) and Smirnov (1937) and, especially after Doob (1949) and Anderson and Darling (1952),[1] it led to the standard rule to choose test statistics based on ${\displaystyle v_{n}}$. That is, test statistics ${\displaystyle \psi (v_{n},F)}$ are defined (which possibly depend on the ${\displaystyle F}$ being tested) in such a way that there exists another statistic ${\displaystyle \varphi (u_{n})}$ derived from the uniform empirical process, such that ${\displaystyle \psi (v_{n},F)=\varphi (u_{n})}$. Examples are

${\displaystyle \sup _{x}|v_{n}(x)|=\sup _{t}|u_{n}(t)|,\quad \sup _{x}{\frac {|v_{n}(x)|}{a(F(x))}}=\sup _{t}{\frac {|u_{n}(t)|}{a(t)}}}$

and

${\displaystyle \int _{-\infty }^{\infty }v_{n}^{2}(x)\,dF(x)=\int _{0}^{1}u_{n}^{2}(t)\,dt.}$

For all such functionals, their null distribution (under the hypothetical ${\displaystyle F}$) does not depend on ${\displaystyle F}$, and can be calculated once and then used to test any ${\displaystyle F}$.

However, it is only rarely that one needs to test a simple hypothesis, when a fixed ${\displaystyle F}$ as a hypothesis is given. Much more often, one needs to verify parametric hypotheses where the hypothetical ${\displaystyle F=F_{\theta _{n}}}$, depends on some parameters ${\displaystyle \theta _{n}}$, which the hypothesis does not specify and which have to be estimated from the sample ${\displaystyle X_{1},\ldots ,X_{n}}$ itself.

Although the estimators ${\displaystyle {\hat {\theta }}_{n}}$, most commonly converge to true value of ${\displaystyle \theta }$, it was discovered that the parametric,[2][3] or estimated, empirical process

${\displaystyle {\hat {v}}_{n}(x)={\sqrt {n}}[F_{n}(x)-F_{{\hat {\theta }}_{n}}(x)]}$

differs significantly from ${\displaystyle v_{n}}$ and that the transformed process ${\displaystyle {\hat {u}}_{n}(t)={\hat {v}}_{n}(x)}$, ${\displaystyle t=F_{{\hat {\theta }}_{n}}(x)}$ has a distribution for which the limit distribution, as ${\displaystyle n\to \infty }$, is dependent on the parametric form of ${\displaystyle F_{\theta }}$ and on the particular estimator ${\displaystyle {\hat {\theta }}_{n}}$ and, in general, within one parametric family, on the value of ${\displaystyle \theta }$.

From mid-1950s to the late-1980s, much work was done to clarify the situation and understand the nature of the process ${\displaystyle {\hat {v}}_{n}}$.

In 1981,[4] and then 1987 and 1993,[5] Khmaladze suggested to replace the parametric empirical process ${\displaystyle {\hat {v}}_{n}}$ by its martingale part ${\displaystyle w_{n}}$ only.

${\displaystyle {\hat {v}}_{n}(x)-K_{n}(x)=w_{n}(x)}$

where ${\displaystyle K_{n}(x)}$ is the compensator of ${\displaystyle {\hat {v}}_{n}(x)}$. Then the following properties of ${\displaystyle w_{n}}$ were established:

${\displaystyle \omega _{n}(t)=w_{n}(x),t=F_{{\hat {\theta }}_{n}}(x)}$
is that of standard Brownian motion on ${\displaystyle [0,1]}$, i.e., is again standard and independent of the choice of ${\displaystyle F_{{\hat {\theta }}_{n}}}$.

For a long time the transformation was, although known, still not used. Later, the work of researchers like Koenker, Stute, Bai, Koul, Koening, and others made it popular in econometrics and other fields of statistics.{{ safesubst:#invoke:Unsubst||date=__DATE__ |\$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }}

## References

1. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
2. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
3. Gikhman (1954)Template:Full
4. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
5. {{#invoke:Citation/CS1|citation |CitationClass=journal }}