Statalist


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

re: st: AW: reshaping mixed monthly & annual data


From   Jon Schwabish <[email protected]>
To   [email protected]
Subject   re: st: AW: reshaping mixed monthly & annual data
Date   Wed, 14 Oct 2009 05:35:18 -0700 (PDT)

Martin asked for an example of the data. A simple example is copied below with one year of annual earnings in 1990 and benefit indicators for the first six months of 1990. 

input id y1990 b11990 b21990 b31990 b41990 b51990 b61990
1 100 200 300 1 0 0 0 0 0
2 200 300 400 0 0 1 0 0 0
3 300 400 500 0 0 0 0 0 1
4 400 500 600 0 0 0 1 0 0
5 500 600 700 0 1 0 0 0 0
end


Thanks,
jon


      

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