If I do this:
. gen double d=clock("20200101 01:01:01", "YMD hms")
. format %tC d
. browse
then d[1] is "01jan2020 01:00:34"
if I use a float instead then d[1] is "01jan2020 01:01:02"
is it possible to have better precision when using millisecond resolution?
Related Posts with Date precision
DiD for binary outcomesHow to run the difference in difference estimates for binary outcomes? …
how to draw a bar like the picturehow to draw a bar like the picture using the following data,thanks! clear input int year double(Juni…
Nested logit model VS two binary logit modelsHello, I have a quick question regarding the nested logit model. I am trying to develop a model as …
Proper model for highly skewed dependent variable.Hello, I had previously asked a similar question, but it was partly unanswered, so I'm narrowing do…
How do I save the mean as well as the confidence interval results from bootstrap in every interation and plot it in a graph? I want to save the mean value as well as the confidence interval in every iteration and plot it in …
Subscribe to:
Post Comments (Atom)
0 Response to Date precision
Post a Comment