From | "Erik �. S�rensen" <[email protected]> |
To | [email protected] |
Subject | Re: st: Max likelihood programing and sub-routines |
Date | Mon, 27 Jan 2003 17:55:59 -0500 |
But I think the documentation mentions (it used to at least) that if the subroutine is to be called from outside the current ado file, it must also be a separate file. I think you can see that heckman is implemented this way in the ado/base hierarchy. The problem is that it is "ml" that is calling your palogit, not your complogit. Since "ml" is a separete program, it needs to be able to finde palogit, which has to be in a separate file.
Yet from the documentation and various examples, defining palogit at the bottom of the program would appear to be a valid means of defining a sub-routine. What am I doing wrong? Do I need to have palogit defined as a separate ado file (I really hope not for ease of distribution)?
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |