Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: RE: RE: RE: Re: How to speed up loop


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: RE: RE: Re: How to speed up loop
Date   Fri, 17 Sep 2004 15:32:55 +0100

Common idioms like [_n - 1] show 
that expressions that vary with observation 
are OK. It may be that there are no examples 
with _variables_ in the manual or on-line help: 
counter-examples welcome. As implied, I imagined
I learned this from looking inside the code. 

Nick 
n.j.cox@durham.ac.uk 

Scott Merryman
 
> Nick and Ernest,
> 
> Thank you for the explanations.  I was under the impression that the
> explicit subscripting "function" would only evaluate numbers 
> or the built-in
> variables _n and _N.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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