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
Seemingly unrelated regression (sureg) & Testing for significant differences of a coefficient across more than two equationsI will use sureg (seemingly unrelated regression) to analyze my data. I need to test my coefficients…
Stata 15.1 close after exceeding the limit of scrollbufsizeI have noticed that the Stata suddenly close and loosing my unsaved do files. I think it is because …
Merging 2 datasets on overlapping period of timeI have a question related to merging two datasets on an overlapping period of time. I have found som…
Random effect logistic regressionHi everyone I have recently started to use Stata, and confused about how I should interpret the res…
checking the imputed valuesHi all, I have watched a video by chuck huber about multiple imputation. i want to know how to check…
Subscribe to:
Post Comments (Atom)
0 Response to Sample Extraction
Post a Comment