Please help me.
I have data from 97 countries, and for each country, I have variables gdpcap1980, gdpcap1981, to gdpcap2022. I want to transform all of the data to logarithmic. Instead of using ln_gdpcapyyyy=ln(gdpcapyyyy) for each year manually, is there any more convenient way?
I have data from 97 countries, and for each country, I have variables gdpcap1980, gdpcap1981, to gdpcap2022. I want to transform all of the data to logarithmic. Instead of using ln_gdpcapyyyy=ln(gdpcapyyyy) for each year manually, is there any more convenient way?

Comment