Hello Stata users;
I'm using the 13.1 version of Stata. I do have this data at hand:
It is about the evolution of the American GDP for a short period. The first variable is the date of the observation, the second variable is the value of the GDP (in %) in that date.
The idea is to transform the "Date" variable into a time date in order to draw a time graph of the evolution of the GDP by date.
Any help with that please?
With many thanks!
I'm using the 13.1 version of Stata. I do have this data at hand:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str7 Date float GDP "31-janv" 2.9 "28-Feb" -1.5 "17-mars" -2.1 "18-mars" -1.8 "20-mars" -1.7 "25-mars" -1.9 "26-mars" -1.8 "28-mars" -2.8 "1-Apr" -3.7 "2-Apr" -3 "3-Apr" -2.8 "4-Apr" -2.4 "9-Apr" -2.4 end
The idea is to transform the "Date" variable into a time date in order to draw a time graph of the evolution of the GDP by date.
Any help with that please?
With many thanks!
Comment