Definition
FGLS estimates the structure of the conditional variance and corrects the heteroskedasticity in the data.
Algorithm
Assume that the variance of the data is following the structure and
- Estimate the original model by OLS, and save the residuals
- Use the least squares residuals and the variables to estimate
- Calculate the estimated skedastic function where
- Divide each observation by and apply OLS to the transformed data, or use WLS regression with weighting factor