# Rao–Blackwell theorem

Rao–Blackwell theorem This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Rao–Blackwell theorem" – news · newspapers · books · scholar · JSTOR (May 2014) (Learn how and when to remove this template message) In statistics, the Rao–Blackwell theorem, sometimes referred to as the Rao–Blackwell–Kolmogorov theorem, is a result which characterizes the transformation of an arbitrarily crude estimator into an estimator that is optimal by the mean-squared-error criterion or any of a variety of similar criteria.

The Rao–Blackwell theorem states that if g(X) is any kind of estimator of a parameter θ, then the conditional expectation of g(X) given T(X), where T is a sufficient statistic, is typically a better estimator of θ, and is never worse. Sometimes one can very easily construct a very crude estimator g(X), and then evaluate that conditional expected value to get an estimator that is in various senses optimal.

The theorem is named after Calyampudi Radhakrishna Rao and David Blackwell. The process of transforming an estimator using the Rao–Blackwell theorem is sometimes called Rao–Blackwellization. The transformed estimator is called the Rao–Blackwell estimator.[1][2][3] Contents 1 Definitions 2 The theorem 2.1 Mean-squared-error version 2.2 Convex loss generalization 3 Properties 4 Example 5 Idempotence 6 Completeness and Lehmann–Scheffé minimum variance 7 See also 8 References 9 External links Definitions An estimator δ(X) is an observable random variable (i.e. a statistic) used for estimating some unobservable quantity. For example, one may be unable to observe the average height of all male students at the University of X, but one may observe the heights of a random sample of 40 of them. The average height of those 40—the "sample average"—may be used as an estimator of the unobservable "population average". A sufficient statistic T(X) is a statistic calculated from data X to estimate some parameter θ for which no other statistic which can be calculated from data X provides any additional information about θ. It is defined as an observable random variable such that the conditional probability distribution of all observable data X given T(X) does not depend on the unobservable parameter θ, such as the mean or standard deviation of the whole population from which the data X was taken. In the most frequently cited examples, the "unobservable" quantities are parameters that parametrize a known family of probability distributions according to which the data are distributed. In other words, a sufficient statistic T(X) for a parameter θ is a statistic such that the conditional distribution of the data X, given T(X), does not depend on the parameter θ. A Rao–Blackwell estimator δ1(X) of an unobservable quantity θ is the conditional expected value E(δ(X) | T(X)) of some estimator δ(X) given a sufficient statistic T(X). Call δ(X) the "original estimator" and δ1(X) the "improved estimator". It is important that the improved estimator be observable, i.e. that it does not depend on θ. Generally, the conditional expected value of one function of these data given another function of these data does depend on θ, but the very definition of sufficiency given above entails that this one does not. The mean squared error of an estimator is the expected value of the square of its deviation from the unobservable quantity being estimated of θ. The theorem Mean-squared-error version One case of Rao–Blackwell theorem states: The mean squared error of the Rao–Blackwell estimator does not exceed that of the original estimator.

In other words, {displaystyle operatorname {E} ((delta _{1}(X)-theta )^{2})leq operatorname {E} ((delta (X)-theta )^{2}).} The essential tools of the proof besides the definition above are the law of total expectation and the fact that for any random variable Y, E(Y2) cannot be less than [E(Y)]2. That inequality is a case of Jensen's inequality, although it may also be shown to follow instantly from the frequently mentioned fact that {displaystyle 0leq operatorname {Var} (Y)=operatorname {E} ((Y-operatorname {E} (Y))^{2})=operatorname {E} (Y^{2})-(operatorname {E} (Y))^{2}.} More precisely, the mean square error of the Rao-Blackwell estimator has the following decomposition[4] {displaystyle operatorname {E} [(delta _{1}(X)-theta )^{2}]=operatorname {E} [(delta (X)-theta )^{2}]-operatorname {E} [operatorname {Var} (delta (X)mid T(X))]} Since {displaystyle operatorname {E} [operatorname {Var} (delta (X)mid T(X))]geq 0} , the Rao-Blackwell theorem immediately follows.

Convex loss generalization The more general version of the Rao–Blackwell theorem speaks of the "expected loss" or risk function: {displaystyle operatorname {E} (L(delta _{1}(X)))leq operatorname {E} (L(delta (X)))} where the "loss function" L may be any convex function. If the loss function is twice-differentiable, as in the case for mean-squared-error, then we have the sharper inequality[4] {displaystyle operatorname {E} (L(delta (X)))-operatorname {E} (L(delta _{1}(X)))geq {frac {1}{2}}operatorname {E} _{T}left[inf _{x}L''(x)operatorname {Var} (delta (X)mid T)right].} Properties The improved estimator is unbiased if and only if the original estimator is unbiased, as may be seen at once by using the law of total expectation. The theorem holds regardless of whether biased or unbiased estimators are used.

The theorem seems very weak: it says only that the Rao–Blackwell estimator is no worse than the original estimator. In practice, however, the improvement is often enormous.[5] Example Phone calls arrive at a switchboard according to a Poisson process at an average rate of λ per minute. This rate is not observable, but the numbers X1, ..., Xn of phone calls that arrived during n successive one-minute periods are observed. It is desired to estimate the probability e−λ that the next one-minute period passes with no phone calls.

An extremely crude estimator of the desired probability is {displaystyle delta _{0}=left{{begin{matrix}1&{text{if}} X_{1}=0,\0&{text{otherwise,}}end{matrix}}right.} i.e., it estimates this probability to be 1 if no phone calls arrived in the first minute and zero otherwise. Despite the apparent limitations of this estimator, the result given by its Rao–Blackwellization is a very good estimator.

The sum {displaystyle S_{n}=sum _{i=1}^{n}X_{i}=X_{1}+cdots +X_{n}} can be readily shown to be a sufficient statistic for λ, i.e., the conditional distribution of the data X1, ..., Xn, depends on λ only through this sum. Therefore, we find the Rao–Blackwell estimator {displaystyle delta _{1}=operatorname {E} (delta _{0}mid S_{n}=s_{n}).} After doing some algebra we have {displaystyle {begin{aligned}delta _{1}&=operatorname {E} left(mathbf {1} _{{X_{1}=0}}{Bigg |}sum _{i=1}^{n}X_{i}=s_{n}right)\&=Pleft(X_{1}=0{Bigg |}sum _{i=1}^{n}X_{i}=s_{n}right)\&=Pleft(X_{1}=0,sum _{i=2}^{n}X_{i}=s_{n}right)times Pleft(sum _{i=1}^{n}X_{i}=s_{n}right)^{-1}\&=e^{-lambda }{frac {left((n-1)lambda right)^{s_{n}}e^{-(n-1)lambda }}{s_{n}!}}times left({frac {(nlambda )^{s_{n}}e^{-nlambda }}{s_{n}!}}right)^{-1}\&={frac {left((n-1)lambda right)^{s_{n}}e^{-nlambda }}{s_{n}!}}times {frac {s_{n}!}{(nlambda )^{s_{n}}e^{-nlambda }}}\&=left(1-{frac {1}{n}}right)^{s_{n}}end{aligned}}} Since the average number of calls arriving during the first n minutes is nλ, one might not be surprised if this estimator has a fairly high probability (if n is big) of being close to {displaystyle left(1-{1 over n}right)^{nlambda }approx e^{-lambda }.} So δ1 is clearly a very much improved estimator of that last quantity. In fact, since Sn is complete and δ0 is unbiased, δ1 is the unique minimum variance unbiased estimator by the Lehmann–Scheffé theorem.

Idempotence Rao–Blackwellization is an idempotent operation. Using it to improve the already improved estimator does not obtain a further improvement, but merely returns as its output the same improved estimator.

Completeness and Lehmann–Scheffé minimum variance If the conditioning statistic is both complete and sufficient, and the starting estimator is unbiased, then the Rao–Blackwell estimator is the unique "best unbiased estimator": see Lehmann–Scheffé theorem.

An example of an improvable Rao–Blackwell improvement, when using a minimal sufficient statistic that is not complete, was provided by Galili and Meilijson in 2016.[6] Let {displaystyle X_{1},ldots ,X_{n}} be a random sample from a scale-uniform distribution {displaystyle Xsim Uleft((1-k)theta ,(1+k)theta right),} with unknown mean {displaystyle E[X]=theta } and known design parameter {displaystyle kin (0,1)} . In the search for "best" possible unbiased estimators for {displaystyle theta ,} it is natural to consider {displaystyle X_{1}} as an initial (crude) unbiased estimator for {displaystyle theta } and then try to improve it. Since {displaystyle X_{1}} is not a function of {displaystyle T=left(X_{(1)},X_{(n)}right)} , the minimal sufficient statistic for {displaystyle theta } (where {displaystyle X_{(1)}=min(X_{i})} and {displaystyle X_{(n)}=max(X_{i})} ), it may be improved using the Rao–Blackwell theorem as follows: {displaystyle {hat {theta }}_{RB}=E_{theta }left[X_{1}|X_{(1)},X_{(n)}right]={frac {X_{(1)}+X_{(n)}}{2}}.} However, the following unbiased estimator can be shown to have lower variance: {displaystyle {hat {theta }}_{LV}={frac {1}{2left(k^{2}{frac {n-1}{n+1}}+1right)}}left[(1-k){{X}_{(1)}}+(1+k){{X}_{(n)}}right].} And in fact, it could be even further improved when using the following estimator: {displaystyle {hat {theta }}_{BAYES}={frac {n+1}{n}}left[1-{frac {{frac {left({frac {{X}_{(1)}}{1-k}}right)}{left({frac {{X}_{(n)}}{1+k}}right)}}-1}{{{left[{frac {left({frac {{X}_{(1)}}{1-k}}right)}{left({frac {{X}_{(n)}}{1+k}}right)}}right]}^{n+1}}-1}}right]{frac {X_{(n)}}{1+k}}} The model is a scale model. Optimal equivariant estimators can then be derived for loss functions that are invariant.[7] See also Basu's theorem — Another result on complete sufficient and ancillary statistics References ^ Blackwell, D. (1947). "Conditional expectation and unbiased sequential estimation". Annals of Mathematical Statistics. 18 (1): 105–110. doi:10.1214/aoms/1177730497. MR 0019903. Zbl 0033.07603. ^ Kolmogorov, A. N. (1950). "Unbiased estimates". Izvestiya Akad. Nauk SSSR. Ser. Mat. 14: 303–326. MR 0036479. ^ Rao, C. Radhakrishna (1945). "Information and accuracy attainable in the estimation of statistical parameters". Bulletin of the Calcutta Mathematical Society. 37 (3): 81–91. ^ Jump up to: a b J. G. Liao & A. Berg (22 June 2018). "Sharpening Jensen's Inequality". The American Statistician: 1–4. arXiv:1707.08644. doi:10.1080/00031305.2017.1419145. ^ Carpenter, Bob (January 20, 2020). "Rao-Blackwellization and discrete parameters in Stan". Statistical Modeling, Causal Inference, and Social Science. Retrieved September 13, 2021. The Rao-Blackwell theorem states that the marginalization approach has variance less than or equal to the direct approach. In practice, this difference can be enormous. ^ Tal Galili & Isaac Meilijson (31 Mar 2016). "An Example of an Improvable Rao–Blackwell Improvement, Inefficient Maximum Likelihood Estimator, and Unbiased Generalized Bayes Estimator". The American Statistician. 70 (1): 108–113. doi:10.1080/00031305.2015.1100683. PMC 4960505. PMID 27499547. ^ Taraldsen, Gunnar (2020). "Micha Mandel (2020), "The Scaled Uniform Model Revisited," The American Statistician, 74:1, 98–100: Comment". The American Statistician. 74 (3): 315–315. doi:10.1080/00031305.2020.1769727. ISSN 0003-1305. External links Nikulin, M.S. (2001) [1994], "Rao–Blackwell–Kolmogorov theorem", Encyclopedia of Mathematics, EMS Press hide vte Statistics OutlineIndex show Descriptive statistics show Data collection hide Statistical inference Statistical theory PopulationStatisticProbability distributionSampling distribution Order statisticEmpirical distribution Density estimationStatistical model Model specificationLp spaceParameter locationscaleshapeParametric family Likelihood (monotone)Location–scale familyExponential familyCompletenessSufficiencyStatistical functional BootstrapUVOptimal decision loss functionEfficiencyStatistical distance divergenceAsymptoticsRobustness Frequentist inference Point estimation Estimating equations Maximum likelihoodMethod of momentsM-estimatorMinimum distanceUnbiased estimators Mean-unbiased minimum-variance Rao–BlackwellizationLehmann–Scheffé theoremMedian unbiasedPlug-in Interval estimation Confidence intervalPivotLikelihood intervalPrediction intervalTolerance intervalResampling BootstrapJackknife Testing hypotheses 1- & 2-tailsPower Uniformly most powerful testPermutation test Randomization testMultiple comparisons Parametric tests Likelihood-ratioScore/Lagrange multiplierWald Specific tests Z-test (normal)Student's t-testF-test Goodness of fit Chi-squaredG-testKolmogorov–SmirnovAnderson–DarlingLillieforsJarque–BeraNormality (Shapiro–Wilk)Likelihood-ratio testModel selection Cross validationAICBIC Rank statistics Sign Sample medianSigned rank (Wilcoxon) Hodges–Lehmann estimatorRank sum (Mann–Whitney)Nonparametric anova 1-way (Kruskal–Wallis)2-way (Friedman)Ordered alternative (Jonckheere–Terpstra)Van der Waerden test Bayesian inference Bayesian probability priorposteriorCredible intervalBayes factorBayesian estimator Maximum posterior estimator show CorrelationRegression analysis show Categorical / Multivariate / Time-series / Survival analysis show Applications Category Mathematics portalCommons WikiProject Categories: Theorems in statisticsEstimation theory

Si quieres conocer otros artículos parecidos a Rao–Blackwell theorem puedes visitar la categoría Estimation theory.

Subir

Utilizamos cookies propias y de terceros para mejorar la experiencia de usuario Más información