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
Shannon-Weiner indexDoes anyone know how to caculate th Shannon -Weiner index using stata? …
95% BCa confidence interval for Cramers V with negative values - why?Hello, I tried to get a 95%-CI for Cramers V I calculated using the tabulate-command. I used bootst…
Loop going through distinct values of variable1 and replacing distinct string in variable2 per each iterationHi all, I have this kind of reproducible code: Code: clear set obs 10 gen str names = "" gen num…
"#delimit ;" combined with "*" produces no outputHello everyone I have a very simple frustrating problem, for which I found a solution I don't under…
Does a dynamic forecast from a VAR model with exogenous variables consider the values of the exogenous variables in its first forecastHi I have a VAR model with 4 endogeous variables, 2 exogenous variables and 1 lag. The code is as …
Subscribe to:
Post Comments (Atom)
0 Response to Sample Extraction
Post a Comment