Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Re: problem with nlsur quaids

From   Nick Cox <>
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.


On Thu, Oct 13, 2011 at 11:49 PM, minti
<> 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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index