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
Collinearity in DID modelDear friends, I met the collinearity problem in DID model. I selected the sample who did not enter …
Pr-testHello I hope you can help me with something to my bachelor thesis. I want to make a pr test to compa…
SortI think this is a simple question. I have a categorical variable (85 departments) in a long data set…
IV with dummy variableDear all, I am trying to run this model: Array Where i is individual i, in strata s, and time t. …
Syntax error in estoutI am producing tables using estout but even though the code creates a row for them, it won't produce…
Subscribe to:
Post Comments (Atom)
0 Response to Read multiple databases with loops
Post a Comment