Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: problem with nlsur quaids
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Re: problem with nlsur quaids
Date
Fri, 14 Oct 2011 00:08:34 +0100
You have a bug. This is not enough information for me to have any idea
what it is.
Experienced coders can spot typos and syntax errors but this sounds
more like a logic error.
Generically, you debug by using -set trace on- and looking at the
output. At each stage you need to think through what Stata knows at
this point. Also, staring at the code only gets you so far. You need
to look at the data just before the program stops. You need to insert
statements to print out what Stata has just calculated and so forth.
Nick
On Thu, Oct 13, 2011 at 11:49 PM, minti
<[email protected]> wrote:
> Thanks Jorge and Nick. That problem is gone now and I have now an error
> message sayinng :[b1] not found. Another thing, I have run the equivalent
> AIDS model (without the elasticities of course). Do I use the same code for
> elasticities? by removing the terms that are related to bp?
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/