Hi,
I have been struggling with getting the right format on dates for a while now. I have downloaded everything from freduse in quarterly data, but somehow when I try to get the variable daten to show the date as YQ it messes up.
Every observation is quarterly, but somehow it was originally stored as daily format giving my the values for example:
daten
01apr1947 01jul1947
01oct1947
And so on.
When i try to change the format using this
it changes to:
daten
0795q3
0818q2
0841q2
The first one in daily format is readable and possible to work with, the problem however is that I need to merge this statafile to another that has the formating in YQ, and i am not able to merge those two files. Does anyone know what I can do to fix this?
I have been struggling with getting the right format on dates for a while now. I have downloaded everything from freduse in quarterly data, but somehow when I try to get the variable daten to show the date as YQ it messes up.
Every observation is quarterly, but somehow it was originally stored as daily format giving my the values for example:
daten
01apr1947 01jul1947
01oct1947
And so on.
When i try to change the format using this
Code:
format %tq daten
daten
0795q3
0818q2
0841q2
The first one in daily format is readable and possible to work with, the problem however is that I need to merge this statafile to another that has the formating in YQ, and i am not able to merge those two files. Does anyone know what I can do to fix this?

Comment