<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=208.65.144.234</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=208.65.144.234"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/208.65.144.234"/>
	<updated>2026-08-17T22:54:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=NPSH&amp;diff=10929</id>
		<title>NPSH</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=NPSH&amp;diff=10929"/>
		<updated>2013-12-30T16:32:35Z</updated>

		<summary type="html">&lt;p&gt;208.65.144.234: added &amp;quot;Centrifugal&amp;quot; to the line describing the types of devices, in this case, pumps, that are subject to cavitation at the impeller.  Other pumps ddo not have impellers.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Empirical CDF.png|thumb|300px|The blue line shows an empirical distribution function. The black bars represent the samples corresponding to the ecdf and the gray line is the true cumulative distribution function.]]&lt;br /&gt;
&lt;br /&gt;
In [[statistics]], the &#039;&#039;&#039;empirical distribution function&#039;&#039;&#039;, or &#039;&#039;&#039;empirical cdf&#039;&#039;&#039;, is the [[cumulative distribution function]] associated with the [[empirical measure]] of the [[sample (statistics)|sample]]. This cdf is a [[step function]] that jumps up by 1/&#039;&#039;n&#039;&#039; at each of the &#039;&#039;n&#039;&#039; data points. The empirical distribution function estimates the true underlying cdf of the points in the sample and converges with probability 1 according to the [[Glivenko–Cantelli theorem]]. A number of results exist to quantify the rate of convergence of the empirical cdf to the underlying cdf.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
Let (&#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, …, &#039;&#039;x&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt;) be [[iid]] real random variables with the common [[Cumulative distribution function|cdf]] &#039;&#039;F&#039;&#039;(&#039;&#039;t&#039;&#039;). Then the &#039;&#039;&#039;empirical distribution function&#039;&#039;&#039; is defined as &amp;lt;ref name=&amp;quot;vdv265&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
  | last = van der Vaart | first = A.W.&lt;br /&gt;
  | title = Asymptotic statistics&lt;br /&gt;
  | year = 1998&lt;br /&gt;
  | publisher = Cambridge University Press&lt;br /&gt;
  | isbn = 0-521-78450-6&lt;br /&gt;
  | page = 265&lt;br /&gt;
  }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://planetmath.org/encyclopedia/EmpiricalDistributionFunction.html PlanetMath]&amp;lt;/ref&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \hat F_n(t) = \frac{ \mbox{number of elements in the sample} \leq t}n = &lt;br /&gt;
\frac{1}{n} \sum_{i=1}^n \mathbf{1}\{x_i \le t\},&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
where &#039;&#039;&#039;1&#039;&#039;&#039;{&#039;&#039;A&#039;&#039;} is the [[indicator function|indicator]] of [[event (probability theory)|event]] &#039;&#039;A&#039;&#039;. For a fixed &#039;&#039;t&#039;&#039;, the indicator &#039;&#039;&#039;1&#039;&#039;&#039;{&#039;&#039;x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039;&amp;amp;nbsp;≤&amp;amp;nbsp;&#039;&#039;t&#039;&#039;} is a [[Bernoulli distribution|Bernoulli]] random variable with parameter {{nowrap|&#039;&#039;p&#039;&#039; {{=}} &#039;&#039;F&#039;&#039;(&#039;&#039;t&#039;&#039;)}}, hence &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle n \hat F_n(t)&amp;lt;/math&amp;gt; is a [[binomial distribution|binomial]] random variable with [[mean]] &#039;&#039;nF&#039;&#039;(&#039;&#039;t&#039;&#039;) and [[variance]] {{nowrap|&#039;&#039;nF&#039;&#039;(&#039;&#039;t&#039;&#039;)(1 − &#039;&#039;F&#039;&#039;(&#039;&#039;t&#039;&#039;))}}. This implies that &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle \hat F_n(t)&amp;lt;/math&amp;gt; is an [[bias of an estimator|unbiased]] estimator for &#039;&#039;F&#039;&#039;(&#039;&#039;t&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Asymptotic properties ==&lt;br /&gt;
By the [[strong law of large numbers]], the estimator &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\hat{F}_n(t)&amp;lt;/math&amp;gt; converges to &#039;&#039;F&#039;&#039;(&#039;&#039;t&#039;&#039;) as {{nowrap|&#039;&#039;n&#039;&#039; → ∞}} [[almost sure convergence|almost surely]], for every value of &#039;&#039;t&#039;&#039;: &amp;lt;ref name=&amp;quot;vdv265&amp;quot; /&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \hat F_n(t)\ \xrightarrow{a.s.}\ F(t),&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
thus the estimator &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\hat{F}_n(t)&amp;lt;/math&amp;gt; is [[consistent estimator|consistent]]. This expression asserts the pointwise convergence of the empirical distribution function to the true cdf. There is a stronger result, called the [[Glivenko–Cantelli theorem]], which states that the convergence in fact happens uniformly over &#039;&#039;t&#039;&#039;: &amp;lt;ref name=&amp;quot;vdv266&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
  | last = van der Vaart | first = A.W.&lt;br /&gt;
  | title = Asymptotic statistics&lt;br /&gt;
  | year = 1998&lt;br /&gt;
  | publisher = Cambridge University Press&lt;br /&gt;
  | isbn = 0-521-78450-6&lt;br /&gt;
  | page = 266&lt;br /&gt;
  }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \|\hat F_n-F\|_\infty \equiv&lt;br /&gt;
    \sup_{t\in\mathbb{R}} \big|\hat F_n(t)-F(t)\big|\ \xrightarrow{a.s.}\ 0.&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
The sup-norm in this expression is called the [[Kolmogorov–Smirnov test|Kolmogorov–Smirnov statistic]] for testing the goodness-of-fit between the empirical distribution &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\hat{F}_n(t)&amp;lt;/math&amp;gt; and the assumed true cdf &#039;&#039;F&#039;&#039;. Other [[norm (mathematics)|norm function]]s may be reasonably used here instead of the sup-norm. For example, the [[Lp norm|L²-norm]] gives rise to the [[Cramér–von Mises criterion|Cramér–von Mises statistic]].&lt;br /&gt;
&lt;br /&gt;
The asymptotic distribution can be further characterized in several different ways. First, the  [[central limit theorem]] states that &#039;&#039;pointwise&#039;&#039;, &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\hat{F}_n(t)&amp;lt;/math&amp;gt; has asymptotically normal distribution with the standard &#039;&#039;√n&#039;&#039; rate of convergence:&amp;lt;ref name=&amp;quot;vdv265&amp;quot;/&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \sqrt{n}\big(\hat F_n(t) - F(t)\big)\ \ \xrightarrow{d}\ \ \mathcal{N}\Big( 0, F(t)\big(1-F(t)\big) \Big).&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
This result is extended by the [[Donsker’s theorem]], which asserts that the &#039;&#039;[[empirical process]]&#039;&#039; &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\sqrt{n}(\hat{F}_n - F)&amp;lt;/math&amp;gt;, viewed as a function indexed by {{nowrap|&#039;&#039;t&#039;&#039; ∈ &#039;&#039;&#039;R&#039;&#039;&#039;}}, [[convergence in distribution|converges in distribution]] in the [[Skorokhod space]] {{nowrap|&#039;&#039;D&#039;&#039;[−∞, +∞]}} to the mean-zero [[Gaussian process]] {{nowrap|&#039;&#039;G&amp;lt;sub&amp;gt;F&amp;lt;/sub&amp;gt;&#039;&#039; {{=}} &#039;&#039;B&#039;&#039;∘&#039;&#039;F&#039;&#039;}}, where &#039;&#039;B&#039;&#039; is the standard [[Brownian bridge]].&amp;lt;ref name=&amp;quot;vdv266&amp;quot;/&amp;gt; The covariance structure of this Gaussian process is&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \mathrm{E}[\,G_F(t_1)G_F(t_2)\,] = F(t_1\wedge t_2) - F(t_1)F(t_2).&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
The uniform rate of convergence in Donsker’s theorem can be quantified by the result, known as the [[Hungarian embedding]]: &amp;lt;ref name=&amp;quot;vdv268&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
  | last = van der Vaart | first = A.W.&lt;br /&gt;
  | title = Asymptotic statistics&lt;br /&gt;
  | year = 1998&lt;br /&gt;
  | publisher = Cambridge University Press&lt;br /&gt;
  | isbn = 0-521-78450-6&lt;br /&gt;
  | page = 268&lt;br /&gt;
  }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \limsup_{n\to\infty} \frac{\sqrt{n}}{\ln^2 n} \big\| \sqrt{n}(\hat F_n-F) - G_{F,n}\big\|_\infty &amp;lt; \infty, \quad \text{a.s.}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the rate of convergence of &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\sqrt{n}(\hat{F}_n-F)&amp;lt;/math&amp;gt; can also be quantified in terms of the asymptotic behavior of the sup-norm of this expression. Number of results exist in this venue, for example the [[Dvoretzky–Kiefer–Wolfowitz inequality]] provides bound on the tail probabilities of &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\sqrt{n}\|\hat{F}_n-F\|_\infty&amp;lt;/math&amp;gt;:&amp;lt;ref name=&amp;quot;vdv268&amp;quot;/&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \Pr\!\Big( \sqrt{n}\|\hat{F}_n-F\|_\infty &amp;gt; z \Big) \leq 2e^{-2z^2}.&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
In fact, Kolmogorov has shown that if the cdf &#039;&#039;F&#039;&#039; is continuous, then the expression &amp;lt;math style=&amp;quot;vertical-align:-.3em&amp;quot;&amp;gt;\scriptstyle\sqrt{n}\|\hat{F}_n-F\|_\infty&amp;lt;/math&amp;gt; converges in distribution to ||&#039;&#039;B&#039;&#039;||&amp;lt;sub&amp;gt;∞&amp;lt;/sub&amp;gt;, which has the [[Kolmogorov distribution]] that does not depend on the form of &#039;&#039;F&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Another result, which follows from the [[law of the iterated logarithm]], is that &amp;lt;ref name=&amp;quot;vdv268&amp;quot;/&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \limsup_{n\to\infty} \frac{\sqrt{n}\|\hat{F}_n-F\|_\infty}{\sqrt{2\ln\ln n}} \leq \frac12, \quad \text{a.s.}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \liminf_{n\to\infty} \sqrt{2n\ln\ln n} \|\hat{F}_n-F\|_\infty = \frac{\pi}{2}, \quad \text{a.s.}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Càdlàg]] functions&lt;br /&gt;
* [[Dvoretzky–Kiefer–Wolfowitz inequality]]&lt;br /&gt;
* [[Empirical probability]]&lt;br /&gt;
* [[Empirical process]]&lt;br /&gt;
* [[Kaplan–Meier estimator]] for censored processes&lt;br /&gt;
* [[Survival function]]&lt;br /&gt;
* [[Distribution fitting]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
* {{cite book&lt;br /&gt;
  | last1 = Shorack | first1 = G.R.&lt;br /&gt;
  | last2 = Wellner | first2 = J.A.&lt;br /&gt;
  | title = Empirical Processes with Applications to Statistics&lt;br /&gt;
  | year = 1986&lt;br /&gt;
  | publisher = Wiley&lt;br /&gt;
  | location = New York&lt;br /&gt;
  | isbn = 0-471-86725-X&lt;br /&gt;
  | ref = harv&lt;br /&gt;
  }}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
{{commonscat|Cumulative frequency distribution|Empirical distribution functions}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Empirical Distribution Function}}&lt;br /&gt;
[[Category:Data analysis]]&lt;br /&gt;
[[Category:Non-parametric statistics]]&lt;br /&gt;
[[Category:Empirical process]]&lt;/div&gt;</summary>
		<author><name>208.65.144.234</name></author>
	</entry>
</feed>