Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Synthetic data

Marketplace experiment designs: forecasting active users in shared groups

In a simulated app where users' activity depends on their group, a forecast built from groups missed monthly active users by 3.4% a month ahead at moderate coupling, against 1.9% for one built from users, and lost at every coupling and horizon tested.

200 simulated histories per setting of an app whose users sit in groups of 2 to 8, with 15% of users in two groups. Each plan was fitted on the first 36 months and scored on the next 24, beside last year times recent growth. How strongly members depend on each other is an assumption I set, and the group plan knows whether a group is active, not how many of its members are. I would forecast from users. If a team also runs a group-level plan, users per active group is where that plan misses most.

Key figures
User plan 1.9% mean error a month ahead at moderate coupling, 3.9% three months ahead; last year times growth missed by 2.5% and 5.6%Group plan 3.4% a month ahead, 4.6% three months ahead; it beat the user plan in 3 of 200 histories a month ahead and 48 of 200 three months aheadBiggest piece of its miss 74% of months it was users per active group (3,271 of 4,400), not groups kept or lost (880) or new groups (249)Hidden by the user count 5.6 points more of the rest of a group lapsed within two months after its most active member lapsed (26.6% against 21.0%); 3.9 points of it is the coupling, as the gap is 1.7 points with none

Main limitation One simulated app with settings I chose, and I wrote both the simulation and the plans, so this shows how the plans behave on a process I know, not how they do on a real product. The coupling is assumed, not measured; there is no seasonality, and one month shock shared by every user is the only common movement.

Where the answer changes

  • No coupling. The group plan still trails, 3.2% against 1.9% a month ahead, so the gap does not come from members depending on each other.
  • Stronger coupling. The user plan's three-month error goes from 3.6% with none to 3.9% moderate and 4.0% strong, 1.12 times; I had predicted at least 1.2 times. The group plan starts to run high: its mean signed error a month ahead goes from +0.1 to +0.8 points.
  • Further ahead. The gap narrows: three months ahead the group plan trails by 0.7 points at moderate coupling, and it beats last year times growth there (4.6% against 5.6%), though not a month ahead (3.4% against 2.5%).
  • No month shock. In the control, with no coupling and no shared month shock, the group plan misses by 1.5% a month ahead, and without the month shock the user plan's error roughly halves: 0.9% against 1.9% with no coupling.

Every setting reuses the same groups, arrivals and random draws for the same history, so settings differ only by the coupling; these comparisons share their noise.

What I would use when

My judgement from these runs; the simulation compared plans, it did not test these rules.

  • To forecast monthly actives: the user plan, carrying each user forward from their tenure and last month's state.
  • If a team runs a group-level plan: read users per active group every month, beside groups kept or lost; that is where the group plan misses most. Whether the group view explains the user plan's misses was not tested.
  • To catch a group going quiet: the lapse of its most active member, followed here by more lapses among the rest.
  • To test next: a user plan that also uses each user's share of active group-mates, the quantity the coupling runs on. Not tested here.
Group
A small set of users who share the app: a family plan, a friend group, a team. Some users are in two.
Coupling
How much a user's chance of being active this month rises with the share of their group-mates who were active last month. Set, not measured.
Active user
Active at least once in the month. New: joined this month. Retained: active this month and last. Returning: active this month, not last, joined before. Lapsed: active last month, not this month.
Active group
At least one of its first-group members active. Every user counts once, in their first group, so active users equal active groups times users per active group.
User plan
Each user carried forward by the chance of being active next month for their tenure and this month's state, plus planned new users.
Group plan
Each group carried forward the same way, times users per active group, plus planned new groups.
Last year times growth
The same month a year earlier, times actives now over actives a year ago. The plain baseline every plan has to beat.
Mean error
The average miss, plan against actual, as a share of actual actives, over 22 forecast months, then averaged over histories.

How well each plan forecast

Each plan was fitted on months 1 to 36 and then, from every month 36 to 57, asked for the next one to three months. The user plan was the most accurate at every horizon in every setting. The group plan trailed it, and a month ahead it was behind even last year times growth in all three coupling settings.

How far each plan missed monthly active users, a month and three months ahead

Mean error as a share of actual actives; line: the middle 90% of histories, closer to what one app would see.

Forecast error by plan, coupling and horizonDots: mean error over 200 simulated histories, as a share of actual monthly actives; lines: the middle 90% of histories. Users: the user plan; Groups: the group plan; Last year: last year times growth.No coupling, 1 month aheadUsers, No coupling, 1 month ahead: mean error 1.9%; middle 90% of histories 1.3% to 2.6%Users1.9%Groups, No coupling, 1 month ahead: mean error 3.2%; middle 90% of histories 1.7% to 5.5%Groups3.2%Last year, No coupling, 1 month ahead: mean error 2.5%; middle 90% of histories 1.8% to 3.4%Last year2.5%Moderate coupling, 1 month aheadUsers, Moderate coupling, 1 month ahead: mean error 1.9%; middle 90% of histories 1.3% to 2.9%Users1.9%Groups, Moderate coupling, 1 month ahead: mean error 3.4%; middle 90% of histories 1.7% to 6.1%Groups3.4%Last year, Moderate coupling, 1 month ahead: mean error 2.5%; middle 90% of histories 1.8% to 3.3%Last year2.5%Strong coupling, 1 month aheadUsers, Strong coupling, 1 month ahead: mean error 1.9%; middle 90% of histories 1.2% to 2.8%Users1.9%Groups, Strong coupling, 1 month ahead: mean error 3.3%; middle 90% of histories 1.6% to 6.2%Groups3.3%Last year, Strong coupling, 1 month ahead: mean error 2.3%; middle 90% of histories 1.6% to 3.2%Last year2.3%No coupling, 3 months aheadUsers, No coupling, 3 months ahead: mean error 3.6%; middle 90% of histories 2.2% to 5.4%Users3.6%Groups, No coupling, 3 months ahead: mean error 4.2%; middle 90% of histories 2.2% to 6.9%Groups4.2%Last year, No coupling, 3 months ahead: mean error 5.4%; middle 90% of histories 3.4% to 8.0%Last year5.4%Moderate coupling, 3 months aheadUsers, Moderate coupling, 3 months ahead: mean error 3.9%; middle 90% of histories 2.4% to 6.2%Users3.9%Groups, Moderate coupling, 3 months ahead: mean error 4.6%; middle 90% of histories 2.3% to 8.3%Groups4.6%Last year, Moderate coupling, 3 months ahead: mean error 5.6%; middle 90% of histories 3.3% to 8.3%Last year5.6%Strong coupling, 3 months aheadUsers, Strong coupling, 3 months ahead: mean error 4.0%; middle 90% of histories 2.2% to 6.4%Users4.0%Groups, Strong coupling, 3 months ahead: mean error 4.7%; middle 90% of histories 2.3% to 8.7%Groups4.7%Last year, Strong coupling, 3 months ahead: mean error 5.3%; middle 90% of histories 3.3% to 8.3%Last year5.3%0%2%4%6%8%Mean error, % of actual actives
Show the data
Mean error by setting, horizon and plan, 200 histories each (50 in the control)
Setting, horizon and planMean error95% Monte Carlo intervalMiddle 90% of historiesMean signed error, points
No coupling, 1 month ahead, User plan1.9%1.8% to 1.9%1.3% to 2.6%−0.2
No coupling, 1 month ahead, Group plan3.2%3.0% to 3.3%1.7% to 5.5%+0.1
No coupling, 1 month ahead, Last year times growth2.5%2.5% to 2.6%1.8% to 3.4%+0.7
No coupling, 2 months ahead, User plan2.9%2.8% to 3.0%1.9% to 4.2%−0.3
No coupling, 2 months ahead, Group plan3.8%3.6% to 4.0%2.0% to 6.5%0.0
No coupling, 2 months ahead, Last year times growth4.1%4.0% to 4.2%2.8% to 5.8%+1.4
No coupling, 3 months ahead, User plan3.6%3.4% to 3.7%2.2% to 5.4%−0.3
No coupling, 3 months ahead, Group plan4.2%4.0% to 4.4%2.2% to 6.9%0.0
No coupling, 3 months ahead, Last year times growth5.4%5.2% to 5.6%3.4% to 8.0%+2.1
Moderate coupling, 1 month ahead, User plan1.9%1.9% to 2.0%1.3% to 2.9%−0.2
Moderate coupling, 1 month ahead, Group plan3.4%3.2% to 3.5%1.7% to 6.1%+0.3
Moderate coupling, 1 month ahead, Last year times growth2.5%2.4% to 2.6%1.8% to 3.3%+0.6
Moderate coupling, 2 months ahead, User plan3.1%3.0% to 3.3%2.0% to 4.9%−0.3
Moderate coupling, 2 months ahead, Group plan4.1%3.8% to 4.3%2.0% to 7.4%+0.2
Moderate coupling, 2 months ahead, Last year times growth4.2%4.0% to 4.3%2.7% to 5.9%+1.3
Moderate coupling, 3 months ahead, User plan3.9%3.8% to 4.1%2.4% to 6.2%−0.4
Moderate coupling, 3 months ahead, Group plan4.6%4.4% to 4.9%2.3% to 8.3%+0.1
Moderate coupling, 3 months ahead, Last year times growth5.6%5.4% to 5.8%3.3% to 8.3%+1.9
Strong coupling, 1 month ahead, User plan1.9%1.8% to 2.0%1.2% to 2.8%−0.1
Strong coupling, 1 month ahead, Group plan3.3%3.1% to 3.6%1.6% to 6.2%+0.8
Strong coupling, 1 month ahead, Last year times growth2.3%2.3% to 2.4%1.6% to 3.2%+0.5
Strong coupling, 2 months ahead, User plan3.1%3.0% to 3.3%1.8% to 4.9%−0.2
Strong coupling, 2 months ahead, Group plan4.1%3.9% to 4.3%2.0% to 7.7%+0.7
Strong coupling, 2 months ahead, Last year times growth4.0%3.8% to 4.1%2.6% to 5.9%+1.1
Strong coupling, 3 months ahead, User plan4.0%3.8% to 4.2%2.2% to 6.4%−0.2
Strong coupling, 3 months ahead, Group plan4.7%4.4% to 5.0%2.3% to 8.7%+0.7
Strong coupling, 3 months ahead, Last year times growth5.3%5.1% to 5.6%3.3% to 8.3%+1.7
Control, no month shock, 1 month ahead, User plan0.9%0.9% to 1.0%0.7% to 1.1%−0.2
Control, no month shock, 1 month ahead, Group plan1.5%1.4% to 1.6%0.8% to 2.2%0.0
Control, no month shock, 1 month ahead, Last year times growth1.5%1.5% to 1.6%1.2% to 1.8%+0.6
Control, no month shock, 2 months ahead, User plan1.3%1.2% to 1.4%0.8% to 1.7%−0.4
Control, no month shock, 2 months ahead, Group plan1.7%1.6% to 1.8%1.0% to 2.5%0.0
Control, no month shock, 2 months ahead, Last year times growth2.2%2.1% to 2.3%1.6% to 2.8%+1.3
Control, no month shock, 3 months ahead, User plan1.6%1.5% to 1.7%1.1% to 2.2%−0.5
Control, no month shock, 3 months ahead, Group plan1.9%1.8% to 2.1%1.2% to 2.7%−0.1
Control, no month shock, 3 months ahead, Last year times growth2.9%2.7% to 3.0%1.8% to 3.8%+1.9

group-forecast.json · group-forecast-runs.csv (every forecast)

Source: the declared group forecast run, plans fitted on months 1 to 36 and scored from 22 origins each, months 37 to 60.

What I wrote down before scoring

Six statements were committed with the settings, before any declared history was forecast. 3 of 6 held. The miss that matters most is the third: I expected the group plan to win three months ahead under moderate coupling, and it lost. The other two misses are about size: coupling hurt the user plan less than I expected, and its part in the follower gap was smaller than I predicted.

Statements written before scoring, with the run's result
StatementResultScore
1. One month ahead, in each of the three coupling settings, the user plan's mean error is below last year times growth's.0.7, 0.6 and 0.4 points below itheld
2. With no coupling, one month ahead, the group plan's mean error is at least the user plan's.1.3 points above itheld
3. At the base (moderate) coupling, three months ahead, the group plan's mean error is below the user plan's.0.7 points above itmissed
4. The user plan's three-month mean error at strong coupling is at least 1.2 times its error with no coupling.1.12 timesmissed
5. At the base coupling, users per active group is the largest piece of the group plan's month-ahead miss in more than half of the months.74% of monthsheld
6. At the base coupling, followers lapse after the most active member lapses at least 5 points more often than when the most active member stays, beyond the same gap with no coupling (paired by history).3.9 pointsmissed

Where the group plan does no better

Compared history by history with the user plan, the group plan was behind in every setting and at every horizon, with intervals clear of zero. It beat the user plan in some histories, more often three months ahead than one.

Each plan's mean error minus the user plan's, in points (95% Monte Carlo interval)
Setting and horizonGroup plan minus user planHistories where the group plan was lowerLast year times growth minus user plan
No coupling, 1 month ahead+1.3 (+1.2 to +1.4)5 of 200+0.7 (+0.6 to +0.7)
No coupling, 2 months ahead+0.9 (+0.8 to +1.0)30 of 200+1.2 (+1.1 to +1.4)
No coupling, 3 months ahead+0.6 (+0.5 to +0.7)57 of 200+1.8 (+1.6 to +2.0)
Moderate coupling, 1 month ahead+1.4 (+1.3 to +1.6)3 of 200+0.6 (+0.5 to +0.6)
Moderate coupling, 2 months ahead+0.9 (+0.8 to +1.1)30 of 200+1.1 (+0.9 to +1.2)
Moderate coupling, 3 months ahead+0.7 (+0.5 to +0.8)48 of 200+1.6 (+1.4 to +1.9)
Strong coupling, 1 month ahead+1.5 (+1.3 to +1.6)3 of 200+0.4 (+0.4 to +0.5)
Strong coupling, 2 months ahead+1.0 (+0.8 to +1.1)26 of 200+0.8 (+0.7 to +1.0)
Strong coupling, 3 months ahead+0.7 (+0.6 to +0.8)50 of 200+1.3 (+1.1 to +1.6)

A reading after the results, not a declared test: the group plan knows whether each group is active, not how many of its members are, so a group with four active members and one with a single active member look the same to it, while the user plan carries each user's own state. The bridge below fits this reading: most of the group plan's miss is in users per active group, not in which groups stay.

Users and groups, month by month

At moderate coupling, over months 37 to 60, a month lost 14.0% of the previous month's active users but only 5.9% of active groups. A user can lapse while their group stays active with fewer people, so the user count and the group count tell different stories about the same month.

Monthly flows as a share of the previous month's actives, moderate coupling, months 37 to 60
FlowUsersGroups
New7.5%4.2%
Retained86.0%94.1%
Returning9.6%4.9%
Lapsed14.0%5.9%

Users per active group: 2.18 with no coupling, 2.30 moderate and 2.48 strong. Coupling packs activity into fewer, fuller groups: about 1,635 active groups a month with none and 1,420 at strong coupling, for about the same number of active users (3,571 and 3,524).

What the user count hides

When a group's most active member lapses, the user split records one lapse. What follows is a group story: the rest of the group lapses more often over the next two months than in groups whose most active member stayed.

Share of the rest of a group that lapsed within two months, 200 histories each
SettingAfter the most active member lapsedAfter they stayedGap, points
No coupling24.0%22.3%1.7
Moderate coupling26.6%21.0%5.6
Strong coupling28.7%18.6%10.1

With no coupling the gap is 1.7 points, because group-mates share a group effect, so a weak group loses members together. Coupling adds 3.9 points at moderate strength (paired by history, interval 3.8 to 4.0); I had predicted at least 5, so that statement missed.

One group, month by month

The first group in the scored months, in one history at moderate coupling, whose most active member lapsed and at least two others followed within two months. It was picked to show the pattern, not as a typical group. In month 37 the user count records one more lapse, and the group count records nothing: the group is still active. Two months later it has no active member.

One group's members, active or quiet each month
MemberMonth 34Month 35Month 36Month 37Month 38Month 39
Most active memberactiveactiveactivequietquietquiet
Member 2activequietquietquietquietquiet
Member 3activeactiveactiveactiveactivequiet
Member 4activeactiveactiveactivequietquiet
Active members433210

Which piece of the miss to own

Treat the group plan a month ahead as the plan. Each month's miss splits into three pieces that add up exactly: new groups, groups kept or lost, and users per active group. New users who join an existing group land in the third piece.

That the pieces add up is bookkeeping, true by construction; what the split shows is where to look. The split is sequential: new groups and groups kept or lost are valued at the plan's users per group, then users per group at the actual group counts. Another order would move part of each miss between pieces and change the counts below.

How often each piece was the largest part of the month-ahead miss (4,400 months per setting), and its typical size
PieceNo couplingModerateStrongTypical size, % of actual actives, moderate
New groups6%6%5%0.5%
Groups kept or lost17%20%24%1.1%
Users per active group77%74%71%2.6%

Users per active group was the largest piece in 74% of months at moderate coupling. Groups kept or lost grows with coupling, from 17% of months with none to 24% at strong coupling, in line with the larger follower gap there. The bridge splits only the group plan's own miss; the user plan's miss was not split this way, so whether the group view explains the user plan's misses was not tested.

What a team would track

  1. Users per active group, if a group-level plan is run. It was the largest piece of the group plan's miss in 74% of months at moderate coupling. The user plan's miss was not split this way.
  2. Groups kept or lost. The piece that grows with coupling, the largest in 17% of months with none and 24% at strong coupling.
  3. The most active member's lapse, as an early signal. In these runs the rest of the group lapsed 5.6 points more often within two months. My judgement, not tested here: product defines what a group is, analytics owns the forecast and its bridge, and the team that runs re-engagement owns the alert.
  4. Last year times growth in every comparison. A month ahead it beat the group plan in all three coupling settings (not in the no-shock control).

What coupling does to a retention test

When members' activity is coupled, a retention test that randomizes users measures less than a full launch would give: a treated user's group-mates are as likely to be untreated as a control user's, so the extra push from treated group-mates lands on both sides of the comparison and cancels out. The shared-groups part measured that miss for a test outcome: with spillover equal to the direct effect and 15% of users in two groups, a user-level test measured 51% of the full effect, and randomizing whole groups recovered 90%. The same reasoning applies to retention; this part did not rerun it. A later page runs it on these simulated apps: a retention test when group-mates pull each other along.

Limits

  • A self-test. I wrote the simulation and both plans, and the coupling is built in, so this shows how the plans behave on a process I know, not how they do on a real product.
  • Assumed coupling. Its form (a straight line in the share of active group-mates, on the log-odds scale) and its strengths were set. In a real product some members, such as the person who set up a family plan, may matter far more than others.
  • A calm world. No seasonality, no product changes, nobody leaves a group, and one month shock is the only common movement, so the error levels are lower than a real product would show. The ranking of the plans is the result to take, not the levels.
  • Two plans, both blind to the coupling. Neither uses a user's share of active group-mates. A plan that does is the obvious next test and could change the answer.
  • One overlap, one growth path. 15% of users in two groups and steady growth in new groups; the intervals are over simulated histories, not over these choices.

How this was checked

A fitted chance for a state that cannot happen (a user quiet in the month they join) is set to zero, so both plans always return finite forecasts.

A control setting with no coupling and no month shock has to land each plan within a declared bound a month ahead: the user plan missed by 0.94% (bound 2%) and the group plan by 1.48% (bound 3%). A plan that ignores tenure and last month's state fails that bound in the tests, so the check can fail.

Use this at your company

To run the same comparison on your own product, paste this prompt into an AI assistant that can read your data.

This method comes from Diogo Travassos's study "Forecasting active users when members share groups" (https://diogotravassos.dev/marketplace-experiments/group-forecast.html). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't.

Help me forecast monthly active users for an app where users belong to small groups, such as families, friend groups or teams, and one member's activity may depend on the rest of their group. Compare three plans: carry each user forward from their own state, carry each group forward and multiply by users per active group, and last year times recent growth as the baseline.

Data you need from me: each user's join month and group memberships, and which users were active in each month, for at least three years.

Method:
1. Fit each plan on the first part of the history only. For the user plan, estimate the chance of being active next month by months since joining and by whether the user is active this month. For the group plan, do the same for groups, plus users per active group.
2. From every month in the rest of the history, forecast one to three months ahead and score each forecast against what happened. Report the mean error with an interval, and compare each plan with the user plan month by month.
3. Split each month's miss of the group plan into new groups, groups kept or lost, and users per active group, and count which piece is largest.
4. Check whether a group's most active member going quiet is followed by more of the group going quiet, against groups where that member stayed.

Checks before trusting the answer:
- Write down what you expect before scoring, and report what missed.
- Keep last year times growth in every comparison.
- Rerun on a stretch with no unusual months: each plan should land close.

Report back: which plan to use, which piece of the group plan's miss to own, whether group dependence shows up in my data, and the limits, meaning what the history cannot tell and which choices drive the result.

In your report, say which study you followed and link it: https://diogotravassos.dev/marketplace-experiments/group-forecast.html

Method and checks

What the simulation assumes

14,000 possible users per history, in the shared-groups part's groups: 2 to 8 people (weights 22%, 20%, 18%, 15%, 11%, 8% and 6%) on a ring that stands in for social nearness, with 15% of users also in one second group among the 20 nearest theirs. Groups are created in ring order: new groups per month are Poisson with a mean of 24 in month 1, growing 2% a month. A group's first member joins when it is created; each other member joins after 0, 1, 2 or more months, with a 40% chance each month. A user is active in the month they join. The history runs 60 months.

From the month after joining, a user is active with a chance set on the log-odds scale by a base of −2.2, plus 3.6 if active last month, a user effect (SD 1.0), a first-group effect (SD 0.5), a month shock shared by every user that keeps 70% of last month's value and adds noise with SD 0.08, and the coupling: coupling times the share of the user's joined group-mates, across all their groups, who were active last month, minus one half. Coupling is 0, 1 or 2, so a user whose group-mates were all active has 1, 2.7 or 7.4 times the odds of one whose group-mates were all quiet. The control setting has no coupling and no month shock. Full declaration: DESIGN-group-forecast.md and group-forecast-protocol.json.

The three plans

Each plan is fitted once per history on months 1 to 36. The user plan estimates the chance a user is active next month by tenure (0, 1, 2, 3 to 5, 6 to 11, 12 or more months since joining) and by whether they are active this month; at an origin every joined user is carried forward from their observed state, and planned new users are active in their first month and carried forward the same way. The group plan does the same for groups (a group is active when at least one first-group member is), times users per active group by tenure and by whether the group was active the month before, plus planned new groups times users per new group. Last year times growth takes the target month a year earlier times actives at the origin over actives twelve months before it.

Planned new users and new groups: the mean of the origin month and the two before it, grown at the monthly rate of a least-squares line through the log of monthly arrivals over months 13 to 36. Fitted chances for a state that cannot happen, such as a user quiet in the month they join, are set to zero.

Scoring and intervals

Percentage error per forecast: plan minus actual, over actual. Per history, plan and horizon: the mean absolute error over 22 origins (months 36 to 57) and the mean signed error. Per setting: the mean over histories with a 95% Monte Carlo interval from 2,000 bootstrap resamples of histories, and the middle 90% of histories. Paired differences against the user plan use the same resampling. Every setting reuses the same draws for the same history, so differences between settings are paired too.

The bridge and the most active member

The bridge splits the group plan's month-ahead miss into new groups (actual minus planned new groups, times the plan's users per new group), groups kept or lost (actual minus planned active groups among those created by the origin, times the plan's users per such group) and users per active group (actual users minus actual groups times the plan's users per group). The pieces add up exactly.

Most active member: for each month 13 to 58 and each group with at least 3 members who joined at least 6 months earlier, the member with the most active months over the previous 6 (ties: lowest user number), active last month. Followers are the other members active last month and this month; a follower lapses if quiet in either of the next two months. The gap is the follower lapse share when the most active member lapsed minus the share when they stayed, per history; the coupling's part is the moderate setting's gap minus the no-coupling gap, paired by history.

Predictions written before the run

Six statements were committed with the settings, before any declared history was forecast; each was scored on its point value, and holds only if every part holds. 3 of 6 held.

Declared predictions and how they scored
No.PredictionResultScore
1one month ahead the user plan's error is below last year times growth (none)0.67 pointsheld
one month ahead the user plan's error is below last year times growth (moderate)0.56 pointsheld
one month ahead the user plan's error is below last year times growth (strong)0.45 pointsheld
2with no coupling, one month ahead, the group plan's error is at least the user plan's1.32 pointsheld
3at the base coupling, three months ahead, the group plan's error is below the user plan's0.66 pointsmissed
4the user plan's three-month error at strong coupling is at least 1.2 times its error with none1.122 timesmissed
5at the base coupling, users per active group is the biggest piece in more than half of months74.3%held
6at the base coupling the follower gap is at least 5 points above the same gap with no coupling3.86 pointsmissed
Checks declared before the run

Checks that could fail on a wrong plan:

  • Control, no coupling and no month shock, a month ahead: user plan error at most 2% (it was 0.94%), group plan at most 3% (1.48%), each plan's mean signed error within 1 point (−0.22 and +0.03). Passed. A plan that ignores tenure and state fails it in the tests.
  • Tests against small worked cases with known answers: both plans, last year times growth, the arrival plan and the fitted chances on a known chain.

Checks that confirm the code ran as declared but cannot fail on a wrong model: the flow identities for users and groups in every month, and the bridge pieces adding up to each miss.

Reproduce

With Python 3.12 and uv: uv sync --frozen, then uv run python -m sim.group_forecast for the run and uv run python -m sim.group_forecast_report for this page. uv run python -m pytest tests -q runs every test. No API, credential or downloaded dataset is used.

Files