I had replaced my dataset with log(x) function once I was told not to work with such large numbers in my regression. However, now I need some of my original values that have not been saved--huge mistake!
Basically I started off like this:
replace population = log(population)
rename population logpopulation
And now I've tried "generate population2 = exp(logpopulation)"
However, the numbers do not look right. Is there another formula to reverse the log function?
Basically I started off like this:
replace population = log(population)
rename population logpopulation
And now I've tried "generate population2 = exp(logpopulation)"
However, the numbers do not look right. Is there another formula to reverse the log function?
Comment