Hi all,

Below is a few observations of my large panel data set I got after linking several data together. My question is about variable mth , type int. I thought it is internal stata format for time. but now I am not sure.

Code:
clear
input int mth str5 ticker
285 "A" 
286 "A" 
287 "A" 
312 "A" 
313 "A" 
314 "A" 
315 "A" 
317 "A" 
318 "A" 
end
What I need is to generate a year variable out of this mth variable.

I thought mth is a SIF time, because in the earlier merging process across 3 stata data, I used

Code:
gen mth=month(date)   // I assume this is a month stored SIF time
to generate this variable, and used it in merging process.


Please let me know if a year variable can be created from mth.

Thank you,

Rochelle