Dear all,
I was trying to use foreach loop to rename variables, I wanted to names of the variables to be like Capacity1, Capacity2, Capacity3...How ever I got a error message as shown below:
Array
Will appreciate if I could get any help on this!
Thank you so much,
Craig
Related Posts with Foreach Loop to Rename Variable
Hausman Test issue: difference = 0 for every regressorI am dealing with panel data on 19 UK industries from 1997 to 2018. To test which estimator is most …
Panel data - removing individuals if criteria is not met in each yearHi. I have panel data from 2009-2016. I want to remove individuals from the data set if the variable…
IVtobit marginal effectsDear Listers, I am trying to estimate the marginal effects after running ivtobit. The following cod…
Interpreting pvarsoc command (optimal lag)I want to use a dynamic panel data model and I am trying to figure out what will be the optimal lag …
How to generate a variable that uses other variables when I have missing valuesI am trying to generate a variable (CSSD) for dispersion which is equal to the sum of the squared de…
Subscribe to:
Post Comments (Atom)
0 Response to Foreach Loop to Rename Variable
Post a Comment