Statalist The Stata Listserver


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

st: Dates - converting time periods to inividual records


From   "Jonathan Cox" <[email protected]>
To   <[email protected]>
Subject   st: Dates - converting time periods to inividual records
Date   Tue, 07 Feb 2006 14:44:00 +0000

Greetings,
I'd be grateful for any assistance with the following query regarding
dates in Stata:

Currently I have a dataset with 3 columns: start date of observation;
end date (typically a few days later) of observation; value.  What I
would like to do is turn this into a dataset for individual days - and
assign the value for the time period to each date individually.  I guess
this is a sort of inverse of the collapse function.

Has anybody come across anything like this before?

Many thanks

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