Hello
I am working with multiple databases that correspond to different countries and years, I need to make a loop that can open and modify all databases. The names of the databases follow the rule XXYYAAAA.dta where XX is the country code, YY is the database code and AAAA is an almost random code. I was able to make a loop that generates all the combinations of XXYY. Is there a way that I can open the different databases using only the XXYY code?
Thank you very much.
Related Posts with Read multiple databases with loops
Sensitivity analysis for Meta-analysisI am new in STATA 16.0 How could I run sensitivity analysis for meta-analysis using STATA? …
Residual centering (i.e., orthogonalizing)Hello All stata list members, How can i do it in stata if my two variables are x1 ,x2 and its Produc…
Include Dummy variable in Time Series Analysis, analyze subsamplesHello, I am currently analyzing the relationship between consumption and income and I have quarterl…
xtserial and xttest2Hello, I am running a panel regression using xtreg, fe with an unbalanced dataset (small T, large N…
Diff-in-Diff-in-Diff (DDD) using multiple countries and time periodsHello, I am trying to understand how to perform a Diff-in-Diff-in-Diff (DDD) in Stata as explained …
Subscribe to:
Post Comments (Atom)
0 Response to Read multiple databases with loops
Post a Comment