IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v6y2006i1p124-137.html
   My bibliography  Save this article

Speaking Stata: Time of day

Author

Listed:
  • Nicholas J. Cox

    (Durham University, UK)

Abstract

Many problems in statistical analysis include time-of-day variables, but Stata offers limited support for time-of-day calculations. Support is needed for dates with times, times alone, and durations or timings. This article presents two new programs as general utilities to convert back and forth between string and numeric representations.

Suggested Citation

  • Nicholas J. Cox, 2006. "Speaking Stata: Time of day," Stata Journal, StataCorp LP, vol. 6(1), pages 124-137, March.
  • Handle: RePEc:tsj:stataj:v:6:y:2006:i:1:p:124-137
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=dm0018
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj6-1/dm0018/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Nicholas J. Cox, 2003. "Stata tip 2: Building with floors and ceilings," Stata Journal, StataCorp LP, vol. 3(4), pages 446-447, December.
    2. Nicholas J. Cox, 2005. "Suggestions on Stata programming style," Stata Journal, StataCorp LP, vol. 5(4), pages 560-566, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Nicholas J. Cox, 2006. "Speaking Stata: Graphs for all seasons," Stata Journal, StataCorp LP, vol. 6(3), pages 397-419, September.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Nicholas J. Cox, 2007. "Stata tip 43: Remainders, selections, sequences, extractions: Uses of the modulus," Stata Journal, StataCorp LP, vol. 7(1), pages 143-145, February.
    2. Maarten L. Buis, 2007. "Stata tip 48: Discrete uses for uniform()," Stata Journal, StataCorp LP, vol. 7(3), pages 434-435, September.
    3. Lars Ă„ngquist, 2010. "Stata tip 92: Manual implementation of permutations and bootstraps," Stata Journal, StataCorp LP, vol. 10(4), pages 686-688, December.
    4. Nicholas J. Cox, 2010. "Stata tip 68: Week assumptions," Stata Journal, StataCorp LP, vol. 10(4), pages 682-685, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:6:y:2006:i:1:p:124-137. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.