sample command in panel
Posted: Tue Aug 04, 2015 4:33 am
Hi,
I'm using a dated panel with monthly observations and 2000 cross-sections (stocks). How can I "mark" certain cross sections by looking at a variable (e.g. market cap.>100) in one month, t, and take the same cross-sections in a sample command the next month, t+1, (even though their market cap. has for example decreased in month t+1 and would no longer fulfill the original if-condition from month t).
I hope I have been clear, I would very appreciate any help!
I'm using a dated panel with monthly observations and 2000 cross-sections (stocks). How can I "mark" certain cross sections by looking at a variable (e.g. market cap.>100) in one month, t, and take the same cross-sections in a sample command the next month, t+1, (even though their market cap. has for example decreased in month t+1 and would no longer fulfill the original if-condition from month t).
I hope I have been clear, I would very appreciate any help!