Hi
I have a panel data set and want to automate the following routine:
I tried it with
However I receive the error "ambiguous abbreviation".
Please help, thank you.
I have a panel data set and want to automate the following routine:
Code:
replace yr2005 = yr2005*100 replace yr2006 = yr2006*100 etc.
Code:
foreach var of varlist y* {
replace y* = y*/1000000
}
Please help, thank you.

Comment