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
Country and time fixed effectsHello everyone! I am pretty much new to Stata and wanted ask pretty simple questions that confuse m…
Merging survey data same variables in two separate files with different structureHello Members, I would like to seek your help on problem encountered in attempting to merge file co…
Summing across variables if observation equals a certain valueHi! I have the following data set (example seen below) - it contains 66 variables: 8 of these are h…
row means different?s …
Working with elixhauser codesI have a quick question. I have a dataset of hospitalizations for a cohort that I am trying to adjus…
Subscribe to:
Post Comments (Atom)
0 Response to Changing month in date variable
Post a Comment