Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Ado File Help

Subject   st: Ado File Help
Date   Fri, 18 Feb 2005 08:32:42 -0500

Dear Statalisters,

      I have been trying off and on for about a month now to get an
(user-written) ado file to work without error.  It is the only command, to my
knowledge, that will do what I need.  I'm getting exceedingly frustrated as my
programming skills are not sufficient to fix what are probably elementary
issues.  First I was getting an error mentioned in a previous request to
Statalist - that the post command had been moved from estimates to ereturn-.
With your (Statalisters) help, I came to realize that a command had been edited
with the change in Stata version, from 7 to 8.  I have recently tried to edit
this ado file to either change the version or change the command from
-estimates- to -ereturn- (this was another question of Statalisters), only to be
told that either it has a problem implementing the program with the original
dataset (????) or that 'resid1' had already been defined.  In looking at the
program in WordPad resid1 is never mentioned!!!!  -Predict resid- is mentioned
several times but I don't know enough about coding to know if this is an issue.
I know that if you attempt to -generate- or -predict- a variable that is already
defined, Stata will give you an error like this but I find it hard to believe
that a person that could author such a code would make such a trivial mistake.
Oh, and I have tried to locate this author - to no avail.  So....I'm desperately
hoping that someone out there that is programming savvy will take pity on me and
take a look to try to help me resolve these issues.   Anyone willing to help can
e-mail me at or  I'll send you the
file, or I can post the text in an e-mail for you - whichever you prefer.

Thanks much, in advance.  Have a great weekend everyone.

April M. Knill
Consultant, Finance Research Group
The World Bank Group
Mail Stop MC3-300
1818 H Street, NW
Washington, DC 20433
*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index