<p>The Ω matrix is the matrix of the variance of the error term for each observation. Since we do not observe the true error term, we cannot find the true Ω, but we can try to estimate it.</p>

<p>There are different ways of estimating Ω, and there is some debate in econometrics as to which method is the best but the most common method I think would be to take the square of the observed error divided by (1-h) where h is the projection matrix of your matrix X.</p>

CC BY-SA 4.0
2020-04-16T23:40:57.690Z
2020-04-16T23:40:57.690Z
DeWitt
<p>From what I understand, we have our OLS estimator in matrix form which is, </p>

<p><span class="math-container">$$\beta_{OLS} = (X'X)^{-1}X'Y$$</span></p>

<p>What we want to do is transform this, as the assumption that we have constant variance is not met. So we take a vector, p, for which, </p>

<p><span class="math-container">$$\Omega = pp'$$</span></p>

<p><span class="math-container">$$\Omega= \begin{bmatrix}\sigma_1^2&amp;0&amp;...&amp;0\\0&amp;\sigma_2^2&amp;...&amp;\vdots\\\vdots&amp;\vdots&amp;\ddots&amp;0\\0&amp;...&amp;0&amp;\sigma_n^2\end{bmatrix}$$</span></p>

<p>The we use this to transform <span class="math-container">$\beta_{OLS}$</span> to get <span class="math-container">$\beta_{GLS}$</span> :</p>

<p><span class="math-container">$$\beta_{GLS} = (X'P^{-1}P^{-1}X)^{-1}X'P'^{-1}P'^{-1}P'y$$</span></p>

<p>My question is one to do with understanding, I don't get what p intrisically is, I get that it is being used to transform our estimate to obtain a variance term which meets the GM assumptions, but how would one actually go about finding what p is in a paractical sense?</p>

<p>Is the point of the <span class="math-container">$\Omega$</span> matrix to show what we are working to find, i.e. the actual variances?</p>

<p>Thank you. </p>

CC BY-SA 4.0
2020-04-16T22:18:58.757Z
Could you clarify the question a little more? Are you asking for an explicit way to estimate the matrix $\Omega$?
Walrasian Auctioneer
<econometrics><regression><heteroskedasticity>
Understanding General Least Squares
CorporateNationalism
# Understanding General Least Squares

(Asked by: username_0 on 2020-04-16)

From what I understand, we have our OLS estimator in matrix form which is,

$$\beta\_{OLS} = (X'X)^{-1}X'Y$$

What we want to do is transform this, as the assumption that we have constant variance is not met. So we take a vector, p, for which,

$$\Omega = pp'$$

$$\Omega= \begin{bmatrix}\sigma\_1^2&0&...&0\\0&\sigma\_2^2&...&\vdots\\\vdots&\vdots&\ddots&0\\0&...&0&\sigma\_n^2\end{bmatrix}$$

The we use this to transform $\beta\_{OLS}$ to get $\beta\_{GLS}$ :

$$\beta\_{GLS} = (X'P^{-1}P^{-1}X)^{-1}X'P'^{-1}P'^{-1}P'y$$

My question is one to do with understanding, I don't get what p intrisically is, I get that it is being used to transform our estimate to obtain a variance term which meets the GM assumptions, but how would one actually go about finding what p is in a paractical sense?

Is the point of the $\Omega$ matrix to show what we are working to find, i.e. the actual variances?

Thank you.

**Tags:** econometrics, regression, heteroskedasticity
> **Comments:**
> **username_1**: Could you clarify the question a little more? Are you asking for an explicit way to estimate the matrix $\Omega$?  

---

## 1 answers

### Answer by username_2 on 2020-04-16. Score: 1

The Ω matrix is the matrix of the variance of the error term for each observation. Since we do not observe the true error term, we cannot find the true Ω, but we can try to estimate it.

There are different ways of estimating Ω, and there is some debate in econometrics as to which method is the best but the most common method I think would be to take the square of the observed error divided by (1-h) where h is the projection matrix of your matrix X.


---

