Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Real public data

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

In what order

  1. 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.
  2. The training step dropped Oct 2014 before computing anything. It fixed the two-week rule.
  3. 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.
  4. Only then were both rules applied to Oct 2014, unchanged.
  5. 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.
  6. 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.
  7. 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.
  8. 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.

Predictions and outcomes
PredictionDeclaredOutcomeMeasured
Two weeks of use ranks cancellers at least 0.10 better than the best sign-up fact.With the designmisseddifference minus 0.013
The two-week rule's lift is at least 2.0 on the earlier cohorts.With the designmissedlift 1.23
It holds at least 40% of later cancellations on the earlier cohorts.With the designmissedcapture 25.4%
At least 30% of all cancellations happen before day 14.With the designheld44.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 designheldlift 1.07 and capture 0.93 of the earlier values
The two tables disagree on fewer than 1% of enrolments.With the designheld0.31% disagree
The missed-assignment flag has a lift of at least 2.0 on the earlier cohorts.After the training resultsmissedlift 1.64
It holds at least 40% of later cancellations on the earlier cohorts.After the training resultsheldcapture 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 resultsheldlift 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 resultsheldlift 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 resultsheldlift 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 resultsheldby 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 resultsheld6 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

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.

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.