Generalized least squares

[28/57%]
Show
LaTeX

Find the GLS estimate and the variance of its components in the case where the error covariance matrix VnV_{n} is diagonal.

?

Obtain a matrix of the form (11.12).

?

Let Xk=θ1+θ2hk+εk,k=1,2,3X_{k} = \theta_{1}+\theta_{2} h_{k}+\varepsilon_{k}, k = 1,2,3, where the error vector E={ε1,ε2,ε3}TE = \left\{ \varepsilon_{1}, \varepsilon_{2}, \varepsilon_{3}\right\}^{T} has expectation E[E]=0\mathbb {E}\left[E\right] = 0, and Cov⁡[E,E]=σ2V\operatorname {Cov}\left[ E, E \right] = \sigma^{2} V,

V=[1ρaρρaa2ρaρρa1], V =\left[\begin{smallmatrix} 1 & \rho a & \rho \\ \rho a & a^{2} & \rho a \\ \rho & \rho a & 1 \end{smallmatrix}\right],

the numbers aa and 0<ρ<10 < \rho < 1 are unknown, h1=−1,h2=0,h3=1h_{1} = -1, h_{2} = 0, h_{3} = 1. Show that the GLS estimate of the vector θ\theta has the form

θ^=[1r((a2−aρ)X1+(1−2aρ+ρ)X2+(a2−aρ)X3)−0,5X1+0,5X3], \widehat{\theta } =\left[\begin{smallmatrix} \frac{1}{r}\left(\left(a^{2}-a \rho \right) X_{1}+(1-2 a \rho +\rho ) X_{2}+\left(a^{2}-a \rho \right) X_{3}\right) \\ -0,5 X_{1}+0,5 X_{3} \end{smallmatrix}\right],

where r=1+ρ+2a2−4aρr = 1+\rho +2 a^{2}-4 a \rho. Find values of ρ,a,Xk,k=1,2,3\rho , a, X_{k}, k = 1,2,3 for which the regression line lies entirely below all the observed values, and values for which it lies entirely above them.

?

Let Xi=θhi+εi,i=1,2X_{i} = \theta h_{i}+\varepsilon_{i}, i = 1,2, where ε1∼N(0,σ2),ε2∼N(0,4σ2)\varepsilon_{1} \sim \mathcal{N}\left(0, \sigma^{2}\right), \varepsilon_{2} \sim \mathcal{N}\left(0,4 \sigma^{2}\right), and ε1\varepsilon_{1} and ε2\varepsilon_{2} are independent. For two vectors h:h(1)=[−1,1]⊤,h(2)=[1,−1]⊤h: h^{(1)} = [-1,1]^{\top }, h^{(2)} = [1,-1]^{\top } find the GLS estimate and its variance for the two vectors hh.

?

Let the regression model have the form

Xk=θ1+θ2hk+εk,k=1,…5, X_{k} = \theta _{1}+\theta _{2} h_{k}+\varepsilon _{k}, \quad k = 1, \ldots 5,

where εk\varepsilon_{k} are independent centered random variables with variances σk2=hk2\sigma_{k}^{2} = h_{k}^{2}. From the observations given in Table 11.5, find the realizations of the OLS estimate and the GLS estimate of the unknown parameters [θ1,θ2]⊤\left[\theta_{1}, \theta_{2}\right]^{\top }. For each estimate, compute the covariance matrix of its error.

Table 11.5

hkh_{k}12345
XkX_{k}12234
?

Show that applying GLS to the simple linear regression model with error variances equal to Var⁡[ek]=σ2hk2\operatorname {Var}\left[e_{k}\right] = \sigma^{2} h_{k}^{2} is equivalent to applying ordinary least squares to the observation model of the form

Xkhk=θ1hk+θ2+δk,k=1,…,n \frac{X_{k}}{h_{k}} = \frac{\theta _{1}}{h_{k}}+\theta _{2}+\delta _{k}, \quad k = 1, \ldots , n

where δk\delta_{k} are independent random variables with variances Var⁡[δk]=σ2\operatorname {Var}\left[\delta_{k}\right] = \sigma^{2} for k=1,…,nk = 1, \ldots , n.

?

Consider the regression model

Xk=θ1+θ2hk+εk,k=1,…10 X_{k} = \theta _{1}+\theta _{2} h_{k}+\varepsilon _{k}, \quad k = 1, \ldots 10

where the errors εk\varepsilon_{k} satisfy the first-order autoregression equation

εk=−0,4εk−1+vk,k=2,…,10 \varepsilon _{k} = -0,4 \varepsilon _{k-1}+v_{k}, \quad k = 2, \ldots , 10

where vkv_{k} is a sequence of independent normally distributed random variables with zero mean and variance σ02=1\sigma_{0}^{2} = 1. Find the realization of the GLS estimate of the vector of unknown parameters θ=[θ1,θ2]⊤\theta = \left[\theta_{1}, \theta_{2}\right]^{\top } from the observations given in Table 11.6.

Table 11.6

hkh_{k}5,02,51,86,89,03,86,59,01,03,5
XkX_{k}5,04,83,18,28,65,56,511,12,14,5

Compare the obtained vector with the realization of the OLS estimate constructed under the assumption that the errors εk\varepsilon_{k} are uncorrelated.

?

Consider the model relating the number of vacancies ww and the unemployment rate uu

Xk=θ1+θ2hk+εk,k=1,…,24, X_{k} = \theta _{1}+\theta _{2} h_{k}+\varepsilon _{k}, \quad k = 1, \ldots , 24,

where Xk=ln⁡wk,hk=ln⁡uk,εk∼N(0;σ2)X_{k} = \ln w_{k}, h_{k} = \ln u_{k}, \varepsilon_{k} \sim \mathcal{N}\left(0 ; \sigma^{2}\right). Using the data from Table 11.7, find the OLS estimates of the parameters θ1\theta_{1} and θ2\theta_{2}. Use the Durbin-Watson test to test the hypothesis H0:ρ=0H_{0}: \rho = 0 that the observation errors are uncorrelated, at the significance level α=0,05\alpha = 0,05. If the hypothesis H0H_{0} is rejected, assume that the sequence of random errors {εk}\left\{ \varepsilon_{k}\right\} satisfies the first-order autoregression equation

εk=ρεk−1+ek,k=2,…,n \varepsilon _{k} = \rho \varepsilon _{k-1}+e_{k}, \quad k = 2, \ldots , n

where eke_{k} are centered Gaussian random variables with variance Var⁡[ek]=σ02\operatorname {Var}\left[e_{k}\right] = \sigma_{0}^{2}. Find an estimate of the unknown coefficient ρ\rho in the autoregression equation.

?

Investigate the consumption function of Japan X(h)X(h) over the period 1951-1962 for correlation of the observation errors. If the observation errors are correlated, find the realization of the GLS estimate of the vector of unknown parameters. Find an estimate of the covariance matrix of the error vector EE. The data for the computations are given in Table 11.8 (data taken from: U. N. Yearbook of National Accounts Statistics, 1963). Here XX is aggregate individual consumption (trillion yen), and hh is aggregate personal income (trillion yen).

Table 11.8

kkXkX_{k}hkh_{k}kkXkX_{k}hkh_{k}
12,863,5275,897,00
23,514,2686,207,32
34,224,7796,708,24
44,675,25107,519,46
54,975,73118,5811,10
65,436,35129,9612,69
?

Investigate the dependence between manufacturing value added (XX) and gross domestic product (hh) on a sample of 28 countries for 1994 that includes both small and large countries (UNIDO Yearbook 1997). Table 12.5 gives the values of XX and hh in millions of US dollars, the population (g)(g) in millions of people, and the data in the last two columns in US dollars per person. Construct the OLS estimate of the parameters θ1\theta_{1} and θ2\theta_{2} for the model

Xk=θ1+θ2hk+εk,k=1,…,28. X_{k} = \theta _{1}+\theta _{2} h_{k}+\varepsilon _{k}, \quad k = 1, \ldots , 28.

Check for heteroscedasticity using one of the tests, assuming that the observation errors εk,k=1,…,28\varepsilon_{k}, k = 1, \ldots , 28 are uncorrelated and Gaussian. If heteroscedasticity is detected, eliminate it by dividing each observation by the population value. For this, the data from the last two columns of Table 12.5 can be used.

Table 12.5

?

The weighing of three loads with masses aa and bb is carried out as follows: the first load is weighed n1n_{1} times (all measurement errors have distribution N(0,σ2))\mathscr {N}\left(0, \sigma^{2}\right)), the second load is weighed n2n_{2} times on the same scale, then the first and second loads together are weighed n3n_{3} times on a different scale, whose measurement errors all have distribution N(0,3σ2)\mathscr {N}\left(0, 3 \sigma^{2}\right). Reduce the problem to a linear model and find the least-squares estimators for aa and bb, as well as the optimal estimator for σ2\sigma^{2}.

?

Let the vector X=(X1,…,Xn)X=\left(X_{1}, \ldots , X_{n}\right) have distribution (ab,σ2Σ)\left(a b, \sigma^{2} \Sigma \right), where bb is a known vector of dimension nn, Σ\Sigma is a known positive-definite matrix, and aa and σ2\sigma^{2} are unknown parameters. Reduce the problem to a linear Gaussian model and find the least-squares estimators of the parameters aa and σ2\sigma^{2}.

?

Let Xi∼N(a,iσ2),i=0,1,…,n,Yi∼N(jb,σ2),j=1,…,mX_{i} \sim N\left(a, i \sigma^{2}\right), i=0,1, \ldots , n, Y_{i} \sim \mathscr {N}\left(jb, \sigma^{2}\right), j=1, \ldots , m be independent random variables, where a,b,σ2a, b, \sigma^{2} are unknown parameters. Reduce the problem to a linear model and construct an FF-test of size α\alpha for testing the hypothesis H0:a+b=1H_{0}: a+b=1.

?

Let Yi=βxi+εi(i=1,2)Y_{i} = \beta x_{i}+\varepsilon_{i}(i = 1,2), where ε1∼N(0,σ2),ε2∼N(0,2σ2)\varepsilon_{1} \sim N\left(0, \sigma^{2}\right), \varepsilon_{2} \sim N\left(0,2 \sigma^{2}\right), and ε1\varepsilon_{1} and ε2\varepsilon_{2} are statistically independent. If x1=+1x_{1} = +1 and x2=−1x_{2} = -1, obtain the weighted least squares estimate of β\beta and find the variance of your estimate.

?

Let Yi(i=1,2,…,n)Y_{i}(i = 1,2, \ldots , n) be independent random variables with a common mean θ\theta and variances σ2/wi(i=1,2,…,n)\sigma^{2} / w_{i}(i = 1,2, \ldots , n). Find the linear unbiased estimate of θ\theta with minimum variance, and find this minimum variance.

?

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be independent random variables, and let YiY_{i} have a N(iθ,i2σ2)N\left(i \theta , i^{2} \sigma^{2}\right) distribution for i=1,2,…,ni = 1,2, \ldots , n. Find the weighted least squares estimate of θ\theta and prove that its variance is σ2/n\sigma^{2} / n.

?

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be random variables with common mean θ\theta and with dispersion matrix σ2V\sigma^{2} \mathbf{V}, where vii=1(i=1,2,…,n)v_{i i} = 1(i = 1,2, \ldots , n) and vij=ρv_{i j} = \rho (0<ρ<1;i,j=1,2,…,n;i≠j0 < \rho < 1 ; i, j = 1,2, \ldots , n ; i \neq j). Find the generalized least squares estimate of θ\theta and show that it is the same as the ordinary least squares estimate. Hint: V−1\mathbf{V}^{-1} takes the same form as V\mathbf{V}.

?

Let Y∼Nn(Xβ,σ2V)\mathbf{Y} \sim N_{n}\left(\mathbf{X} \beta , \sigma^{2} \mathbf{V}\right), where X\mathbf{X} is n×pn \times p of rank⁡p\operatorname {rank} p and V\mathbf{V} is a known positive-definite n×nn \times n matrix. If β∗\beta^{*} is the generalized least squares estimate of β\mathbf{\beta }, prove that

?
(a)

Q=(Y−Xβ∗)TV−1(Y−Xβ∗)/σ2∼χn−p2Q = \left(\mathbf{Y}-\mathbf{X} \mathbf{\beta }^{*}\right)^{T} \mathbf{V}^{-1}\left(\mathbf{Y}-\mathbf{X} \beta^{*}\right) / \sigma^{2} \sim \chi_{n-p}^{2}.

(b)

QQ is the quadratic nonnegative unbiased estimate of (n−p)σ2(n-p) \sigma^{2} with minimum variance.

(c)

If Y∗=Xβ∗=P∗Y\mathbf{Y}^{*} = \mathbf{X} \mathbf{\beta }^{*} = \mathbf{P}^{*} \mathbf{Y}, then P∗\mathbf{P}^{*} is idempotent but not, in general, symmetric.

Suppose that E[Y]=θ,Aθ=0\mathbb {E}\left[\mathbf{Y}\right] = \mathbf{\theta }, \mathbf{A} \mathbf{\theta } = \mathbf{0}, and Var⁡[Y]=σ2V\operatorname {Var}\left[\mathbf{Y}\right] = \sigma^{2} \mathbf{V}, where A\mathbf{A} is a q×nq \times n matrix of rank⁡q\operatorname {rank} q and V\mathbf{V} is a known n×nn \times n positive-definite matrix. Let θ∗\mathbf{\theta }^{*} be the generalized least squares estimate of θ\mathbf{\theta }; that is, θ∗\mathbf{\theta }^{*} minimizes (Y−θ)TV−1(Y−θ)(\mathbf{Y}-\mathbf{\theta })^{T} \mathbf{V}^{-1}(\mathbf{Y}-\mathbf{\theta }) subject to Aθ=0\mathbf{A} \mathbf{\theta } = \mathbf{0}. Show that

Y−θ∗=VATγ∗ \mathrm{Y}-\mathbf{\theta }^{*} = \mathrm{VA}^{T} \mathbf{\gamma }^{*}

where γ~∗\tilde{\mathbf{\gamma }}^{*} is the generalized least squares estimate of γ\mathbf{\gamma } for the model E[Y]=VATγ,Var⁡[Y]=σ2V\mathbb {E}\left[\mathbf{Y}\right] = \mathbf{V A}^{T} \mathbf{\gamma }, \operatorname {Var}\left[\mathbf{Y}\right] = \sigma^{2} \mathbf{V}.

?

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be independent random variables such that for i=1,2,…,ni = 1,2, \ldots , n,

E[Yi∣X=xi]=β1xi \mathbb {E}\left[Y_{i} \mid X = x_{i}\right] = \beta _{1} x_{i}

and

Var⁡[Yi∣X=xi]=σ2wi−1(wi>0) \operatorname {Var}\left[Y_{i} \mid X = x_{i}\right] = \sigma ^{2} w_{i}^{-1} \quad \left(w_{i} > 0\right)
?
(a)

If the conditional distribution of YY given xx is the Type III (scaled gamma) distribution,

f(y∣x)=1axpΓ(p)yp−1exp⁡(−y/ax)0≤y<∞,p>0 f(y \mid x) = \frac{1}{a_{x}^{p} \Gamma (p)} y^{p-1} \exp \left(-y / a_{x}\right) \quad 0 \leq y < \infty , \quad p > 0

where αx\alpha_{x} a function of xx, and wi−1=xi2w_{i}^{-1} = x_{i}^{2}, prove that the maximum likeithood estimate of β1\beta_{1} is also the weighted least squares estimate.

(b)

If the conditional distribution of YY given xx is Poisson, and wi−1=xiw_{i}^{-1} = x_{i}, show that the maximum likelihood estimate is just the weighted least squares estimate.

Given the regression line

Yi=β0+β1xi+εi(i=1,2,…,n) Y_{i} = \beta _{0}+\beta _{1} x_{i}+\varepsilon _{i} \quad (i = 1,2, \ldots , n)

where the εi\varepsilon_{i} are independent with E[εi]=0\mathbb {E}\left[\varepsilon_{i}\right] = 0 and Var⁡[εi]=σ2xi2\operatorname {Var}\left[\varepsilon_{i}\right] = \sigma^{2} x_{i}^{2}, show that weighted least squares estimation is equivalent to ordinary least squares estimation for the model

Yixi=β1+β0xi+δi. \frac{Y_{i}}{x_{i}} = \beta _{1}+\frac{\beta _{0}}{x_{i}}+\delta _{i} .
?

If the first column of X\mathbf{X} is 1n\mathbf{1}_{n} and

V=(1−ρ)In+ρ1n1nT(0≤ρ<1) \mathbf{V} = (1-\rho ) \mathbf{I}_{n}+\rho \mathbf{1}_{n} \mathbf{1}_{n}^{T} \quad (0 \leq \rho < 1)

use (9.8) to show that

E[S2]=σ2(1−ρ) \mathbb {E}\left[S^{2}\right] = \sigma ^{2}(1-\rho )

Hint: Consider P1n\mathbf{P 1}_{n}.

?

When Var⁡[ε]=σ2V\operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathbf{V}, the appropriate estimate of β\mathbf{\beta } is the generalized least squares estimate β∗=(XTV−1X)−1XTV−1Y\beta * = \left(\mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{X}\right)^{-1} \mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{Y}. If C(V−1X)=C(X)\mathcal{C}\left(\mathbf{V}^{-1} \mathbf{X}\right) = \mathcal{C}(\mathbf{X}), show that β∗\mathbf{\beta }^{*} and β^\widehat{\mathbf{\beta }} are identical. Hint: V−1X=XW\mathbf{V}^{-1} \mathbf{X} = \mathbf{X W}, where W\mathbf{W} is nonsingular.

?

An experimenter wishes to estimate the density dd of a liquid by weighing known volumes of the liquid. Let YiY_{i} be the weight for volume xi(i=1,2,…,n)x_{i}(i = 1,2, \ldots , n) and let E[Yi]=dxi\mathbb {E}\left[Y_{i}\right] = d x_{i} and Var⁡[Yi]=σ2f(xi)\operatorname {Var}\left[Y_{i}\right] = \sigma^{2} f\left(x_{i}\right). Find the least squares estimate of dd for the following cases:

?
(a)

f(xi)≡1f\left(x_{i}\right) \equiv 1.

(b)

f(xi)=xif\left(x_{i}\right) = x_{i}.

(c)

f(xi)=xi2f\left(x_{i}\right) = x_{i}^{2}.

Let Yi=β0+β1xi+εi(i=1,2,3)Y_{i} = \beta_{0}+\beta_{1} x_{i}+\varepsilon_{i}(i = 1,2,3), where E[ε]=0,Var⁡[ε]=σ2 V\mathbb {E}\left[\varepsilon \right] = 0, \operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathrm{~ V} with

V=[1ρaρρaa2ρaρρa1],(a,ρ unknown ) V =\left[\begin{smallmatrix} 1 & \rho a & \rho \\ \rho a & a^{2} & \rho a \\ \rho & \rho a & 1 \end{smallmatrix}\right], \quad (a, \rho \text{ unknown })

and x1=−1,x2=0x_{1} = -1, x_{2} = 0, and x3=1x_{3} = 1. Show that the generalized least squares estimates of β0\beta_{0} and β1\beta_{1} are

(β0∗β1∗)=(r−1{(a2−aρ)Y1+(1−2aρ+ρ)Y2+(a2−aρ)Y3}−12Y1+12Y3) \binom {\beta _{0}^{*}}{\beta _{1}^{*}} = \binom {r^{-1}\left\{ \left(a^{2}-a \rho \right) Y_{1}+(1-2 a \rho +\rho ) Y_{2}+\left(a^{2}-a \rho \right) Y_{3}\right\} }{-\frac{1}{2} Y_{1}+\frac{1}{2} Y_{3}}

where r=1+ρ+2a2−4aρr = 1+\rho +2 a^{2}-4 a \rho. Also prove the following:

?
(a)

If a=1a = 1, then the fitted regression Yi∗=β0∗+β1∗xiY_{i}^{*} = \beta_{0}^{*}+\beta_{1}^{*} x_{i} cannot lie wholly above or below the values of YiY_{i} (i.e., the Yi−Yi∗Y_{i}-Y_{i}^{*} cannot all have the same sign).

(b)

If 0<a<ρ<10 < a < \rho < 1, then the fitted regression line can lie wholly above or below the observations.

If X\mathbf{X} is not of full rank, show that any solution β\mathbf{\beta } of XTV−1Xβ=XTV−1Y\mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{X} \mathbf{\beta } = \mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{Y} minimizes (Y−Xβ)TV−1(Y−Xβ)(\mathbf{Y}-\mathbf{X} \mathbf{\beta })^{T} \mathbf{V}^{-1}(\mathbf{Y}-\mathbf{X} \mathbf{\beta }).

?

Let Yi=βxi+ui,xi>0(i=1,2,…,n)Y_{i} = \beta x_{i}+u_{i}, x_{i} > 0(i = 1,2, \ldots , n), where ui=ρui−1+εiu_{i} = \rho u_{i-1}+\varepsilon_{i} and the εi\varepsilon_{i} are independently distributed as N(0,σ2)N\left(0, \sigma^{2}\right). If β^\widehat{\beta } is the ordinary least squares estimate of β\beta, prove that Var⁡[β^]\operatorname {Var}\left[\widehat{\beta }\right] is inflated when ρ>0\rho > 0.

?

Suppose that

Xi=ρti+εi,i=1,…,n, X_i=\rho t_i+\varepsilon _i,\quad i=1,\ldots ,n,

where ρ∈R\rho \in \mathbb {R} is an unknown parameter, tit_i's are known and in (a,b)(a,b), aa and bb are known positive constants, and εi\varepsilon_i's are independent random variables satisfying E[εi]=0\mathbb {E}\left[\varepsilon_i\right]=0, E[∣εi∣2+δ]<∞\mathbb {E}\left[\left|\varepsilon_i\right|^{2+\delta }\right]<\infty for some δ>0\delta >0, and Var⁡[εi]=σ2ti\operatorname {Var}\left[\varepsilon_i\right]=\sigma^2t_i with an unknown σ2>0\sigma^2>0.

  1. Obtain the LSE of ρ\rho.

  2. Obtain the BLUE of ρ\rho.

  3. Show that both the LSE and BLUE are asymptotically normal and obtain the asymptotic relative efficiency of the BLUE with respect to the LSE.

?
Remark.
?

Corresponding exercise in Shao (2003): 3.85.

References

[ГПП12] Горяинова Е.Р., Панков А.Р., Платонов Е.Н. Прикладные методы анализа статистических данных. Издательский дом Высшей школы экономики, 2012.
[ЖРШ16] Жуковский М.Е., Родионов И.В., Шабанов Д.А. Введение в математическую статистику. МФТИ, 2016.
[SeLe03] Seber G.A., Lee A.J. Linear Regression Analysis. 2nd ed., John Wiley & Sons, 2003.
[Sha05] Shao J. Mathematical Statistics: Exercises and Solutions. Springer, 2005.