Bookmark and Share

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" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: Montag, 5. Juli 2010 18:19
To: [email protected]
Subject: RE: st: AW: Combining two financial reports in the same calendar
year

<sacrifice> 

Nick 
[email protected] 

-----Original Message-----
From: Nick Cox 
Sent: 05 July 2010 17:16
To: '[email protected]'
Subject: RE: st: AW: Combining two financial reports in the same
calendar year

Also: -duplicates ... idcode-, -isid idcode-. 

Nick 
[email protected] 

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index