[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: what's wrong with this statement?

From   Jeph Herrin <[email protected]>
To   [email protected]
Subject   st: what's wrong with this statement?
Date   Tue, 23 Sep 2008 14:15:51 -0400

I've done this many times (in the past) to identify duplicate records;
I've typed and retyped this several times. What's going wrong?

. bys faccode pat_mrn admit_datetime discharge_datetime: gen dups=_N

. tab dups
variable dups not found

Notice, the first line does NOT produce an error. However, it also
does not produce a new variable!

Thanks in advance for pointing out what must be an obvious error.


*   For searches and help try:

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