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

st: Ado File Help


From   aknill@worldbank.org
To   statalist@hsphsun2.harvard.edu
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 aknill@worldbank.org or aknill@rhsmith.umd.edu.  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
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/



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