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
Preliminary analysis using latent variablesHello, I am running a mediation model where I plan to use two latent variables as mediators. For pr…
Diff in Diff with different timesDear Statalisters, I am studying the following question: "What is the impact of distributing divide…
ivreg2h : (1) for panel data? (2) the same command for single equation and set of fully simultaneous equations?Dear Stata list members, I want to analyze a model using Lewbel's (2012) method of internal instrum…
invariant regressorsDear all, I can't understand what's going on.. I have panel data and when i run BE in stata, indivi…
deflate data using 1980 valueDear All, I found this question here (http://bbs.pinggu.org/forum.php?mod=...a=#pid55243106). The da…
Subscribe to:
Post Comments (Atom)
0 Response to Changing Dates
Post a Comment