Count examples in overlapping time frame
My data set consists of ID, a time of admission, a time of discharge. I would like to calculate the number of examples (patients in casu) that are simultaneously admitted. As such a new attribute should provide me the number of patients admitted for each patient (example) during his/her admission time frame.
Thanks a lot!!!