I have been running some binary logit regressions then using margins for fitted probabilities, and suddenly started getting an error message for one variable, 'sex'.
sex ambiguous abbreviation
r(111);
There are no similarly named variables.
I renamed it as 'gender' and got the same error message for that variable.
Updated software, same problem.
Checked statalist and tried the following:
. set varabbrev off, perm
Tried again, same problem.
This is a nice clean binary variable from a national survey dataset, and there were no problems with it previously during analysis.
Here is my code and the error message:
. quietly: logit unemp i.birtheth3 i.ageband20 i.recent10 i.degree sex i.sex#i.birtheth3 i.degree#i.birtheth3
. margins birtheth3, at(degree=1 sex=1)
sex ambiguous abbreviation
r(111);
Hope someone has some advice.
sex ambiguous abbreviation
r(111);
There are no similarly named variables.
I renamed it as 'gender' and got the same error message for that variable.
Updated software, same problem.
Checked statalist and tried the following:
. set varabbrev off, perm
Tried again, same problem.
This is a nice clean binary variable from a national survey dataset, and there were no problems with it previously during analysis.
Here is my code and the error message:
. quietly: logit unemp i.birtheth3 i.ageband20 i.recent10 i.degree sex i.sex#i.birtheth3 i.degree#i.birtheth3
. margins birtheth3, at(degree=1 sex=1)
sex ambiguous abbreviation
r(111);
Hope someone has some advice.
Comment