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
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
Please let me know if a year variable can be created from mth.
Thank you,
Rochelle
0 Response to Convert SIF date to year
Post a Comment