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" <>
To   <>
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.


> -----Original Message-----
> 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:

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