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
Shading AUC on ROC curve?Is it possible to shade with color the area under the curve on an ROC curve in stata? I can't find a…
Joinpoint RegressionSTATALIST, I want to fit 6 regression models with 0,1,2,3,4,5 joinpoints (knots), but the location …
Barro Regression: 3SLS with panel dataHello! I am a student of a Master in Economics and I am new here but I hope that you can help me wit…
gen mean with if statementsI am fairly new to STATA, and need to create a moving average for my data. (I cannot use tsset for t…
Help create a person ID for panel dataDear Statalisters, I would like to ask for advice regarding creating person ID variables from a hou…
Subscribe to:
Post Comments (Atom)
0 Response to Changing month in date variable
Post a Comment