I have county-wise unemployment data from 1990-2020. I want to create a YoY growth rate of unemployment for all counties. Does the following capture the growth rate?
sort fips year
by fips (year), sort: gen Unemp_RateChg = 100*(D.Unemp_Rate/L.Unemp_Rate),before(Unemp_Rate)
sort fips year
by fips (year), sort: gen Unemp_RateChg = 100*(D.Unemp_Rate/L.Unemp_Rate),before(Unemp_Rate)
Comment