--- 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/