Hi everyone,

I am using the command inequaly to compute the Gini coefficients with standard error estimates and bootstrapping on them. Everything works perfectly for all countries but one.
Using the loop I realize that this country is the last one, coded as 57. Running the code on this single country as
Code:
 inequaly equivalized_hi [pw=rg002] if country==57 & wave==8
I got the following message:
estimation sample not in memory
invalid syntax
r(198);
I also try the option e(sample), but the same result is obtained. If I remove the weights it works perfectly, but I do not have any problem with the weight I am using, in the sense that all observations have their own weight and I cannot understand what could be the problem. Does anyone have any suggestion?
Thank you