Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

Deriving Customer churn from data alone

$
0
0

I have a table which records the resources working(nurses or attendants) in patients homes. Each day they work is recorded as a shift. Patient may have multiple resouces working in their homes on a given day. Resources work for periods of time - for a day or for many months at a stretch. They work on holidays too 

 

I want to calculate the shift increase/decrease in the following way- with respect to the previous day and another day (say End of Previous month)

 

1. New Patient: Where a Patient didnt exist in the table, and so a new patient-resource combination is considered New Patient

2. Ongoing: Where the patient exists on the table, AND the number of shifts on the preceding day or period equals to the number of shifts on that day, we mark the shift/s as ongoing

3. Reduce: Where the patient exists on the table in preceding day/period, AND Where the number of shifts for a patient has reduced from that previous period. However the Patient has atleast one shift on that day. The shift that is continuting is marked as Ongoing while the shift that has stopped is marked as reduced

4. New Shift: Where the patient exists on the table in preceding day/period, AND Where the number of shifts for a patient has increased from that previous period. The shift that is continuting is marked as Ongoing while the shift that has increased is marked as New Shift (This is the reverse of Point 3 - Reduce)

5. Attrition: When all shifts for the member are zero on that day, while there were one or more shift for that patient in the preceding day or period (This is the reverse of Point 1-New Patient)

6. Replace: Where the number of shifts for a patient remains the same, but the resource ID working there changes from the preceding day, mark the shift as replace

 

I am a newbie, but after a few weeks of trying to use summarise columns, inserting calendars, etc... I am at square one... Is what i am asking for doable, and how?

 

I can upload a truncated excel file... but dont know how to send...

Thanks in advance everyone...

Screenshot (1).png


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>