Dear Statalist,
I have a simple and stupid problem to selection some variables, but I
don't know as to resolve this problem:
I have this dataset
id analt episodi
1 1999 1
1 2002 2
2 2002 1
2 2003 2
2 2003 3
3 2004 1
3 2005 2
I want to selection all the id that analt>2001 & the first episodi
start with ==1, so I want to take id 2 and id 3
id analt episodi
2 2002 1
2 2002 2
3 2004 1
3 2005 2