Hi everybody, I have a dataset of students in a high school. The data includes the start-date and end-date for each student. I would like to make an snapshot of a date, e.g. 31 december of each year, and find out if the respondent attended in the high school on that date. student start_date end_date 1 04 Sept, 1993 26 june, 1995 2 22 Nov, 2002 20 May, 2005 ...... I would like to make a variable which is if the student 1 attended the high school at 31 december of each year between 1993 to 1995, then the value of the new variable is 1 otherwise 0, and the same for each pther student. Thank you!
... View more