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, statalist.org is already up and running.


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

st: Fwd: AIDS model price index


From   Stefano Verde <verdes@tcd.ie>
To   statalist@hsphsun2.harvard.edu
Subject   st: Fwd: AIDS model price index
Date   Wed, 8 Sep 2010 17:51:56 +0100

Hello,

I have estimated an AIDS model by adapting Poi's code, which I found in the
stata 10 manual ("nlsur" command).

The problem is the following: Poi's program uses a temporary variable,
"lnpindex"; now, I would like to use the values of the latter for my
own calculations, but this is not possible as "lnpindex"
is indeed a temporary variable.

How can I overcome this? I'd imagine that I'd need to define
"lnpindex" as a global macro, instead of a temporary variable.
However, first I'm not sure if this is correct and then, even if it
was, I wouldn't know how to modify the code accordingly.

Any help? That would be greatly appreciated.

Sincerely,
Stefano Verde
*
*   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/


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