Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: decimal years


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   st: decimal years
Date   Thu, 10 Aug 2006 16:51:12 -0700 (PDT)

How can decimal years be read into stata? The data are %9.4f and identify
year, month and day, for example

event1
1932.2880
1949.0410
1939.4270

I would like to be able to extract the mdy and to be able to tsset my
data, the latter requiring integers.

Caleb
[email protected]
University of Oregon Sociology
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index