Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Query


From   [email protected]
To   [email protected]
Subject   st: Query
Date   Mon, 31 Jan 2005 12:27:34 -0500

I am working with a multi-record-per-case observational data set and have a problem. Specifically, it turns out that within cases, duration times for single records can span more than one year. Accordingly time-varying explanatory variables that carry different information by year are not accurate for that record. For example,
ID Entry Exit pwom
4 01/14/82 07/08/86 50.2
4 07/08/86 12/31/86 52.6
4 01/01/87 04/30/87 57.5
As you see, pwom varies for records 2 and 3 but not so for record 1, which covers a period of nearly 4 yrs but nonetheless carries a constant value for pwom. I cannot not locate a procedure in Stata for splitting record 1. Any suggestions would be greatly appreciated. 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