In this blog, We introduces various methods in point estimates and their definition. The blog follows from lecture note Point Estimate from professor Xiaojing Ye in Georgia State University
Some author··21 min read
Point Estimation
Example. Let X1,…,Xn∼f(⋅;θ) be a random sample where
How can we transform a distribution to make the average an unbiased estimator?
Example. Let X1,…,Xn∼Uniform(0,β) be a random sample where β is a parameter. Show that Yn (the n-th order statistic) is a biased estimator but an asymptotically unbiased estimator of β.
Let's consider the following inequality from "Course Notes for Math 162: Mathematical Statistics The Cram´er-Rao Inequality" by Adam Merberg and Steven J. Miller.
Cramér-Rao Inequality
Suppose we have a probability density function f(x;θ) with a continuous parameter θ. Let X1,…,Xn be independent random variables with density f(x;θ), and ϕ(x)=Θ^(x1,…,xn) be an unbiased estimator of θ.
Let F(x,θ)=∏i=1nf(xi;θ) and
We assume that f(x;θ) satisfies the following two conditions:
1. We have the condition:
∂θ∂[∫Mϕ(x)F(xˉ,θ)dx]=∫Mϕ(x)∂θ∂F(x;θ)dx
, where M defines the whole F(x,θ) and m defines the f(x;θ).
2. For each θ, the variance of ϕ(x) is finite.
Under these conditions, the variance of Θ^ is bounded below by:
var(ϕ)×(nE[(∂θ∂lnf(x;θ))2])≥1
Proof.
Since ϕ(x) is an unbiased estimator of θ, we will have
We also notice that ∂θ∂F(x,θ)=∑i=1n∂θ∂f(xi;θ)∏j=1,j=inf(xj;θ)=∑i=1nf(xi;θ)1∂θ∂f(xi;θ)∏j=1nf(xj;θ)=∑i=1n∂θ∂lnf(xi;θ)∏j=1nf(xj;θ)=F(x;θ)∑i=1n∂θ∂lnf(xi;θ)
The first term due to θ=E[θ]=E[Θ^] so it's the variance of Θ^. The second term we need to do further analysis. So currently we have only the inequality:
1≤var(ϕ)∫M(i=1∑n∂θ∂lnf(xi;θ))2F(x;θ)dx
.
We want to show ∫M(∑i=1n∂θ∂lnf(xi;θ))2F(x;θ)dx=nE[(∂θ∂lnf(x;θ))2]
Example. Let X1,…,Xn be a random sample of N(μ,σ2) where μ is to be estimated. Then Xˉ is an MVUE of μ.
Solution: E[Xˉ]=nnE[X]=μ and V[Xˉ]=V[n∑i=1nXi]=n2nV[X]=nσ2.
We know the normal distribution has pdf: f(x)=σ2π1exp(−2σ2(x−μ)2), then lnf(x)=ln(2πσ1)−2σ2(x−μ)2, then∂μ∂lnf(x)=−σ2μ−x and (∂μ∂lnf(x))2=σ4(x−μ)2
Then I(μ)=∫−∞∞σ4(x−μ)2=σ21 and so we will have
nI(μ)1=nσ211=nσ2=V[X].
So Xˉ is an MVUE of μ.
We will review the Cramer-Rao inequality:
var(ϕ)×(nE[(∂θ∂lnf(x;θ))2])≥1
If we are given two point estimators Θ1 and Θ2 of our parameter θ. How can we decide which one to us. Let's pick a case where Θ1 is the MVUE of θ, then we will have
V(Θ1)×(nI(θ))=1
We also know that
V(Θ2)×(nI(θ))≥1
and so we will have essentially:
V(Θ2)×(nI(θ))≥V(Θ1)×(nI(θ))
If we take the reciprocal of the inequality, we will have
V(Θ2)×(nI(θ))1≤V(Θ1)×(nI(θ))1
.
Here, comes the definition of efficiency. If an unbiased estimator is more efficient than the other, then it will be Θ1 in the above inequality. So the efficiency of an unbiased estimator Θ is defined as
e(Θ)=V(Θ)×(nI(θ))1.
and
e(Θ2)e(Θ1)=V[Θ1]V[Θ2].
Example. Let X1,…,Xn∼Uniform(0,β) be a random sample where β is a parameter. Show that both 2Xˉ and nn+1Yn are unbiased estimators of β. Compare their efficiency.
First, let's consider the variance of uniform distribution. We know that the mean of the above uniform distribution takes 2β. And the variance of the distribution is β1∫0β(x−β/2)2dx=31x3x=−β/2β/2⋅β1=121β2.
And so E[2Xˉ]=2⋅2β=β. and V[2Xˉ]=n24⋅12nβ2=3nβ2
Now let's consider Pr[Yn=y]=n(∫0yβ1dy)n−1β1=n(βy)n−1β1=n⋅βnyn−1
And so E[Yn]=∫0βn⋅βnyndy=n+1nβnyn+1y=0y=β=n+1nβ
Consistency is defined as follows: An estimator Θ^ of θ, based on a random sample of size n, is considered consistent if, for any positive value c, the probability approaches zero as the sample size n tends to infinity that the absolute difference between the estimator Θ^ and the true parameter θ is greater than c.
n→∞limPr[Θˉ−θ>c]=0
Theorem. If Θ^ is an unbiased estimator of θ and V[Θ^]→0 as n→∞, then Θ^ is a consistent estimator of θ.
Proof:
We know Chebyshev's inequality, then for any real number k>0,
Pr(∣Θ^−θ∣≥kV[Θ^])≤k21
Setting k to satisfy kV[Θ^]=c, then by sending n to infinity we will have
n→∞limPr(∣Θ^−θ∣≥c)≤n→∞limc2(V[Θ^])2=0
Example. Suppose S2 is the sample variance of the random sample from a normal population N(μ,σ2), then S2 is a consistent estimator of σ2.
We know from the previous that σ2(n−1)S2∼χn−12 so
σ4(n−1)2V[S2]=2(n−1)⟹V[S2]=n−12σ4
then we will have
n→∞limV[S2]=n→∞limn−12σ4=0
So S2 is consistent.
Example: Let f be a probability density function (pdf) with a finite mean μ and variance σ2.
Consider a natural number n, and let X1,…,Xn be a random sample drawn from f.
Additionally, let Yn follow a Bernoulli distribution with parameter n1 and be independent of the random sample.
We define the estimator Θ^n as Θ^n=n2Yn+(1−Yn)Xˉn, where Xˉn=n1∑i=1nXi represents the sample mean.
Show that Θ^n is neither unbiased nor asymptotically unbiased, but it is a consistent estimator of μ.
E[Θ^n]=n2E[Yn]+E[1−Yn]E[Xnˉ]=n+nn−1μ
So Θ^n is neither unbiased nor asymptotically unbiased.
Definition: An estimator Θ^ is considered sufficient for the parameter θ if the conditional probability of the random sample X1,…,Xn given Θ^=θ is independent of θ. In other words, the probability distribution fX1,…,Xn∣Θ(x1,…,xn∣θ) does not depend on the specific value of θ.
Example. If X1,…,Xn is a random sample of Bernoulli(p), then Θ^=Xˉ is a sufficient estimator of p.
Proof. Pr[X=x]=∏i=1npxi(1−p)1−xi=p∑i=1nxi(1−p)n−∑i=1nxi and
Theorem: Θ^ is a sufficient estimator of θ if and only if the joint probability mass function (pmf) or probability density function (pdf) of X1,…,Xn can be expressed as a product of two functions, ϕ(θ^;θ) and h(x1,…,xn), where the function h does not depend on θ.
Example. Consider a normal population N(μ,σ2) for known σ2. Show that Xˉ is a sufficient estimator of μ.
Now, let's discuss approaches for constructing point estimators. There are three common methods used for this purpose:
Method of Moments
Maximum Likelihood Estimation
Bayesian Estimation
The Method of Moments is a technique used to estimate the parameters θ1,…,θr of a distribution f. The approach involves setting up a system of r equations:
μk′(θ1,…,θr)=mk′,for k=1,…,r,
where μk′ represents the k-th population moment (e.g., mean, variance) of the distribution f, and mk′ represents the corresponding k-th sample moment (calculated from the given data x1,…,xn). Solving this system of equations yields the estimates for the parameters:
θk=θk(x1,…,xn),for k=1,…,r.
Thus, the resulting estimators obtained through the Method of Moments are denoted as Θ^k=Θ^k(X1,…,Xn) for k=1,…,r.
Example. Given a random sample of size n from Uniform(a,b), use the method of moments to obtain an estimator of a,b.
We know that the first moment of the uniform distribution is 2a+b and the second moment of the uniform distribution is 3a2+ab+b2. Then we will have
{2a+b=x3a2+ab+b2=y
,
where x=Xˉ is the sample mean and y=X2ˉ is the sample second moment.
Then we will have a=2x−b and so b2−2bx+4x2=a2+ab+b2=3y⟹b2−2bx+4x2−3y=0⟹Δ=4b2−4(4x2−3y)=4(b2+3y−4x2) and so
b=22x+2b2+3y−4x2
can be an estimator of b.
We can use the similar procedure to solve a and get a=22x−2b2+3y−4x2
Example. Given a random sample of size n from Gamma(α,β), use the method of moments to obtain estimators of α and β.
Solution, we will use the same definition for x,y as the above probelm but for gamma distribution, then we will have
{αβ=xα(α+1)β2=y
And so
{αβ=x(α+1)β=xy
And so
{α=y−x2x2β=xy−x=xy−x2
Maximum likelihood estimation
The Maximum Likelihood Estimation (MLE) is a method used to estimate the parameter θ of a statistical distribution, given the observed values x1,…,xn. To perform MLE, we define the likelihood function L(θ), which is the joint probability density function (pdf) or probability mass function (pmf) of the observed data x1,…,xn when treated as a function of the parameter θ. The likelihood function is given by:
L(θ)=fX1,…,Xn(x1,…,xn;θ)=i=1∏nf(xi;θ).
In this equation, f(xi;θ) represents the pdf or pmf of each individual data point xi, and the product of these probabilities is taken for all n observed data points.
The MLE of θ, denoted as θ^, is the value that maximizes the likelihood function L(θ). In other words, it is the parameter value that makes the observed data most probable, given the assumed statistical model characterized by f(x;θ). Mathematically, we find θ^ by solving:
θ^=argθmaxL(θ).
The value θ^ obtained in this way is referred to as the Maximum Likelihood Estimate (MLE) of θ, which provides an estimate of the unknown parameter based on the observed data. The MLE is a widely used and valuable method for parameter estimation in various statistical models and machine learning algorithms.
Example. Given x successes in n trials, find the MLE of θ in the corresponding Binomial(n,θ).
We see that the probability we want to maximize is
p(X=x;θ)=(xn)θx(1−θ)n−x
If we take derivative with respect to θ and setting it to zero, we will have the following:
We can see the summation is the log-likelihood and we know that lnp(θ) is serving as a regularization to the likelihood function.
Example. Let X follow Binomial(n,θ) for unknown θ∈(0,1). Suppose the prior distribution of θ is Beta(α,β) for some given α,β>0. Find the posterior distribution and Bayesian estimate of θ.
The posterior distribution will be proportional to the following:
Example. Suppose X1,…,Xn is a random sample of N(μ,σ2) where σ2 is known. Assume the prior distribution of μ is N(μ0,σ02) for some known μ0 and σ02. Find the posterior distribution of μ and the Bayesian estimate.
Solution:
The posterior distribution of μ follows the following:
And so μ is having normal distribution with σ02n+σ22nXˉσ02+μ0σ2 as mean and σ02n+σ2σ2σ02 as the variance.
Example. Suppose X1,…,Xn is a random sample of N(μ,σ2) where σ2 is known. Assume the prior distribution of μ is N(μ0,σ02) for some known μ0 and σ02. Find the posterior distribution of μ and the Bayesian estimate.
Solution:
The posterior distribution of μ follows the following: