I have 3 variable
variable year with value from 2000-2010
variable quarter with value from 1-4
variable country with the name of the country
i use the command like this
Code:
gen time = yq(year,quarter)
format time %tq
encode country, gen(name)
xtset name time

correct, right ?