Dear All,
I have a panel monthly dataset (id and month), from 2001 - 2018, and I need 10 year (120 months) continuous obs to run regression.
Is there a way to find out which 10-year period has the most matching obs from 2001 - 2018?
For example, if there are 200 id that has 120 continuous monthly data from 2003 - 2012, and 300 id that has 120 continuous monthly data from 2004 - 2013. Then I will choose 2004 - 2013 as my regression period.
Thanks in advance.
Related Posts with Sample Extraction
marginal effects multinomial logit modelAfter the estimation, I used margins, dydx(*) command to compute the marginal effect,, I then use ou…
Generate random value stataDear collegues, I'm working on a consumer survey. In this survey, we asked to consumers to rank the…
Importing dataHi all, I have a folder x containing about 46 .xlsx sheets with unnecessarily long names eg xxxxx yy…
Hausman test is failingDear community members, With reference to thread https://www.statalist.org/forums/for...-of-i-categ…
eventstudy2: how to read carfile for BHAR modelHello everyone I have a quick question about significance test for BHAR model, using eventstudy2 f…
Subscribe to:
Post Comments (Atom)
0 Response to Sample Extraction
Post a Comment