[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: cumulative average moving through time
The command-line ``bysort pid (ob):gen cave = sum(calc)/ob'' was
exactly the sort of thing I had in mind when I said that I was sure
there was a more elegant way to produce the results. I ran both sets
of code, and both produce the same values for `cave'.
On Oct 6, 2004, at 2:59 PM, Daniel Egan wrote:
Oh, and thanks. I did not get to try Dan Lawson's code.
* For searches and help try: