Dear all,
I have my date variable in the following string format 201501, 201502, 201503, etc..
I would like to generate a date variable. I have been using the following command gen month=monthly(date,"YM"). However, I am just getting a sequence of missing values.
Do you know where the problem lies?
Many thanks in advance!
Francisco
Related Posts with Generate date variable from string monthly data
Sorting Variables based on their valuesHello everyone, I am currently working on a panel data set where I have to create dummy variables b…
Panel Data - Keeping Observations when using a Difference in Difference ApproachI have UK panel data from the British Household Panel Survey and Understanding data, covering 2000-2…
teffects: observations have no propensity-score matches within caliperHi everyone, I am currently working on a project where I want to use STATA command teffects rather …
85th/15th quantile ratioDear all, I would like to calculate the 85th/15th quantile ratio of earnings by years. However, in…
Inpreting multilevelHello statalist, I have a problem interpreting my meoprobit outcomes, can anyone help me to do it. T…
Subscribe to:
Post Comments (Atom)
0 Response to Generate date variable from string monthly data
Post a Comment