I thought this would be a relatively easy problem to fix but I seem to be running into trouble. Currently, I have a variable titled "OrderDate" with dates listed in decimal form (i.e. 1.2.2019, etc.) and I would like to convert these strings into something that I can organize them. (I assume this means converting them into a numeric but not entirely sure). I have tried to replace the decimal points with "/" in hopes that Stata would have an easier time converting them into recognizable date form but have not found a way for Stata to not just generate "." when I create a new variable.
Related Posts with Changing Dates
Two wave panel data and mediation analysis: methodological challengesHi List, I'm having some methodological challenges that I hope you can help me out with. I'm resear…
issue after multiple imputation chained equationsdear all, i have a problem with my data after multiple imputation with chained equations. my origina…
IV - choosing among valid instrumentsHi, I am using an instrument variable approach where I have access to several valid (but many times …
Cross-sectional regressionDear all, I'm working on the following sample. Code: * Example generated by -dataex-. To install:…
IV - choosing among valis instrumentsHi, I am using an instrument variable approach where I have access to several valid (but many times …
Subscribe to:
Post Comments (Atom)
0 Response to Changing Dates
Post a Comment