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

st: RE: RE: RE: How "sort" and "by" behave


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: How "sort" and "by" behave
Date   Mon, 18 Aug 2003 20:10:20 +0100

By the way, I checked:

genl prevcheck`X'=moa`X'[_n-1] if tag`X'==1 , by(site subject (rnum))

is legal, but _doesn't_ have the interpretation you
would wish. The parentheses get stripped on entry, so to speak,
and lose their special meaning.

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

> -----Original Message-----
> siyama@who.int
>
> I  will refrain from
> using "genl" for now and stick with the more certain
> "bysort..:gen...".  My
> habit of using "genl" is just to tag "working" variables that I will
> eventually drop out of my permanent files.

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