Statalist The Stata Listserver


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

st: 'repeated time values within panel' error message with -tsset-


From   "Haardt, David A M" <[email protected]>
To   <[email protected]>
Subject   st: 'repeated time values within panel' error message with -tsset-
Date   Tue, 21 Feb 2006 21:06:32 -0000

Dear all,

I'm having some trouble with the error message "repeated time values
within panel" given by the -tsset- command. I already had a look at
http://www.stata.com/support/faqs/data/repeatedtime.html

Basically, there are two ids in my data set (m_pid and f_pid) since I
look at couples. Obviously for single people the partner's id will
always be missing which leads to the problem: apparently, -tsset- treats
all single men as having the same partner id (f_pid==.), and all single
women also as having the same partner id (m_pid==.). The problem then is
that of course there are many single men and many single women who share
their observation time.

The if option does not work with -tsset-; is there any way of letting
Stata use only those observations with non-missing f_pid when saying
-tsset f_pid wave-, and only those observations with non-missing m_pid
when saying -tsset m_pid wave-, other than creating two separate data
sets?

Best wishes,

David

--
Mr David A M Haardt <[email protected]>
Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, UK
Tel: +44 (0)1206 874719; Fax: +44 (0)1206 873151
<http://www.iser.essex.ac.uk/home/damhaa/>

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