Statalist


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

Re: st: How to implement Wald estimator (for IV that is a ratio of coefficients)?


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to implement Wald estimator (for IV that is a ratio of coefficients)?
Date   Mon, 12 Oct 2009 06:49:20 +0000 (GMT)

--- On Sun, 11/10/09, Misha Spisok wrote:
> I attempted to use doubles in the code you provided, e.g.,
> local double b1=_b[nearc4]

That won't work, if you want to store a single number in 
double precision you'll have to type:

tempname b1
scalar `b1'=_b[nearc4]

After that you can use `b1' just as you would a local.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


Send instant messages to your online friends http://uk.messenger.yahoo.com 

*
*   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   |   What's new   |   Site index