st: RE: eform in ML Display

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
--- E. Paul Wileyto wrote:
> So, I have a multi-equation likelihood, and I want to apply eform to all
> of the equations. Stata, by default, applies it only to the first. The
> help tells you that there is a way to do it, by changing the value of a
> scalar e(k_eform) to 3, but they stop short of actually telling you how
> to create or alter e(k_eform).
within your estimation program after you've called -ml maximize-, you should add a line:
ereturn scalar k_eform = 3
hope this helps,
Maarten
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/