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" <[email protected]>
To   <[email protected]>
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 
[email protected] 

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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index