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
Retrieving data from online archive database and making it ready for STATA (CEDA Archive database) THERE MUST BE SOMEONE HERE WHO IS ABLE TO DO THIS Hi everyone, I'm in a bit of a pickle. I have …
Problem with number of instrument with xtabond2Hello everyone, I am just new to managing panel series and I am working on the investigation of fina…
Export adjusted ratios from dstdize commandDear all, Really appreciate if someone could kindly help me. I'm using Code: dstdize command to ca…
Necessary co-variate omitted due to collinearityHi everyone, I had a quick question. I am new to Stata, so please forgive me if this question seems…
Whether coefficients of before clustering and after clustering in using reg command is strange?Hi all, Today I run a simple reg for a panel dataset with a panel of units and time periods , I con…
Subscribe to:
Post Comments (Atom)
0 Response to Long Macrolist for a loop
Post a Comment