I'm trying to run a Generalized Least Squares Regression in Stata. I put quotes in the title, because this is how it is referred into the Finance literature (for example a textbook: Cochrane (2005) "Asset Pricing"), but I'm getting the impression that GLS may mean different things in different contexts.
Here is the model:
Cross Section Data
Regression: Y = X'B + e
where:
B = (X'S-1X)-1X'S-1Y
where: S = cov(ee')
With some explanation:
A GLS regression can be understood as a transformation of the space of returns, to focus attention on the statistically most informative portfolios. Finding (say, by Choleski decomposition) a matrix C such that CC' = S-1 the GLS regression is the same as an OLS regression of CY on CX.
Sorry, if I am crazy. When I look for GLS, I see feasible GLS, which seems different. Perhaps, I have the wrong terminology.
Here is the model:
Cross Section Data
Regression: Y = X'B + e
where:
B = (X'S-1X)-1X'S-1Y
where: S = cov(ee')
With some explanation:
A GLS regression can be understood as a transformation of the space of returns, to focus attention on the statistically most informative portfolios. Finding (say, by Choleski decomposition) a matrix C such that CC' = S-1 the GLS regression is the same as an OLS regression of CY on CX.
Sorry, if I am crazy. When I look for GLS, I see feasible GLS, which seems different. Perhaps, I have the wrong terminology.
Comment