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
matching the x/y coordinates of flats/houses to a environmental noise mapMy aim is to match the x/y coordinates of flats to a environmental noise map. The latter is segmente…
Reshape Wide to Long Data with Linked VariablesHello, I hope everyone had a nice Christmas and a good start to the New Year. I apologize in advan…
String and dummy variableI am trying to create a dummy variable that indicates whether each discharge involves readmission. I…
Stepped wedge cluster randomised trial analysisI was wondering if anyone could help and/or direct on how to approach the data from a stepped-wedge …
Bootstrap and Fisher's exact testHi everyone, I am kind of new to the forum. I have a question relates to resampling and Fisher's exa…
Subscribe to:
Post Comments (Atom)
0 Response to Generate date variable from string monthly data
Post a Comment