I split a variable which had date and time together to one with just the dates.
Now I am trying to convert it to a date numerical variable but its generating missing variables. I have used the same code for other dates and it worked just fine. Please let me know what is the error here.
The code that I used was:
gen long result_time = date(specimen_dt, "MDY" )
Thanks
Related Posts with Problem with date format
Epidemiology analysisplease helm me with this case I dont know the syntax the data is on the attachment Estimate regress…
IRT 2PL not replicable across Stata 16 MP on Linux vs Stata 16.1 IC on a PCHi everyone, Also posted here. The subject says it all: Results from Stata's internal -irt 2PL- com…
Proportions variableI am working with panel data and am trying to create a new proportional variable defined as the numb…
Vertical Dot Plot with whiskersHello Stata users- I'm a new Stata user and was looking for some advise. I'm trying to create a vert…
Running xtreg for a data subset (subset defined by a floating variable)Hi, I have panel data for 850 companies for years 2001-2019. I have created a floating variable to …
Subscribe to:
Post Comments (Atom)
0 Response to Problem with date format
Post a Comment