I am looking at consolidating data from CRSP for companies with the same parent company. To do this, I am aggregating data under a group ID variable for a long list of variables.I have uploaded a do file of the code I am running because the macrolist is quite long. I am getting the error 'varlist required' for the loop which I assume is because the long local macro in the first part of the code is wrong somewhere. Any help would be greatly appreciated.
Related Posts with Long Macrolist for a loop
Instrumental Variable, combining datasets Hello, I am using an instrumental variable for trade openness to analyze the effect of trade openn…
How do I choose which dummy variable to omit when I have dummies in the form i.variableHello, I have split up my independent variable of interest into quantiles where the first quantile …
statistical test and regressionHello everyone, I have a time series dataset spannig from 1950 to 2018. I also have a dummy variable…
Adjusting the dataset to create a Panel Data AnalysisHello everybody, I have probably a rather simple question, but I still spent hours to solve it, so …
Expand data based on a time variable & extract information in panel dataDear Statalisters, Below is my data (show the two five records), which includes gender, begin date …
Subscribe to:
Post Comments (Atom)
0 Response to Long Macrolist for a loop
Post a Comment