Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re:st: RE: Inaccurate date-time variable

From   Christopher Baum <>
To   "" <>
Subject   re:st: RE: Inaccurate date-time variable
Date   Mon, 17 Oct 2011 10:06:18 -0400

Furthermore, this is an Extremely Bad Idea:

gen clock_date2= Clock(clock_date, "YMDhms")

All variables which are to store intraday time information should be declared as double, as their precision relies on large integer values being retained as such.  Making them floats messes that up big time (groan), as the help and manual states.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index