On Wed, 20 Jan 2021, Artur Bala wrote:
Dear all,
I realized that WLS estimation results in gretl are different from those
in Stata
in the case when observations with weight=0 do exist.
Now, in gretl, the mechanics of the algorithm drops these observations
from the estimation process. And indeed, both Stata and gretl report the
same
number of observations (ie. observations actually involved in computing)
with gretl
giving addtional info on dropped observations.
Consequently, gretl doesn't provide postestimation values on these
dropped
observations (uhat, yhat)...but Stata does!!! And I struggle to
understand the logic
behind Stata's proceeding and how it affects the estimates...
Could you post a short example script showing the differences? Thanks.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------