generalized least squares (GLS) is a technique for estimating the unknown parameters in a linear regression model. GLS (Generalized least Squares) STATA
https://www.youtube.com/watch?v=8uvtsURpW3g