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
Mediation with panel data (Stata version 12)Dear all, I would like to do a mediation analysis with panel data. This is the first time I conduct…
clogit interaction termsHi, Please can you advise how to do this code correctly. I want to run the clogit command within a …
Fixed Effects - different results reporting from xtreg,fe and xi commandsWould it be possible for someone to outline how the two approaches I have used differ, and which is …
And/OrI could really need some help with a new variable. I have data on patients who had antibiotics and …
Plotting GraphGood day, Please.!!! I need help with regard to the following; 1. How to plot a U-shape graph and 2.…
Subscribe to:
Post Comments (Atom)
0 Response to Sample Extraction
Post a Comment