I have a problem with the command oaxaca_rif.
When I run the following code, it works well:
oaxaca_rif outstand_liability own edu employ has_ccard has_overdraft wealth income (type:normalize(dtype_*)) (Country:normalize(dcountry_*)) [pweight=weight],rif(gini) relax by(APP) swap w(1)
But if I add cluster, there report an error:
oaxaca_rif outstand_liability own edu employ has_ccard has_overdraft wealth income (type:normalize(dtype_*)) (Country:normalize(dcountry_*)) [pweight=weight],rif(gini) relax by(APP) swap w(1) cluster(id)
non ambiguous abbreviation
r(111);
It is very strange because I do not have any variable named "non". And previously (maybe one year ago) the line with cluster worked, but then now the same code is not working.
I have downloaded the latest version of "rif" package and I am using STATA SE 16.
Does anyone have any clues why this could happen? Many thanks in advance for the help!!
When I run the following code, it works well:
oaxaca_rif outstand_liability own edu employ has_ccard has_overdraft wealth income (type:normalize(dtype_*)) (Country:normalize(dcountry_*)) [pweight=weight],rif(gini) relax by(APP) swap w(1)
But if I add cluster, there report an error:
oaxaca_rif outstand_liability own edu employ has_ccard has_overdraft wealth income (type:normalize(dtype_*)) (Country:normalize(dcountry_*)) [pweight=weight],rif(gini) relax by(APP) swap w(1) cluster(id)
non ambiguous abbreviation
r(111);
It is very strange because I do not have any variable named "non". And previously (maybe one year ago) the line with cluster worked, but then now the same code is not working.
I have downloaded the latest version of "rif" package and I am using STATA SE 16.
Does anyone have any clues why this could happen? Many thanks in advance for the help!!
Comment