Hi to all!,
I have a question regarding my dataset. I digitized a historical book and I noticed that I made a mistake while coding months.
I coded as DDMMYYY to be able to use it in Stata. However, while converting from Julian calendar to the Gregorian calendar (translating from Turkish), I made a mistake and I coded Dec as Oct and Oct as Dec. Also I coded Jan as Nov and Nov as Jan.
For instance 01Dec2010 should have been 01Oct2010.
How should I correct this in Stata? Is there a code to apply all dates ?
Any help would be appreciated!
Thanks a lot
Related Posts with Changing month in date variable
Loop missingness at randomHi everyone, I'm trying to check whether my missing values are missing at random. I have 24 variabl…
Proportion VariableHello Statalisters, I have a dataset where I am trying to calculate the proportion variable represe…
Creating subsets from appended databaseI am interested in creating subsets from the appended dataset using uniquely identified ID. An examp…
Dropping Variables Based on Condition and in a LoopHello I need help learning how to drop a variable if one or more observations are greater than a num…
Request for second-opinion on Stata code and suggestion on how to see AAR per day (with t-stat)Second-opinion on Stata-code and request for suggestions on how to see AAR per day Hi all, Thank…
Subscribe to:
Post Comments (Atom)
0 Response to Changing month in date variable
Post a Comment