Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Estimator
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Rule for calculating an estimate of a given quantity based on observed data}} <!-- [[File:Estimator vs Estimate.png|right|thumb|upright|An estimate is not the same thing as an estimator: an estimate is a specific value dependent on only the dataset while an estimator is a method for estimation that is realized through random variables.]] --> In [[statistics]], an '''estimator''' is a rule for calculating an [[estimate]] of a given [[quantity]] based on [[Sample (statistics)|observed data]]: thus the rule (the estimator), the quantity of interest (the [[estimand]]) and its result (the estimate) are distinguished.<ref>{{cite book |last1=Mosteller |first1=F. |last2=Tukey |first2=J. W. |orig-year=1968 |chapter=Data Analysis, including Statistics |title=The Collected Works of John W. Tukey: Philosophy and Principles of Data Analysis 1965–1986 |volume=4 |publisher=CRC Press |year=1987 |isbn=0-534-05101-4 |pages=601–720 [p. 633] |chapter-url=https://books.google.com/books?id=C1guHWTlVVoC&pg=PA633 |via=[[Google Books]] }}</ref> For example, the [[sample mean]] is a commonly used estimator of the [[population mean]]. There are [[point estimator|point]] and [[interval estimator]]s. The [[point estimator]]s yield single-valued results. This is in contrast to an [[interval estimator]], where the result would be a range of plausible values. "Single value" does not necessarily mean "single number", but includes vector valued or function valued estimators. ''[[Estimation theory]]'' is concerned with the properties of estimators; that is, with defining properties that can be used to compare different estimators (different rules for creating estimates) for the same quantity, based on the same data. Such properties can be used to determine the best rules to use under given circumstances. However, in [[robust statistics]], statistical theory goes on to consider the balance between having good properties, if tightly defined assumptions hold, and having worse properties that hold under wider conditions. ==Background== An "estimator" or "[[point estimate]]" is a [[statistic]] (that is, a function of the data) that is used to infer the value of an unknown [[statistical parameter|parameter]] in a [[statistical model]]. A common way of phrasing it is "the estimator is the method selected to obtain an estimate of an unknown parameter". The parameter being estimated is sometimes called the ''[[estimand]]''. It can be either finite-dimensional (in [[parametric model|parametric]] and [[semi-parametric model]]s), or infinite-dimensional ([[semi-parametric model|semi-parametric]] and [[non-parametric model]]s).<ref>Kosorok (2008), Section 3.1, pp 35–39.</ref> If the parameter is denoted <math> \theta </math> then the estimator is traditionally written by adding a [[circumflex]] over the symbol: <math>\widehat{\theta}</math>. Being a function of the data, the estimator is itself a [[random variable]]; a particular realization of this random variable is called the "estimate". Sometimes the words "estimator" and "estimate" are used interchangeably. The definition places virtually no restrictions on which functions of the data can be called the "estimators". The attractiveness of different estimators can be judged by looking at their properties, such as [[unbiasedness]], [[mean square error]], [[Consistent estimator|consistency]], [[asymptotic distribution]], etc. The construction and comparison of estimators are the subjects of the [[estimation theory]]. In the context of [[decision theory]], an estimator is a type of [[decision rule]], and its performance may be evaluated through the use of [[loss function]]s. When the word "estimator" is used without a qualifier, it usually refers to point estimation. The estimate in this case is a single point in the [[parameter space]]. There also exists another type of estimator: [[interval estimator]]s, where the estimates are subsets of the parameter space. The problem of [[density estimation]] arises in two applications. Firstly, in estimating the [[probability density function]]s of random variables and secondly in estimating the [[Spectral density|spectral density function]] of a [[time series]]. In these problems the estimates are functions that can be thought of as point estimates in an infinite dimensional space, and there are corresponding interval estimation problems. ==Definition== Suppose a fixed ''parameter'' <math>\theta</math> needs to be estimated. Then an "estimator" is a function that maps the [[sample space]] to a set of ''sample estimates''. An estimator of <math>\theta</math> is usually denoted by the symbol <math>\widehat{\theta}</math>. It is often convenient to express the theory using the [[algebra of random variables]]: thus if ''X'' is used to denote a [[random variable]] corresponding to the observed data, the estimator (itself treated as a random variable) is symbolised as a function of that random variable, <math>\widehat{\theta}(X)</math>. The estimate for a particular observed data value <math>x</math> (i.e. for <math>X=x</math>) is then <math>\widehat{\theta}(x)</math>, which is a fixed value. Often an abbreviated notation is used in which <math>\widehat{\theta}</math> is interpreted directly as a [[random variable]], but this can cause confusion. ==Quantified properties== The following definitions and attributes are relevant.<ref>Jaynes (2007), p.172.</ref> ===Error=== For a given sample <math> x </math>, the "[[Errors and residuals in statistics|error]]" of the estimator <math>\widehat{\theta}</math> is defined as :<math>e(x)=\widehat{\theta}(x) - \theta,</math> where <math>\theta </math> is the parameter being estimated. The error, ''e'', depends not only on the estimator (the estimation formula or procedure), but also on the sample. ===Mean squared error=== The [[mean squared error]] of <math>\widehat{\theta}</math> is defined as the expected value (probability-weighted average, over all samples) of the squared errors; that is, :<math>\operatorname{MSE}(\widehat{\theta}) = \operatorname{E}[(\widehat{\theta}(X) - \theta)^2].</math> It is used to indicate how far, on average, the collection of estimates are from the single parameter being estimated. Consider the following analogy. Suppose the parameter is the [[Bullseye (target)|bull's-eye of a target]], the estimator is the process of shooting arrows at the target, and the individual arrows are estimates (samples). Then high MSE means the average distance of the arrows from the bull's eye is high, and low MSE means the average distance from the bull's eye is low. The arrows may or may not be clustered. For example, even if all arrows hit the same point, yet grossly miss the target, the MSE is still relatively large. However, if the MSE is relatively low then the arrows are likely more highly clustered (than highly dispersed) around the target. ===Sampling deviation=== For a given sample <math> x </math>, the ''sampling deviation'' of the estimator <math>\widehat{\theta}</math> is defined as :<math>d(x) =\widehat{\theta}(x) - \operatorname{E}( \widehat{\theta}(X) ) =\widehat{\theta}(x) - \operatorname{E}( \widehat{\theta} ),</math> where <math> \operatorname{E}( \widehat{\theta}(X) ) </math> is the [[expected value]] of the estimator. The sampling deviation, ''d'', depends not only on the estimator, but also on the sample. ===Variance=== The [[variance]] of <math>\widehat{\theta}</math> is the expected value of the squared sampling deviations; that is, <math>\operatorname{Var}(\widehat{\theta}) = \operatorname{E}[(\widehat{\theta} - \operatorname{E}[\widehat{\theta}]) ^2]</math>. It is used to indicate how far, on average, the collection of estimates are from the ''expected value'' of the estimates. (Note the difference between MSE and variance.) If the parameter is the bull's-eye of a target, and the arrows are estimates, then a relatively high variance means the arrows are dispersed, and a relatively low variance means the arrows are clustered. Even if the variance is low, the cluster of arrows may still be far off-target, and even if the variance is high, the diffuse collection of arrows may still be unbiased. Finally, even if all arrows grossly miss the target, if they nevertheless all hit the same point, the variance is zero. ===Bias=== The [[bias of an estimator|bias]] of <math>\widehat{\theta}</math> is defined as <math>B(\widehat{\theta}) = \operatorname{E}(\widehat{\theta}) - \theta</math>. It is the distance between the average of the collection of estimates, and the single parameter being estimated. The bias of <math>\widehat{\theta}</math> is a function of the true value of <math>\theta</math> so saying that the bias of <math>\widehat{\theta}</math> is <math>b</math> means that for every <math>\theta</math> the bias of <math>\widehat{\theta}</math> is <math>b</math>. There are two kinds of estimators: biased estimators and unbiased estimators. Whether an estimator is biased or not can be identified by the relationship between <math>\operatorname{E}(\widehat{\theta}) - \theta</math> and 0: * If <math>\operatorname{E}(\widehat{\theta}) - \theta\neq0</math>, <math>\widehat{\theta}</math> is biased. * If <math>\operatorname{E}(\widehat{\theta}) - \theta=0</math>, <math>\widehat{\theta}</math> is unbiased. The bias is also the expected value of the error, since <math> \operatorname{E}(\widehat{\theta}) - \theta = \operatorname{E}(\widehat{\theta} - \theta ) </math>. If the parameter is the bull's eye of a target and the arrows are estimates, then a relatively high absolute value for the bias means the average position of the arrows is off-target, and a relatively low absolute bias means the average position of the arrows is on target. They may be dispersed, or may be clustered. The relationship between bias and variance is analogous to the relationship between [[accuracy and precision]]. The estimator <math>\widehat{\theta}</math> is an [[estimator bias|unbiased estimator]] of <math>\theta</math> [[if and only if]] <math>B(\widehat{\theta}) = 0</math>. Bias is a property of the estimator, not of the estimate. Often, people refer to a "biased estimate" or an "unbiased estimate", but they really are talking about an "estimate from a biased estimator", or an "estimate from an unbiased estimator". Also, people often confuse the "error" of a single estimate with the "bias" of an estimator. That the error for one estimate is large, does not mean the estimator is biased. In fact, even if all estimates have astronomical absolute values for their errors, if the expected value of the error is zero, the estimator is unbiased. Also, an estimator's being biased does not preclude the error of an estimate from being zero in a particular instance. The ideal situation is to have an unbiased estimator with low variance, and also try to limit the number of samples where the error is extreme (that is, to have few [[Outlier|outliers]]). Yet unbiasedness is not essential. Often, if just a little bias is permitted, then an estimator can be found with lower mean squared error and/or fewer outlier sample estimates. An alternative to the version of "unbiased" above, is "median-unbiased", where the [[median]] of the distribution of estimates agrees with the true value; thus, in the long run half the estimates will be too low and half too high. While this applies immediately only to scalar-valued estimators, it can be extended to any measure of [[central tendency]] of a distribution: see [[Bias of an estimator#Median-unbiased estimators, and bias with respect to other loss functions|median-unbiased estimators]]. In a practical problem, <math>\widehat{\theta}</math> can always have functional relationship with <math>\theta</math>. For example, if a genetic theory states there is a type of leaf (starchy green) that occurs with probability <math>p_1=1/4\cdot(\theta + 2)</math>, with <math>0<\theta<1</math>. Then, for <math>n</math> leaves, the random variable <math>N_1</math>, or the number of starchy green leaves, can be modeled with a <math>Bin(n,p_1)</math> distribution. The number can be used to express the following estimator for <math>\theta</math>: <math>\widehat{\theta}=4/n\cdot N_1-2</math>. One can show that <math>\widehat{\theta}</math> is an unbiased estimator for <math>\theta</math>: <math>E[\widehat{\theta}]=E[4/n\cdot N_1-2]</math> <math>=4/n\cdot E[N_1]-2</math> <math>=4/n\cdot np_1-2</math> <math>=4\cdot p_1-2</math> <math>=4\cdot1/4\cdot(\theta+2)-2</math> <math>=\theta+2-2</math> <math>=\theta</math>. ===Unbiased=== [[File:Wiki Snipet Unbiased.png|right|thumb|upright|Difference between estimators: an unbiased estimator <math>\theta_2</math> is centered around <math>\theta</math> vs. a biased estimator <math>\theta_1</math>.]] A desired property for estimators is the unbiased trait where an estimator is shown to have no systematic tendency to produce estimates larger or smaller than the true parameter. Additionally, unbiased estimators with smaller variances are preferred over larger variances because it will be closer to the "true" value of the parameter. The unbiased estimator with the smallest variance is known as the [[minimum-variance unbiased estimator]] (MVUE). To find if your estimator is unbiased it is easy to follow along the equation <math>\operatorname E(\widehat{\theta}) - \theta=0</math>, <math>\widehat{\theta}</math>. With estimator ''T'' with and parameter of interest <math>\theta</math> solving the previous equation so it is shown as <math>\operatorname E[T] = \theta</math> the estimator is unbiased. Looking at the figure to the right despite <math>\hat{\theta_2}</math> being the only unbiased estimator, if the distributions overlapped and were both centered around <math>\theta</math> then distribution <math>\hat{\theta_1}</math> would actually be the preferred unbiased estimator. '''Expectation''' When looking at quantities in the interest of expectation for the model distribution there is an unbiased estimator which should satisfy the two equations below. :<math>1. \quad \overline X_n = \frac{X_1 + X_2+ \cdots + X_n} n</math> :<math>2. \quad \operatorname E\left[\overline X_n \right] = \mu</math> '''Variance''' Similarly, when looking at quantities in the interest of variance as the model distribution there is also an unbiased estimator that should satisfy the two equations below. :<math>1. \quad S^2_n = \frac{1}{n-1}\sum_{i = 1}^n (X_i - \bar{X_n})^2</math> :<math> 2. \quad \operatorname E\left[S^2_n\right] = \sigma^2</math> Note we are dividing by ''n'' − 1 because if we divided with ''n'' we would obtain an estimator with a negative bias which would thus produce estimates that are too small for <math>\sigma^2</math>. It should also be mentioned that even though <math>S^2_n</math> is unbiased for <math>\sigma^2</math> the reverse is not true.<ref name=Dekker2005>{{Cite book|last1=Dekking|first1=Frederik Michel|last2=Kraaikamp|first2=Cornelis|last3=Lopuhaä|first3=Hendrik Paul|last4=Meester|first4=Ludolf Erwin|date=2005|title=A Modern Introduction to Probability and Statistics|url=https://archive.org/details/modernintroducti0000unse_h6a1 | series=Springer Texts in Statistics|language=en-gb|isbn=978-1-85233-896-1}}</ref> ===Relationships among the quantities=== *The mean squared error, variance, and bias, are related: <math>\operatorname{MSE}(\widehat{\theta}) = \operatorname{Var}(\widehat\theta) + (B(\widehat{\theta}))^2,</math> i.e. mean squared error = variance + square of bias. In particular, for an unbiased estimator, the variance equals the mean squared error. *The [[standard deviation]] of an estimator <math>\widehat{\theta}</math> of <math>\theta</math> (the [[square root]] of the variance), or an estimate of the standard deviation of an estimator <math>\widehat{\theta}</math> of <math>\theta</math>, is called the ''[[Standard error (statistics)|standard error]]'' of <math>\widehat{\theta}</math>. *The bias-variance tradeoff will be used in model complexity, over-fitting and under-fitting. It is mainly used in the field of [[supervised learning]] and [[predictive modelling]] to diagnose the performance of algorithms. ==Behavioral properties== ===Consistency=== {{Main|Consistent estimator}} A '''consistent estimator''' is an estimator whose sequence of estimates [[convergence in probability|converge in probability]] to the quantity being estimated as the index (usually the [[sample size]]) grows without bound. In other words, increasing the sample size increases the probability of the estimator being close to the population parameter. Mathematically, an estimator is a consistent estimator for [[parameter]] ''θ'', if and only if for the sequence of estimates {{nowrap|{''t<sub>n</sub>''; ''n'' ≥ 0}}}, and for all {{nowrap|''ε'' > 0}}, no matter how small, we have :<math> \lim_{n\to\infty}\Pr\left\{ \left| t_n-\theta\right|<\varepsilon \right\}=1 </math>. The consistency defined above may be called weak consistency. The sequence is ''strongly consistent'', if it [[Almost sure convergence|converges almost surely]] to the true value. An estimator that converges to a ''multiple'' of a parameter can be made into a consistent estimator by multiplying the estimator by a [[scale factor]], namely the true value divided by the asymptotic value of the estimator. This occurs frequently in [[Scale parameter#Estimation|estimation of scale parameters]] by [[Statistical dispersion#Measures of statistical dispersion|measures of statistical dispersion]]. ===Fisher consistency=== An estimator can be considered Fisher consistent as long as the estimator is the same functional of the empirical distribution function as the true distribution function. Following the formula: :<math>\widehat{\theta} = h(T_n), \theta = h(T_\theta)</math> Where <math>T_n</math> and <math>T_\theta</math> are the [[empirical distribution function]] and theoretical distribution function, respectively. An easy example to see if some estimator is Fisher consistent is to check the consistency of mean and variance. For example, to check consistency for the mean <math>\widehat{\mu} = \bar{X}</math> and to check for variance confirm that <math>\widehat{\sigma}^2 = SSD/n</math>.<ref>{{cite web |last1=Lauritzen |first1=Steffen |title=Properties of Estimators |url=https://www.stats.ox.ac.uk/~steffen/teaching/bs2siMT04/si2c.pdf |publisher=University of Oxford |access-date=9 December 2023}}</ref> ===Asymptotic normality=== {{Main|Asymptotic normality}} An [[asymptotic distribution#Asymptotic normality|asymptotically normal]] estimator is a consistent estimator whose distribution around the true parameter ''θ'' approaches a [[normal distribution]] with standard deviation shrinking in proportion to <math>1/\sqrt{n}</math> as the sample size ''n'' grows. Using <math>\xrightarrow{D}</math> to denote [[Convergence of random variables#Convergence in distribution|convergence in distribution]], ''t<sub>n</sub>'' is [[Asymptotic normality|asymptotically normal]] if :<math>\sqrt{n}(t_n - \theta) \xrightarrow{D} N(0,V),</math> for some ''V''. In this formulation ''V/n'' can be called the ''asymptotic variance'' of the estimator. However, some authors also call ''V'' the ''asymptotic variance''. Note that convergence will not necessarily have occurred for any finite "n", therefore this value is only an approximation to the true variance of the estimator, while in the limit the asymptotic variance (V/n) is simply zero. To be more specific, the distribution of the estimator ''t<sub>n</sub>'' converges weakly to a [[dirac delta function]] centered at <math>\theta</math>. The [[central limit theorem]] implies asymptotic normality of the [[sample mean]] <math>\bar X</math> as an estimator of the true mean. More generally, [[maximum likelihood]] estimators are asymptotically normal under fairly weak regularity conditions — see the [[maximum likelihood#Asymptotics|asymptotics section]] of the maximum likelihood article. However, not all estimators are asymptotically normal; the simplest examples are found when the true value of a parameter lies on the boundary of the allowable parameter region. ===Efficiency=== {{Main|Efficiency (statistics)}} The efficiency of an estimator is used to estimate the quantity of interest in a "minimum error" manner. In reality, there is not an explicit best estimator; there can only be a better estimator. Whether the efficiency of an estimator is better or not is based on the choice of a particular [[loss function]], and it is reflected by two naturally desirable properties of estimators: to be unbiased <math>\operatorname{E}(\widehat{\theta}) - \theta=0</math> and have minimal [[mean squared error]] (MSE) <math>\operatorname{E}[(\widehat{\theta} - \theta )^2]</math>. These cannot in general both be satisfied simultaneously: a biased estimator may have a lower mean squared error than any unbiased estimator (see [[estimator bias]]). This equation relates the mean squared error with the estimator bias:<ref name=Dekker2005 /> : <math> \operatorname{E}[(\widehat{\theta} - \theta )^2]=(\operatorname{E}(\widehat{\theta}) - \theta)^2+\operatorname{Var}(\widehat\theta)\ </math> The first term represents the mean squared error; the second term represents the square of the estimator bias; and the third term represents the variance of the estimator. The quality of the estimator can be identified from the comparison between the variance, the square of the estimator bias, or the MSE. The variance of the good estimator (good efficiency) would be smaller than the variance of the bad estimator (bad efficiency). The square of an estimator bias with a good estimator would be smaller than the estimator bias with a bad estimator. The MSE of a good estimator would be smaller than the MSE of the bad estimator. Suppose there are two estimator, <math>\widehat\theta_1</math> is the good estimator and <math>\widehat\theta_2</math> is the bad estimator. The above relationship can be expressed by the following formulas. : <math>\operatorname{Var}(\widehat\theta_1)<\operatorname{Var}(\widehat\theta_2)</math> : <math>|\operatorname{E}(\widehat\theta_1) - \theta|<\left|\operatorname{E}(\widehat\theta_2) - \theta\right|</math> : <math>\operatorname{MSE}(\widehat\theta_1)<\operatorname{MSE}(\widehat\theta_2)</math> Besides using formula to identify the efficiency of the estimator, it can also be identified through the graph. If an estimator is efficient, in the frequency vs. value graph, there will be a curve with high frequency at the center and low frequency on the two sides. For example: [[File:Good estimator.jpg|center|thumb]] If an estimator is not efficient, the frequency vs. value graph, there will be a relatively more gentle curve. [[File:Bad estimator.jpg|center|thumb]] To put it simply, the good estimator has a narrow curve, while the bad estimator has a large curve. Plotting these two curves on one graph with a shared ''y''-axis, the difference becomes more obvious. [[File:The comparsion between a good and a bad estimator.jpg|center|thumb|Comparison between good and bad estimator.]] Among unbiased estimators, there often exists one with the lowest variance, called the minimum variance unbiased estimator ([[MVUE]]). In some cases an unbiased [[efficiency (statistics)|efficient estimator]] exists, which, in addition to having the lowest variance among unbiased estimators, satisfies the [[Cramér–Rao bound]], which is an absolute lower bound on variance for statistics of a variable. Concerning such "best unbiased estimators", see also [[Cramér–Rao bound]], [[Gauss–Markov theorem]], [[Lehmann–Scheffé theorem]], [[Rao–Blackwell theorem]]. ===Robustness=== {{main|Robust estimator}} {{further|Robust regression}} ==See also== {{Div col|colwidth=25em}} * [[Best linear unbiased estimator]] (BLUE) * [[Invariant estimator]] * [[Kalman filter]] * [[Markov chain Monte Carlo]] (MCMC) * [[Maximum a posteriori]] (MAP) * [[Method of moments (statistics)|Method of moments]], [[generalized method of moments]] * [[Minimum mean squared error]] (MMSE) * [[Particle filter]] * [[Pitman closeness criterion]] * [[Sensitivity and specificity]] * [[Shrinkage estimator]] * [[Signal processing]] * [[State observer]] * [[Testimator]] * [[Wiener filter]] * [[Well-behaved statistic]] {{Div col end}} ==References== {{Reflist}} ==Further reading== * {{SpringerEOM | title=Statistical estimator | oldid=s/s087360 | first=Login Nikolaevich | last=Bol'shev}}. * {{Cite book |last1=Jaynes|first1=E. T. | author-link = Edwin Thompson Jaynes | title=Probability Theory: The logic of science| date=2007 | publisher=[[Cambridge University Press]] | isbn=978-0-521-59271-0| edition=5}}. * {{Cite book | last = Kosorok | first = Michael | title = Introduction to Empirical Processes and Semiparametric Inference | publisher = [[Springer Science+Business Media|Springer]] | series = Springer Series in Statistics | date = 2008 | url = https://www.springer.com/mathematics/probability/book/978-0-387-74977-8 | doi = 10.1007/978-0-387-74978-5 | isbn = 978-0-387-74978-5}} * {{Cite book | last1 = Lehmann | first1 = E. L. | author1-link= Erich Leo Lehmann | last2=Casella | first2= G. | title = Theory of Point Estimation | edition = 2nd | year = 1998 | publisher = [[Springer Science+Business Media|Springer]] | isbn = 0-387-98502-6 }} * {{Citation | last = Shao | first = Jun | title = Mathematical Statistics | publisher = [[Springer Science+Business Media|Springer]] | year = 1998 | isbn = 0-387-98674-X }} ==External links== *[https://web.archive.org/web/20200212200544/https://pdfs.semanticscholar.org/9abc/f28d04f550cc20c30ff819c3f0b8f110b808.pdf Fundamentals on Estimation Theory] [[Category:Estimator| ]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Div col
(
edit
)
Template:Div col end
(
edit
)
Template:Further
(
edit
)
Template:Main
(
edit
)
Template:Nowrap
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:SpringerEOM
(
edit
)