hello,
I have a longitudinal data:
idn     mort30      newinfec
1           0               1
1           0               1
1           0               1
1           0               1
2           1               1
2           1               1
2           1               1
3           0               0
3           0               0
3           0               0
3           0               0
3           0               0

and i want to filter out those obs. that has mort30==1 (mort30 is constant
over idn).
how can i use "if...else" and filter out those unwanted obs.?
I appriciate the help,
sigalit.

	[[alternative HTML version deleted]]

