Statalist The Stata Listserver


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

st: Identifying wave1 respondents in an unbalanced panel


From   "sara khan" <[email protected]>
To   [email protected]
Subject   st: Identifying wave1 respondents in an unbalanced panel
Date   Fri, 1 Jun 2007 12:59:05 +0100

Dear Statalisters

I am new to Stata and would appreciate your help with 2 questions.

1. I have an unbalanced panel and wish to create a variable that
identifies the presence of wave 1 respondents in subsequent waves in
order to test for attrition.

2. I wish to distribute the value of wave 1 dependent variables in the
unbalanced panel over subsequent waves.

Thanks in advanace.

Sara



	+-----------------+
	pid            wave     wave1
	-----------------
1.	10016872      2          0
2.	10016872      4          0
	-----------------
3.	10017992      1          1
4.	10017992      2          1
5.	10017992      3          1
6.	10017992      4          1
7.	10017992      6          1
	-----------------

	00040404       2          0
	-----------------
19.	10040439      1          1
20.	10040439      2          1
*
*   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