Hi everyone,
Which stata code can I use if I want to keep those who have participated in one or more waves?
For example, a datesate like this: How can I choose those who have participate in more than once after 2000 (1)?
(My dataset is bigger, but I just want to show an example)
id 2000 2005 2010 2015
1 1 1 1 0
2 1 1 0 1
3 1 0 0 0
4 1 0 1 0
5 1 1 1 1
6 1 1 1 0
-Kate
Related Posts with stata code: participating more than once
When shoul I use the "noconstant" option in xtunitroot test?Hi I want to know how to use the "noconstant" option in xtunitroot test. According to Stata manual,…
Pooling dataHi everyone. I have a question on how pooling data in stata. I am working with a repeated cross-sect…
Variable with percentile groupsHi Stata users, I have a continuous variable and would like to generate a new variable that states …
Variables created after shp2dtaHi everyone, After I run 'shp2dta' to turn shape files into Stata data files, I notice I have some …
Wide to long reshape, hundreds of stubsDear Statalist community, I fear this might be a simple question but I am having trouble finding an…
Subscribe to:
Post Comments (Atom)
0 Response to stata code: participating more than once
Post a Comment