Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Question


From   "朱琦" <cs_thomaszhu@hotmail.com>
To   "statalist" <statalist@hsphsun2.harvard.edu>
Subject   st: Question
Date   Tue, 21 Apr 2009 14:05:17 +0800

Question

Dear Stata List!
 
I am working on a project that examines a firm's international strategic alliance (ISA).
 
In my huge dataset, I have around 2000 firms forming ISA between 01/01/1989- 0/01/1999. Each firm is likely to form multiple international strategic alliances during this period. 
For example: Firm A  forms the first strategic alliance on 01/02/1989; the second on 04/09/1990; the third on 06/09/1997.
 
What I need to record is the number of new strategic alliances that the firm forms within 5 years after the focal one. 
For firm A, the number of new strategic alliances that Firm A forms within 5 years is 1 corresponding to its first strategic alliance on  01/02/1989;
                 the number of new strategic alliances that Firm A forms within 5 years is 0 corresponding to  its second strategic alliance on 04/09/1990 ;
                the number of new strategic alliances that Firm A forms within 5 years is 0 corresponding to  its third strategic alliance on 06/09/1997;
 
As it is a huge dataset, I can't do it by hand. How can I do it by using STATA? Thanks! 



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index