Stata 8, -ml display- would just exponentiate all of the equations, causing
the user-programmer to use the -first- and/or -neq()- options.
In Stata 9, -ml- now looks for -e(k_eform)- to determine how many equations to
to exponentiate when one of the -eform()- type options are specified. This
feature was added to facilitate the bootstrap or jackknife variance estimation
tools.
If `neq' contains the number of equations in your model, then just add the
following line in your -gologit2- command:
...
ereturn scalar k_eform = `neq'
ereturn local cmd gologit2
You have pointed out that we didn't really document this.
Thank you, we will try to fix this omission soon.
There have been a couple of instances now where user-written programs have
been "broken" by Stata 9. Most of these seem to be post-estimation
commands, and hence you have to use version control on the original
estimation command to avoid the problem. In my case, you would think that
version control would have avoided the problem, but it didn't; but luckily
the fix was very simple.