Friday, February 24, 2006

Re: st: writing programs in stata

> > > > This may be a silly thing. I need to be able to write > > > > a few programs to do data manipulation and construct > > > > dates by grabbing letters from a string of numbers. I > > > > can do this in excel. Can anyone give me pointers to a > > > > few stata resources/books that can help me with > > > > programs in stata.

Stata dates are Unix dates, and start with 1/1/1960 = 0. See -help tdates- and references therein on conversion from strings to dates -- if you've never worked with those before, they seem really weird, but when you start thinking about the stuff more deeply, there is no significantly better way to handle the dates.

-- Stas Kolenikov http://stas.kolenikov.name

* * 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?