Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Moving-windows (mvsumm)


From   Solon Moreira <sm.ino@cbs.dk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Moving-windows (mvsumm)
Date   Mon, 30 Jul 2012 14:52:28 +0200

Dear Statalist,

I am trying to calculate the number of inventor dyads within firms. Accordingly, I need to drop dyad duplicates within a 4-years moving window. I already removed dyad duplicates within a year by using the minID/maxID approach proposed by Nick. I generate then moving windows with the mvsumm command to count to the total number of dyads within 4 years moving window. However, there are of course dyad duplicates within the moving window. And this mvsumm command is only possible without same year observations.  

Would someone have a suggestion about how I could deal with this issue?

Best,

Solon Moreira



*
*   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   |   Site index