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]
st: How to record the first occurrence of the event?
From
Roxannie Wankel <[email protected]>
To
[email protected]
Subject
st: How to record the first occurrence of the event?
Date
Sun, 21 Oct 2012 17:58:28 +0800
how to record the first occurrence of the event?
A list of firms established one or several joint ventures in the
period of 1990-2009. I need to record the first joint venture that a
firm established witin three years.
For example,
Company A established a joint venture with Company B on Jan 5, 1991;
(joint venture 1)
Company A established another joint venture with Company C on Feb 9,
1993. (joint venture 2)
Company A established the third joint venture with COmpany D on Dec 5,
1994. (joint venture 3)
Company A establisehd the fourth joint venture with Company E on Dec
6, 2005 (joint venture 4)
Then I have to record the first and the fourth joint venture.
I should not record the second and the third one because the second
one is within 3 years of the first one; and the third one is within 3
years of the second one.
How can I use the STATA command to record these two joint ventures?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/