Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Count number of observations in date range


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   RE: st: Count number of observations in date range
Date   Thu, 19 Apr 2007 15:30:26 -0500

The beginning of my message appears to have been cut.


FWIW:  with -pairplot- one could graph the overlap in event dates.

clear
input event start end
      1  16081 16108
      2  16081 16109
      3  16084 16092
      4  16091 16143
      5  16100 16105
      6  16109 16143
      7  16110 16110
end
pairplot start end, horiz xtitle(Event Date) ytitle(Events) ///
  lc(blue) lw(medthick) ms(O)  y2(ms(T))


Scott


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index