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
change in volume between the same months in different yearsI have a hospital dataset declared as a time series with panel data with monthly observations. Volum…
Wooldrige Test for serial correlation.Hello guys! I was running the Wooldrige Test for serial correlation of the error terms and the H0 is…
Heckman selection modelHi there! I'd like to learn more about the Heckman selection model to control for selection bias. He…
Sensitivity analysis to assess selection biasHi there! Is there a sensitivity analysis or test in Stata that can be used to estimate the directio…
Quickly merging chunks of variables within the same datasetHello, I have a dataset with different groups of variables that actually represent the same questio…
Subscribe to:
Post Comments (Atom)
0 Response to stata code: participating more than once
Post a Comment