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
Counting Distinct Observations: number of new investments of specific VCs in an industry 5 years prior to the focal observationDear All, I am using Stata 15.0 I need to calculate how often a VC firm X (variable name: FirmName…
Comparing regression coefficients across groups in presence of fixed effectsHey I have some company data and i run a panel regression with firm fixed effects. I have a list of …
regression to estimate beta per companyHi, I'm quite new to stata and face a problem. I want to use a for loop to run through my variables…
Group categorical variables into a groupHello, for my Master thesis I am at the step of preparing the data to run a multinomial logit model…
collapsing the expanded rows keeping only oneHi I have expanded my data making 11 rows for some reasons as below. Now, I just want to keep one ro…
Subscribe to:
Post Comments (Atom)
0 Response to Long Macrolist for a loop
Post a Comment