Data & evidence
Read restaurant return cohorts with incomplete observation windows
A restaurant adds this week's new customers to a repeat-order report, divides observed repeaters by everyone in the file and announces that retention has fallen. Many of the new entrants have had only a few days to return, while older entrants have had two weeks or more. Another analyst removes everyone who has not repeated and reports a very fast median return time. Both calculations can be arithmetically correct and answer a different question from the one management thinks it asked.
This laboratory follows the fictional restaurant group Willow Table through a ten-identity cohort. Five identities have an observed later-day repeat order. Two others have not yet received a full fourteen-day observation window. The exercise compares a raw observed fraction, a mature-cohort fraction and a product-limit time-to-event estimate. It reconstructs the risk set at every event time, explains the assumptions and shows where a calculator must refuse an unsupported tail estimate. Every record and outcome is invented teaching material, not a customer study or a restaurant benchmark.
Download the cohort records and the independent risk-table answers. The interactive lab changes the follow-up horizon and displays all three measures with their denominators. It does not identify real customers, send messages or claim that a marketing intervention caused a return. Its purpose is to make incomplete observation visible before a company turns a reporting artifact into a customer-strategy decision.
TRY THE CASE
Give every identity its actual observation time
Fictional inputs and stated model boundaries. The worked calculations and downloadable records below remain available without JavaScript.
- Define identity, first-repeat event and source coverage
- Preserve entry, event and confirmed observation endpoints separately
- Validate date order and unique cohort membership
- Derive horizon-specific events, censors and potential maturity
- Reconstruct just-before risk sets and group tied events
- Compare raw, mature and estimated measures with their denominators
- Check censoring assumptions and refuse unsupported positive tails
- Publish descriptive scope and a proportionate next evidence request
1. Define what counts as a repeat before selecting a method
Willow Table defines an entrant as a stable, eligible ordering identity whose first accepted completed order occurs in the cohort entry period. The event of interest is the first eligible completed order on a later calendar date. Same-day additional orders are outside this teaching event definition. That is a deliberate scope choice, not a universal definition of restaurant repeat purchasing. A business interested in same-day repeat occasions needs the appropriate timestamp and order-occasion rules.
The measurement unit is an ordering identity, not an independently verified individual person. One person may use several accounts, while a household or company may share an account. Cross-channel identity coverage may be incomplete. The report should name the unit it can actually follow instead of labeling every account a unique customer without evidence. A more precise statistical method does not repair a poorly defined identity population.
The cohort contract states which orders are eligible, how cancelled or refunded orders are handled, which channels are observed and when source coverage is accepted. A first order that is later removed from the eligible population may change entry status. A repeat that appears only in a missing channel is not observed by this dataset. These are data and scope questions that must be resolved before interpreting the time-to-repeat curve.
The operating question is bounded: how quickly do eligible ordering identities show a first later-day repeat within the observed channels, under the defined cohort and follow-up window? It is not lifetime loyalty, total future value or proof of customer satisfaction. Those questions require different outcomes and evidence. Start with the measurable event, then decide what decision that event can responsibly inform.
2. Keep entry date, event date and observation end separate
Each identity has an entry date, an optional observed first-repeat date and a confirmed observation-end date. Elapsed time is the difference between calendar-date labels in this fixture. It is not a precise count of twenty-four-hour periods. The observation endpoint represents accepted source coverage through the stated closed day. A production implementation with intraday decisions should use appropriate explicit instants and a defined business calendar.
The potential follow-up duration is observation end minus entry date. If a repeat occurs before that endpoint, the observed event duration is repeat date minus entry date. If no repeat is observed, the record tells us only that the identity did not show an eligible repeat through its observed duration. It does not establish that the identity will never repeat. This limited observation is called right censoring in the time-to-event framework.
The author's survival-model chapter describes right censoring and distinguishes it from missing or truncated observation. Willow Table applies the general concept to an original commercial event. The clinical, actuarial and reliability terminology does not turn a restaurant account into a patient or a machine. The relevant mathematical object is elapsed time to a defined event under limited follow-up.
Do not infer an observation endpoint merely from the latest order in the file. A quiet identity can still be fully observed through the source cutoff. Conversely, a recent order does not prove every other channel was complete. The coverage evidence needs to establish where the system could have observed the relevant repeat. If that coverage is unknown, the record is not automatically a valid censored observation at the report date.
3. Inspect the ten-identity teaching cohort
The common closed-day observation endpoint is 30 November 2026. The first-repeat dates are verified within the fictional source scope. Blank repeat dates mean no eligible event was observed through that endpoint, not a missing attempt to match the identity. The baseline horizon is fourteen elapsed calendar-date days. The record's analysis duration is the earliest of event time, potential follow-up and the selected horizon.
| Identity | Entry date | First repeat | Potential follow-up days | Fourteen-day analysis result |
|---|---|---|---|---|
| A | 1 November | 3 November | 29 | Event at day 2 |
| B | 2 November | 6 November | 28 | Event at day 4 |
| C | 25 November | Not observed | 5 | Censored at day 5 |
| D | 3 November | 10 November | 27 | Event at day 7 |
| E | 4 November | 11 November | 26 | Event at day 7 |
| F | 20 November | Not observed | 10 | Censored at day 10 |
| G | 5 November | 17 November | 25 | Event at day 12 |
| H | 16 November | Not observed | 14 | Censored at day 14 |
| I | 16 November | Not observed | 14 | Censored at day 14 |
| J | 16 November | Not observed | 14 | Censored at day 14 |
Five first repeats are observed within fourteen days. Three identities complete the full horizon without an observed repeat. C and F have only five and ten days of follow-up. They contribute information for those durations, but not the same amount of information as an identity observed for the full horizon. A table that turns all five non-repeat rows into identical fourteen-day failures loses that distinction.
Validate every date and identity before calculating the curve. Repeat must follow entry under this later-day definition and cannot follow confirmed observation end. Identity must be unique within the cohort. Observation end cannot precede entry. A blank observation endpoint is not a license to use today's date. Those checks protect the event population, which matters more than whether the final percentage is displayed with one or two decimals.
4. Calculate the raw observed fraction and name its limitation
The raw observed repeat fraction is five divided by ten, or 50%. It describes the fraction of cohort identities with an observed eligible event within the selected horizon and available follow-up. It is a factual count summary for the current extract. It does not give every entrant the same opportunity to repeat by day fourteen. C has had only five days and F only ten.
This measure can still be useful when its label and purpose are clear. An operations team may need the number of observed repeaters so far, and the raw count supports that question. The problem arises when the report calls 50% the completed fourteen-day repeat rate without acknowledging unequal follow-up. Adding recent entrants can lower that number even if the underlying return behaviour has not changed.
Compare cohorts only after checking their maturity distribution. A cohort collected at the end of a busy acquisition campaign may contain many recent entrants. A prior cohort may be fully mature. A difference in raw fractions could reflect observation time, acquisition mix, identity coverage or genuine behaviour. The percentage alone cannot distinguish those explanations. Show the follow-up distribution or at least mature and immature counts beside it.
The raw fraction is not a lower confidence bound or a guaranteed minimum future retention rate. Some identity definitions or source corrections can remove apparent events, and new information can change the accepted population. Under the fixed fictional records, additional observation could reveal later repeats among censored identities. That is a statement about incomplete follow-up, not permission to attach probabilistic certainty to a simple observed ratio.
5. Calculate a mature-cohort fraction as a different view
A mature-cohort view restricts the denominator to identities with potential follow-up of at least fourteen days. It includes A, B, D, E, G, H, I and J: eight identities. Five have repeated within fourteen days. The mature-cohort fraction is therefore five divided by eight, or 62.5%. C and F are excluded because their available observation periods are too short, not because they failed to repeat.
Use potential follow-up for this eligibility test, not the observed analysis duration. A repeats at day 2, so its time-to-first-event record ends at day 2, but its source coverage extends for 29 days. Excluding A because its event duration is less than fourteen would remove exactly the successful repeaters the metric is supposed to count. This is a subtle but important distinction between cohort maturity and time at risk for a first event.
The mature view gives equal opportunity within its selected population, but that population differs from the full ten-identity cohort. Earlier entrants may have come from another campaign, menu or trading environment. Dropping recent entrants can change the customer mix as well as observation completeness. A mature-cohort result is not automatically an unbiased answer for every newer entrant. State who is included and what decision that subset supports.
A company can publish the raw count, mature fraction and maturity coverage together. Here maturity coverage is eight of ten. The 50% raw fraction and 62.5% mature fraction are not competing calculations where one must be deleted. They answer different questions. The next method uses partial follow-up rather than dropping it, but it also requires assumptions that deserve explicit review.
6. Build the product-limit risk table from first principles
At each distinct event time, count identities still under observation and not yet having a first repeat immediately before that time. This is the risk set. Count how many first repeats occur at that time. The fraction remaining without a repeat is multiplied by one minus events divided by the risk set. Censored identities leave future risk sets without being counted as repeat events or permanent non-repeaters.
The NIST product-limit explanation gives this empirical time-to-event construction in a reliability setting. The guide uses the ordinary product-limit estimator for the fictional repeat event, without a parametric lifetime distribution. It does not use a modified probability-plotting estimator or claim that a reliability reference establishes restaurant behaviour. The numerical risk table is derived from the ten original records.
At day 2, all ten identities are at risk and A repeats. The estimated fraction without a repeat becomes 1 × (9 / 10) = 0.9. At day 4, nine remain at risk and B repeats, so it becomes 0.9 × (8 / 9) = 0.8. C is censored at day 5. There is no repeat at that time, so the estimated fraction stays 0.8 while the future risk set loses C.
At day 7, seven identities are at risk: D, E, F, G, H, I and J. D and E both repeat. The multiplier is 1 - 2/7 = 5/7, making the fraction without repeat 0.8 × 5/7 = 4/7. Treat the two tied events together against the same just-before risk set. Arbitrarily ordering them is unnecessary when the grouped calculation expresses the intended discrete-day event rule directly.
7. Finish the curve and interpret the endpoint
F is censored at day 10. The estimated fraction without repeat stays at 4/7 while the risk set loses F. At day 12, four identities remain at risk: G, H, I and J. G repeats, giving a multiplier of 3/4. The resulting fraction without a first repeat is (4/7) × (3/4) = 3/7. H, I and J are censored at the fourteen-day endpoint without another event.
The estimated cumulative repeat probability through day fourteen is one minus 3/7, or 4/7, approximately 57.14%, under the method's assumptions and this event definition. It lies between the raw observed fraction of 50% and the mature-cohort fraction of 62.5% in this particular fixture. There is no general rule that these measures must appear in that order for every dataset. Their relationship depends on event timing, censoring and population composition.
The risk table should show both event and censor counts, not just a smooth-looking line. Its rows at days 2, 4, 5, 7, 10, 12 and 14 explain exactly how the estimate was formed. A reader can see that late parts of the curve rely on fewer identities. Displaying 57.14% without the ten-identity starting count and dwindling risk set would imply more stability than the teaching data justify.
The estimate is not the probability that a marketing campaign worked. No campaign was randomized in this exercise, and no causal comparison was designed. It is also not a promise that approximately 57 of the next hundred customers will return. The model describes an estimated event-time distribution for a defined observed cohort under assumptions. Generalization to future cohorts needs substantially more evidence about comparability and operating conditions.
8. Make the censoring assumption visible
The product-limit interpretation requires that the censoring process be suitably non-informative for the event-time comparison being made. In practical language, leaving observation should not secretly select identities with systematically different unobserved return timing in a way the analysis ignores. The survival-model chapter's discussion of censoring distinguishes non-informative and informative mechanisms. Willow Table treats that as an assumption to investigate, not an automatic property of a report cutoff.
Administrative study closure is often easier to describe than unexplained source loss, but cohort entry time can still relate to behaviour. C and F may have joined during a promotion aimed at occasional visitors, while earlier entrants came through a different channel. Their shorter follow-up is linked to later entry, and later entry may be linked to return patterns. A single pooled curve could therefore hide a meaningful difference rather than simply adjust for harmless missing time.
Loss of identity coverage is another concern. If people who switch channels become unobservable, censoring may relate to a type of customer behaviour. If an outlet closure prevents return in the measured channel, treating affected identities as though they were randomly removed can be misleading. Record the reason observation ended where it is known. A null repeat date alone cannot establish a valid censoring mechanism.
The response can include better source coverage, separate cohort strata, a different measurement question or a more appropriate model reviewed by someone with the relevant statistical expertise. The guide does not claim that one convenient stratification solves every informative-censoring problem. It teaches the company to identify the assumption and preserve the evidence needed to assess it before presenting the estimate as decision-ready.
9. Compare two medians that answer different questions
The five observed repeat times are 2, 4, 7, 7 and 12 days. Their ordinary median is 7 days. That is the median among identities whose repeat was observed in this extract. It excludes every identity without an observed event, including those with full follow-up and those still immature. Calling it the median time for the entire cohort to repeat would change the population without warning.
The product-limit median is the earliest time at which the estimated fraction without repeat falls to one half or less. At day 7 it is 4/7, still above one half. At day 12 it falls to 3/7, below one half. The estimated median under this curve is therefore 12 days. The difference from the observed-repeaters-only median is a selection issue, not a rounding problem.
At a seven-day horizon, the curve has not reached one half. The appropriate output is “median not reached within the evaluated horizon,” not zero days and not a claim that the cohort never returns. A future event can move the curve after the horizon. A software system that forces a numeric median into every report can create misleading results precisely when the data provide an incomplete answer.
Neither median measures the average time between all purchases. The exercise stops each identity at its first eligible later-day repeat. Third and later orders do not enter the first-event curve. A company interested in recurring purchase frequency needs a different design that preserves repeated events and observation exposure. Reusing the first-repeat median as a complete customer-frequency measure would discard much of the behaviour it claims to summarize.
10. Change the horizon without changing its meaning
At seven days, A, B, D and E have repeated: four observed events out of ten identities. C is censored at day 5. The product-limit curve through day 7 ends at a no-repeat fraction of 4/7, so cumulative repeat is 3/7, approximately 42.86%. The raw observed fraction is 40%. Both refer to the seven-day event horizon, not the fourteen-day question shown earlier.
For the mature seven-day subset, only C lacks enough potential follow-up. Nine identities are eligible and four repeat by day 7, giving approximately 44.44%. F has ten days of potential follow-up, so it is mature for seven days even though it was immature for fourteen. A maturity flag is therefore a property of the chosen horizon, not a permanent classification that can be copied unchanged into every report.
At an event time tied with a horizon censoring time, the fixture counts the qualifying event at the horizon as observed and then removes remaining horizon-censored identities. This implements its inclusive “through day seven” event definition. A company using a different boundary must state and test it. Calendar-date coarsening can hide intraday order, so the result should not be presented as a precision the source does not contain.
The lab recalculates risk sets and maturity from the underlying dates each time the horizon changes. It does not merely trim the chart's visible axis while retaining the old denominator. That difference matters because both administrative censoring and mature-population eligibility depend on the selected window. An interactive tool should recompute the question, not decorate a fixed answer with a different label.
11. Refuse an unsupported tail estimate
Suppose every identity without an observed repeat loses valid source coverage by day 10, and no one remains observable through day 14. A step curve may stay flat after the last observed event, but that visual extension does not automatically establish the fourteen-day repeat probability. If a positive estimated no-repeat fraction remains and observation support ends earlier, the tool should mark the requested tail as unsupported under its declared reporting rule.
This is different from a cohort in which every identity has already repeated. In that absorbing first-event case, all events are known by their observed times. The lack of later at-risk identities does not hide an unobserved first repeat among the completed cohort. The model should distinguish those situations rather than applying one simplistic rule that every empty tail is either fully known or completely unknowable.
The output can still show the supported part of the curve, its final observed time and the number of identities contributing. It may also show an estimated median if the curve crossed one half while supported. A missing fourteen-day endpoint does not erase all earlier information. The company should avoid an all-or-nothing interface that either invents a complete answer or hides every useful observation because one requested horizon is beyond support.
Do not extrapolate the tail with an unnamed smooth function. A parametric or other model could be considered under additional assumptions and validation, but it would be a different method. The laboratory deliberately uses a bounded empirical estimate. Stating that boundary is more valuable than producing a precise-looking fourteen-day number from a record set that never observed the required period.
12. Build an interactive cohort lab with auditable risk sets
The model accepts unique identity records, entry dates, optional first-repeat dates, confirmed observation endpoints and an integer day horizon. It derives potential follow-up, analysis duration and event status. It groups tied event and censor times, computes the just-before risk count and applies the product-limit multiplier. It returns the curve, raw observed fraction, mature-cohort fraction, support endpoint and the two distinct medians.
Every output includes counts. A mature fraction without its denominator is incomplete. A product-limit endpoint without its support statement and risk table is easy to overinterpret. The interface labels the complement as “estimated first-repeat probability under stated censoring assumptions,” while the raw result is “observed repeaters so far within horizon.” These plain labels help users understand why apparently similar percentages differ.
The baseline fourteen-day output should show five observed events, two early administrative censors, three horizon censors, eight mature identities, raw fraction 0.5, mature fraction 0.625 and estimated cumulative repeat 4/7. The ordinary median among observed repeaters is 7, while the product-limit median is 12. At seven days, expected outputs change to four events, nine mature identities and cumulative repeat 3/7, with the product-limit median not reached.
Failure tests are as important as those expected answers. A repeat before entry must fail. A repeat after observation end must fail. Duplicate identity must fail. An impossible calendar date must fail. A missing observation endpoint must not be converted to today's date. A deliberately unsupported tail must return unavailable for the requested endpoint while retaining its earlier curve. These tests protect measurement meaning rather than merely checking that the page draws a chart.
13. Avoid identity practices that create false precision
The fictional identifiers A through J are stable teaching labels with no personal data. Real restaurants need a lawful, proportionate basis for the identity processing they undertake, appropriate access and a clear measurement purpose. This guide does not determine privacy compliance in any jurisdiction. It also does not recommend collecting names, payment credentials or sensitive customer information to make a retention chart appear more complete.
An account identifier can change, merge or be reused. A shared family account can generate several people's orders. Guest checkout may prevent a reliable cross-order link. Hashing an email does not by itself make the resulting linked history anonymous or establish that it represents one person. The report should record what the identity key means and which source population it covers, then interpret the outcome within that boundary.
Do not probabilistically merge identities merely because their order patterns look similar. Such a merge can create a false repeat where two people were actually involved. Failing to link two accounts used by the same person can create a false absence of repeat. These errors affect the event distribution in different directions. A company should assess identity quality and uncertainty rather than assume a polished curve validates the linkage.
If identity coverage changes during the study, preserve the effective and knowledge history. A new login integration may suddenly recognize repeats that previously appeared as guest orders. The apparent improvement could be a measurement change. A bridge or separate comparable cohort may be needed before claiming a behavioural change. Better measurement can legitimately increase recorded repeat activity without showing that a marketing or service initiative caused it.
14. Compare cohorts only after checking comparability
Two cohorts may differ in entry dates, acquisition channels, location, product mix, price exposure and observation coverage. A time-to-event method addresses limited follow-up under assumptions; it does not automatically balance these characteristics. A higher estimated repeat probability in one cohort can be an association with many possible explanations. The company needs a specific comparison design before making causal claims about a service change or campaign.
Define cohort membership before examining the preferred result. Choosing entry periods after seeing a favourable curve can create selection bias. If the business wants to examine a campaign cohort, retain its eligibility and assignment evidence rather than inferring exposure from a later purchase. If customers self-select into an offer, the analysis should state that limitation. A descriptive curve may still support useful questions without becoming a causal success claim.
When stratifying, show the smaller sample sizes and observation support. Splitting ten teaching identities into several segments would produce very unstable views. A segment curve with one early event can move sharply, and a missing tail can make comparisons incomplete. Do not rank managers or channels from such small groups. The laboratory is designed for reasoning practice, not performance evaluation of real people or locations.
For a formal intervention evaluation, a company might use a suitable randomized or otherwise justified design with prespecified outcomes and analysis. That is a separate study from this descriptive cohort. The current method can help define the event, horizon and coverage requirements for that study. Its value lies partly in showing what must be measured, not in pretending that any two curves constitute a controlled experiment.
15. Keep commercial value separate from repeat occurrence
A repeat order is an event, not a complete economic outcome. It can be small, heavily discounted, refunded or costly to fulfil. The first-repeat curve does not measure contribution, customer lifetime value or the cost of a retention campaign. Those analyses need additional definitions and may involve selection and censoring of their own. Do not multiply the estimated repeat probability by an invented average margin and present the result as verified financial value.
Management can connect the curve to a decision framework without conflating the measures. For example, it may investigate whether a confusing reorder journey prevents eligible accounts from returning. It can measure journey completion and customer feedback separately, then design a test. A descriptive delay pattern can generate a hypothesis about friction, but it cannot prove that sending a message on day seven is optimal or legally permitted.
Avoid turning a median into an automatic contact schedule. The observed-repeaters median of seven days and the product-limit median of twelve answer different questions, and neither establishes when a customer wants communication. Any outreach must follow the company's actual permissions and communication policies. The lab does not send messages or recommend a universal retention cadence. It supports a clearer measurement discussion before an intervention is planned.
The company should also retain negative outcomes where relevant. A customer who repeats after a complaint may still be dissatisfied; a satisfied tourist may never return to the same location. Repeat behaviour can be useful, but it is not a universal proxy for quality. A high-value company framework combines clearly defined measures with their limitations instead of forcing every customer question into one retention percentage.
16. Preserve a reproducible cohort release
The release pack contains the cohort definition, identity scope, accepted order contract, entry population, observation coverage, event extraction rule, horizon and calculation version. It retains the source snapshot or a controlled reference to it. The output includes the risk table and the distinction between observed, mature and estimated measures. A reviewer should be able to reproduce the result without access to customer secrets or a mutable live dashboard.
If a late repeat arrives, determine whether it belongs before the recorded observation endpoint and whether a revised release is required. Preserve the original report as it was known, then show the new version and affected event. Do not quietly add the repeat and leave the old review date on the file. A later event can change the curve legitimately, but the decision record should explain when that information became available.
The independent reviewer checks date differences, risk sets and tied events manually for the small fixture. They confirm that C leaves the risk set after day 5, that two events occur among seven at risk on day 7 and that G occurs among four at risk on day 12. They verify maturity from potential follow-up, not event duration. Those checks expose the mistakes most likely to survive an aggregate-only review.
The final note states what the evidence supports. For example: “In ten fictional ordering identities, five later-day repeats were observed. The fourteen-day mature subset contains eight identities. The product-limit estimate is 4/7 under the stated censoring assumptions, with limited sample support. This is descriptive measurement, not an intervention effect or financial forecast.” That is a usable conclusion because it keeps the decision boundary beside the attractive number.
17. Practice the decision with three different outcomes
In the baseline case, Willow Table should improve its reporting labels and retain all three views rather than choose the largest percentage. It can explain unequal follow-up and ask whether recent-entry cohorts differ in acquisition mix. The next action may be better coverage metadata or a longer observation period. The ten-record exercise does not justify changing a real campaign budget solely because one metric reads 57.14%.
In the unsupported-tail case, the company should show the supported curve and withhold the requested fourteen-day endpoint. It may recover missing source coverage, shorten the decision horizon or collect more data. It should not fill the tail to meet a dashboard requirement. The absence of a complete endpoint is a meaningful finding about the measurement process and should lead to a specific evidence request.
In an identity-change case, the company should investigate the comparable population before comparing repeat rates across releases. A new linkage method can alter both entry and event classification. The relevant bridge may identify newly linked repeats, removed false matches and changed coverage. A larger number can reflect better detection, while a smaller number can reflect correction of false links. Neither direction automatically establishes improved or worsened customer behaviour.
For each outcome, write a short handover naming the question, population, follow-up boundary, calculation and open assumption. Another colleague should understand why the result differs from the ordinary repeaters-divided-by-all calculation. The institutional capability is not ownership of a sophisticated term. It is the ability to preserve incomplete observation honestly and connect the available evidence to a proportionate next decision.
Methods, sources and boundaries
Boundary drill: shorten confirmed observation before reusing an event
Create a counterfactual extract in which each identity is observable for at most ten days after entry, retaining C's shorter five-day endpoint. In that extract G's day-twelve repeat is outside confirmed observation and cannot be used as an observed event. This is not a correction to the baseline record; it is a separate teaching scenario about what the shorter source coverage would support. Keep the two extracts separately identified so an analyst does not mistake an intentional scenario for a deletion of genuine evidence.
The shorter extract still observes A at day 2, B at day 4 and D and E at day 7. The remaining no-repeat fraction after day 7 is 4/7. Every identity still at risk leaves observation by day 10 without another observed event. The positive 4/7 remainder has no later observation support. A fourteen-day endpoint should therefore be unavailable under the lab's reporting rule, while the supported curve through day 10 remains inspectable. The tool should not insert G's known baseline event into a scenario that explicitly lacks that observation window.
This exercise tests a broader principle: a record's status follows the evidence available within the declared extract. A repeat date present in another later dataset can support a revised analysis, but it cannot silently repair an earlier information boundary. Preserve the source snapshot and availability rule when combining files. Otherwise the report may claim to handle censoring while benefiting from future events that the censored extract could not observe.
Now restore the original confirmed endpoints and the original G event. The baseline estimate returns to 4/7 cumulative repeat through day 14, with median 12. A correct reset restores both data and assumptions, rather than leaving a shortened endpoint paired with the later event. The expected failure for an event after observation end is therefore an important protection against a stateful interactive tool combining incompatible scenario inputs.
All records, identities, dates and outcomes are original fictional teaching material. The event is the first eligible repeat on a later calendar date, with a whole-date elapsed-time convention. The model implements an ordinary product-limit estimate with tied events grouped and event-at-horizon inclusion explicit. It does not supply confidence intervals, causal estimates, lifetime value, identity verification or a jurisdiction-specific privacy determination.
Primary references are NIST's product-limit explanation and the author's Survival Models chapter for time-to-event and censoring concepts. The restaurant cohort, exact fractions, reporting distinctions and operating workflow are this guide's own construction. Reliability and actuarial examples are not offered as evidence that invented restaurant outcomes are typical.
Use the cohort CSV to inspect every observation and the answer file to reconstruct the risk sets. Before adapting the method, verify the event, identity and observation contract. A useful repeat-order analysis can explain both what happened and how long each identity had a genuine opportunity to be observed.
Research sources and scope
- www.itl.nist.gov — primary reference ↗The NIST/SEMATECH handbook is a reference for statistical methods and assumptions; restaurant sample data and thresholds here are invented.
- www.postgresql.org — primary reference ↗Timestamp-with-time-zone and timestamp-without-time-zone are distinct types; ambiguous date input and time-zone handling require explicit choices.
Build on the foundations
These introductory resources are already available in the existing website library.
