Who will cancel: early signals on real course enrolments: method and checks
Each rule was fixed on three cohorts and tested once on a fourth that no step had read.
Each rule was chosen on Feb 2013, Oct 2013 and Feb 2014. Oct 2014 stayed unread until both rules were saved. Three later changes added checks after every result had been read.
Data
The Open University Learning Analytics Dataset is a public release of 32,593 enrolments in 22 runs of 7 courses, from Feb 2013 to Oct 2014, under CC BY 4.0. It records when each student registered and cancelled, their result, and their daily clicks on the course site. It was anonymised before release. Kuzilek, Hlosta and Zdrahal describe it in the journal Scientific Data. Demographic fields were dropped on loading.
How it maps to a subscription: registration is sign-up, day 0 is the start of the course, the days before it are the trial, clicks are product use, and unregistering is cancelling. Days are counted from each course's start.
Definitions
- Cancels: the enrolment has a cancellation day. Otherwise it stays.
- Two-week group: registered by day 0 and not cancelled before day 14. Outcome: cancels on day 14 or later.
- Due-day group: registered by day 0 and not cancelled by the first assignment's due day, which falls between day 12 and day 61. Outcome: cancels after that day.
- Two-week rule: flag a student active on at most 1 of days 0 to 13. The threshold was the one whose flagged share on the earlier cohorts came closest to 20%.
- Assignment flag: the first marked assignment was not handed in by its due day. A mark carried over from an earlier attempt counts as handed in.
- Use to the due day: the share of days from day 0 to the first due day, both included, with any use of the course site.
- Tutor-marked runs: the 19 course runs whose first marked assignment is marked by a tutor. The call is recommended only there.
In what order
- The design, the signals, the retention definition, the predictions and the money assumptions were written down and saved before any outcome was computed. Only the tables' shape had been read.
- The training step dropped Oct 2014 before computing anything. It fixed the two-week rule.
- The rule missed its first three predictions. The assignment signal was then declared, with its own predictions, after those results and before Oct 2014 was read. It was fixed on the earlier cohorts.
- Only then were both rules applied to Oct 2014, unchanged.
- The cohort curves, the funnel, the two-table check and the course split came last. The course split of the Oct 2014 rise, the check counting undated withdrawals and the test size were added after the results.
- After every result had been read, more checks were declared and saved before their code ran: the flag by course run, the tutor-marked runs alone, use read on the due day, the share out of reach, the test's precision and readout, and the equal-effect condition, with three predictions.
- The next change added the value of a kept enrolment at which calling everyone nets more. It was declared after the university's fee page had been read and after a first estimate of that value from the published money figures, and its code computes the value exactly. Its declaration is not published, so this step gives what it says.
- A last change priced the call, sized its test and set its reversal line on the 19 tutor-marked runs alone, since the call is recommended only there. It also resampled whole course runs for the ranking scores' intervals and turned the fee into dollars at the 2014 average rate. No change rewrites a frozen result.
The predictions and how they scored
The expected finding was that two weeks of use would rank cancellers far better than sign-up facts and that a rule on it would hold on the latest cohort. The opposite was that sign-up facts would do as well, or the rule would fall apart on the latest cohort.
| Prediction | Declared | Outcome | Measured |
|---|---|---|---|
| Two weeks of use ranks cancellers at least 0.10 better than the best sign-up fact. | With the design | missed | difference minus 0.013 |
| The two-week rule's lift is at least 2.0 on the earlier cohorts. | With the design | missed | lift 1.23 |
| It holds at least 40% of later cancellations on the earlier cohorts. | With the design | missed | capture 25.4% |
| At least 30% of all cancellations happen before day 14. | With the design | held | 44.3% before day 14 |
| The two-week rule holds on Oct 2014: lift and capture each at least 80% of the earlier values. | With the design | held | lift 1.07 and capture 0.93 of the earlier values |
| The two tables disagree on fewer than 1% of enrolments. | With the design | held | 0.31% disagree |
| The missed-assignment flag has a lift of at least 2.0 on the earlier cohorts. | After the training results | missed | lift 1.64 |
| It holds at least 40% of later cancellations on the earlier cohorts. | After the training results | held | capture 51.7%, but 36.8% on the 19 tutor-marked runs |
| It holds on Oct 2014: lift and capture each at least 80% of the earlier values. | After the training results | held | lift 0.97 and capture 1.05 of the earlier values |
| On the same students, the two-week rule's lift stays below 1.5. | After the training results | held | lift 1.22 |
| On the 19 course runs whose first test is marked by a tutor, the flag's lift is at least 1.5 on the earlier cohorts, and it holds on Oct 2014. | After all results | held | lift 1.88; on Oct 2014, lift 1.06 and capture 0.82 of the earlier values |
| On the same students, the flag's lift beats use read on the due day by at least 0.20, on both. | After all results | held | by 0.66 and 0.78 |
| Within courses on Oct 2014, the flag's lift is at least 1.3 in at least 5 of the 6 tutor-marked courses. | After all results | held | 6 of 6 |
The first six were declared with the design, and the next four after the training results, before the holdout. The last three test checks built for doubts the results raised, so they stay out of any hit rate.
Checks
- The download is checked against its sha256 before any table is built.
- The ranking score is checked against a direct count of every canceller and stayer pair.
- The training step stops if any Oct 2014 row is loaded. The two holdout steps and the later checks record the sha256 of the frozen files they read.
- The same-day cut was chosen on the earlier cohorts before Oct 2014 was scored.
- The resample by course run first reproduces every frozen ranking score exactly.
Tools, and what they stand in for
Python with NumPy reads the 10.6 million activity rows as a stream, keeping only what a rule could know by day 14. In a company, that step is a warehouse model over the product event table, and the daily flag is a scheduled job that writes to the customer team's queue. One pass over the whole dataset gives each result. The intervals come from resampling enrolments, and again whole course runs.
Glossary
- Cohort
- All enrolments in courses that start in the same month.
- Holdout
- A cohort kept out of every step until the rules were fixed, then used once to test them.
- Later cancellation
- A cancellation after the day a rule is read: day 14, or the first due day.
- Lift
- The flagged group's later cancellation rate divided by everyone's. 1.00 is no better than random.
- Capture
- The share of later cancellations that fall in the flagged group.
- Ranking score
- The chance that a random canceller ranks riskier than a random stayer. 0.5 is a coin flip. Often called AUC.
- Save offer
- A contact meant to keep a customer who would otherwise cancel: here, a call with a pause option.
- Break-even save share
- The share of would-be cancellers a call must keep to pay for itself.
Downloads and how to rebuild
The README lists the commands. They rebuild the data from the public download, then every result and page.
- data/enrolments.csv.gz: one row per enrolment, with the registration and cancellation days, the result and the first-two-weeks use. Demographic fields are not in it.
- data/first-assessment.csv.gz: each enrolment's first assignment, its due day and the day it was handed in.
- data/due-usage.csv.gz: each enrolment's first due day and its days with any use from day 0 to that day.
- data/sources.json: the source, licence, URL and sha256.
- Results: train-r1.json, rule-r1.json, holdout-r1.json, assess-train-r1.json, assess-rule-r1.json, assess-holdout-r1.json, describe-r1.json, after-r1.json, change2-r2.json, change3-r3.json, change4-r4.json.
- Design: CHANGES-r1.md, CHANGES-r2.md, CHANGES-r4.md, protocol-r1.json, predictions-r1.json, assumptions.json.
- Code: tools/get_data.py, tools/get_first_assessment.py, tools/run_study.py, tools/run_assessment_signal.py, tools/after_results.py, tools/get_due_usage.py, tools/run_change2.py, tools/run_change3.py, tools/run_change4.py, tests/test_study.py, site/render.py, and the README with the commands.
Limits
The later checks came after every result. Each was declared before its code ran and built for a doubt the results raised, so none counts toward a hit rate.
Both kinds of interval are rough. Resampling enrolments treats them as independent, so those intervals are too narrow. Resampling whole course runs rests on only 15 runs, and still counts a student enrolled in two runs twice.
The summaryThe latest cohort, held outAll resultsMethod and checks