I'm trying since a long while to change my daily data to business calendar data. According to the help sheet I've worked out a do-file which works for the test data given by stata, but unfortunately it creats nothing but missings using my own data.
My string time-variable is called "day" and rdate is meant for "regular date", bdate for "business date".
My code is:
Code:
generate rdate = date(day, "DMY") format rdate %td tsset rdate gen bdate = bofd("simple", rdate)
Greetings and thanks in advance for your help,
Nic
0 Response to Business Calendar
Post a Comment