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/