Code:
AUS_inflation CAN_inflation USA_inflation AUS_gdp, CAN_gdp USA_gdp
There are about one hundred countries and fifty such variables. What I need is to rename all variables by replacing the underscore ( _ )with a dot . That should look like
Code:
AUS.inflation, USA.inflation, CAN.inflation AUS.gdp CAN.gdp USA.gdp
Code:
foreach var in AUS_inflation- USA_gdp{
gen D`var'= D.`var'
}Best
Giorgio
No comments:
Post a Comment