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
How to measure treatment effects in panel data when treatment happens at different times?Hello Statalists, I am working on treatment effects of foreign acquisition on firms' productivity, …
An error "plugin not loaded or not available: use the adoonly option" accur after "ml maximize"I am trying to learn how to use mdraws by Cappellari and Jenkins.When replicating the example test_t…
ado file of siilogit command (slop index of inequality command)Hi, I am running slop index of inequality using STATA 13 using the following command siilogit <…
I can never run Stepwise, always got 'command ssd is unrecognized'As the title said it. Searched and found no answer. Anyone has any clue how to overcome this? Thousa…
gather countries together?Dear All, I have the following data Code: * Example generated by -dataex-. To install: ssc install…
Subscribe to:
Post Comments (Atom)
0 Response to Changing Dates
Post a Comment