Whoa! Who knows what programs unknown to
them use -_genx- and will thereby be clobbered?
Better to clone -_genx- and make
the resulting -genx- program a subroutine
of -dfl-, in the same file.
Nick
[email protected]
jean ries
> Daniel Lawson wrote :
> > When I tried the command on a data set I have as follows:
> > . dfl female age1 age2 age3 age4 black edu1 edu2 edu3 edu4
> edu5 extract
> > manufacture if manager==0, outcome(lnw)
> >
> > I got the error message
> > unrecognized command: _genx not defined by _genx.ado
>
> I had the same problem. The following recipe should do the
> job. Find the
> file named "_genx.ado" and open it in a text-editor. Change the line
>
> program define genx
>
> into
>
> program define _genx
>
> and save the file. If Stata is currently running, type
> -discard- after you
> have done the changes.
>
> If you don't know where to find the file "_genx.ado", type
> -adopath- and
> look for the path that is labelled (PLUS). At that place you
> will find a
> directory called "_" in which you will find the file.
*
* 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/