encodecountry, gen(country) xtset countrycode year bycountrycode: ipolate KOFGI year,gen(RESULT) epolate