You might try putting -version 6- (or -version 7- (?)) after the program
statement:
program dprobclu2
version 6
...
The version control allows old programs to run correctly under more recent
versions of Stata.
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of [email protected]
> Sent: Monday, February 07, 2005 12:58 PM
> To: [email protected]
> Subject: st: Re: editing adofiles
>
> Kit,
>
> I asked this question not to edit a Stata-written command. It was
> instead
> -dprobclu2-, a user-written command. I'm not a programmer and would love
> to
> avoid having to do this. In trying to use this command, however, I was
> getting
> an error that says 'the subcommand post has been moved from estimates to
> ereturn.' This apparently means that some of the commands in the code
> have been
> altered and are thus problematic to utilizing this user-written command
> (Stata
> stops when this error occurs). To get dprobclu2 to work I need to change
> this
> in the command. I have tried to locate the author of this command with no
> luck
> so I am left to try to alter it myself.
>
> Regards,
>
> April M. Knill
> Consultant, Finance Research Group
> The World Bank Group
> Mail Stop MC3-300
> 1818 H Street, NW
> Washington, DC 20433
> 202.458.8699
> *
> * 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/
*
* 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/