Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: AW: Combining two financial reports in the same calendar year
From
"Martin Weiss" <martin.weiss1@gmx.de>
To
<statalist@hsphsun2.harvard.edu>
Subject
RE: st: AW: Combining two financial reports in the same calendar year
Date
Mon, 5 Jul 2010 18:47:37 +0200
<>
How does -isid- help here? Just leads to an error, b/c some groups have more
than one observation:
***********
use http://www.stata-press.com/data/r11/nlswork.dta
isid idcode
***********
HTH
Martin
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Montag, 5. Juli 2010 18:19
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: AW: Combining two financial reports in the same calendar
year
<sacrifice>
Nick
n.j.cox@durham.ac.uk
-----Original Message-----
From: Nick Cox
Sent: 05 July 2010 17:16
To: 'statalist@hsphsun2.harvard.edu'
Subject: RE: st: AW: Combining two financial reports in the same
calendar year
Also: -duplicates ... idcode-, -isid idcode-.
Nick
n.j.cox@durham.ac.uk
Martin Weiss
I do not think that your data setup is transparent to Statalisters, but
generally you can find out whether a nursing home is only represented
once
via
*************
use http://www.stata-press.com/data/r11/nlswork.dta
bys idcode: gen byte onlyonce=_N==1
ta onlyonce
*************
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/