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

From |
Christopher Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Re: saving memory local vs usual variable |

Date |
Tue, 7 Oct 2008 14:42:48 -0400 |

< >

scalars: r(N) = 74 r(sum_w) = 74 r(mean) = 6165.256756756757 . local mu = r(mean) . di "`mu'" 6165.256756756757 You can even do arithmetic: . local mu = `mu' + 1 . di "`mu'" 6166.256756756757

Kit Baum, Boston College Economics and DIW Berlin http://ideas.repec.org/e/pba1.html An Introduction to Modern Econometrics Using Stata: http://www.stata-press.com/books/imeus.html On Oct 4, 2008, at 2:33 AM, Eva wrote:

Note also the availability of scalars (-help scalar-) which can save numbers in higher precision than local macros.

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

**Follow-Ups**:**Re: st: Re: saving memory local vs usual variable***From:*"Eva Poen" <eva.poen@gmail.com>

- Prev by Date:
**st: Re: saving memory local vs usual variable** - Next by Date:
**Re: st: probit; missing standard error** - Previous by thread:
**st: Re: saving memory local vs usual variable** - Next by thread:
**Re: st: Re: saving memory local vs usual variable** - Index(es):

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