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

  1. Estimate the original model by OLS, and save the residuals
  2. Use the least squares residuals and the variables to estimate
  3. Calculate the estimated skedastic function where
  4. Divide each observation by and apply OLS to the transformed data, or use WLS regression with weighting factor