Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[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–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index