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
Collapse to the meanHello, A very trivial question. I would like to collapse to the mean by converting the daily date to…
Leading zeros for displaying scalarsI would like to take the results of scalars and generate a new macro variable. An example is shown b…
Wald test for logistic regression - measuring whether a=bHi, I'm running logistic regressions. I'd like to know whether dependent variable a is (statistical…
stcox and stcrregHi guys: I have a question regarding stcox and stcrreg. i try to find how does the independent varia…
Filling in missing Data in time-series using interpolationI have a database on Size and Return for every day in a year. It looks like this: Day Return Size 1…
Subscribe to:
Post Comments (Atom)
0 Response to stata code: participating more than once
Post a Comment