{
 "n_case_files": 79881,
 "groups_all_cases": {
  "other": 61222,
  "B": 16078,
  "O": 2581
 },
 "cases_with_several_querents": 765,
 "exclusions_primary": [
  [
   "cases without a valid date",
   1526
  ],
  [
   "(case, querent) pairs linked to a PERSON id",
   77494
  ],
  [
   "clients with both an O and a B case on their earliest O/B date (lower case number decides)",
   16
  ],
  [
   "index consultations censored (365 days)",
   0
  ]
 ],
 "index_by_group": {
  "B": 12379,
  "O": 1743
 },
 "mean_returns_by_group": {
  "B": 0.339,
  "O": 0.438
 },
 "share_returning_by_group": {
  "B": 0.183,
  "O": 0.238
 },
 "index_by_group_and_practice": {
  "B|forman": 5924,
  "B|napier": 6455,
  "O|forman": 138,
  "O|napier": 1605
 },
 "mean_returns_by_group_and_practice": {
  "B|forman": 0.265,
  "B|napier": 0.407,
  "O|forman": 0.609,
  "O|napier": 0.424
 },
 "primary": {
  "RR": 1.182,
  "L": 1.032,
  "U": 1.355,
  "alpha": 4.205,
  "n": 14122,
  "model": "negative binomial (NB2)"
 },
 "verdict": "inconclusive",
 "secondary_a_any_return_logit": {
  "OR": 1.36,
  "L": 1.197,
  "U": 1.545
 },
 "secondary_b_subtypes": {
  "dead_or_absent": {
   "RR": 1.502,
   "L": 0.941,
   "U": 2.398,
   "alpha": 4.46,
   "n": 12506,
   "model": "negative binomial (NB2)",
   "n_O": 127
  },
  "lost_or_stolen": {
   "RR": 1.124,
   "L": 0.736,
   "U": 1.716,
   "alpha": 4.507,
   "n": 12538,
   "model": "negative binomial (NB2)",
   "n_O": 159
  },
  "bewitchment": {
   "RR": 1.142,
   "L": 0.983,
   "U": 1.325,
   "alpha": 4.178,
   "n": 13844,
   "model": "negative binomial (NB2)",
   "n_O": 1465
  }
 },
 "secondary_c_subject_as_client": {
  "RR": 1.325,
  "L": 1.168,
  "U": 1.503,
  "alpha": 3.886,
  "n": 14212,
  "model": "negative binomial (NB2)"
 },
 "secondary_c_exclusions": [
  [
   "cases without a valid date",
   1526
  ],
  [
   "(case, subject) pairs linked to a PERSON id",
   78372
  ],
  [
   "clients with both an O and a B case on their earliest O/B date (lower case number decides)",
   11
  ],
  [
   "index consultations censored (365 days)",
   0
  ]
 ],
 "secondary_d_730_days": {
  "RR": 1.1,
  "L": 0.964,
  "U": 1.256,
  "alpha": 4.405,
  "n": 14122,
  "model": "negative binomial (NB2)"
 },
 "secondary_d_exclusions": [
  [
   "cases without a valid date",
   1526
  ],
  [
   "(case, querent) pairs linked to a PERSON id",
   77494
  ],
  [
   "clients with both an O and a B case on their earliest O/B date (lower case number decides)",
   16
  ],
  [
   "index consultations censored (730 days)",
   0
  ]
 ],
 "D2_same_day_cases_counted": {
  "RR": 1.155,
  "L": 1.024,
  "U": 1.303,
  "alpha": 3.285,
  "n": 14122,
  "model": "negative binomial (NB2)"
 },
 "stratified_napier_only": {
  "RR": 1.064,
  "L": 0.926,
  "U": 1.223,
  "alpha": 3.616,
  "n": 8060,
  "model": "negative binomial (NB2)"
 },
 "stratified_forman_only": {
  "RR": 2.226,
  "L": 1.539,
  "U": 3.221,
  "n": 6062,
  "model": "Poisson, robust SE (NB2 did not converge)"
 },
 "O_without_mind_topics": {
  "RR": 1.1,
  "L": 0.945,
  "U": 1.28,
  "alpha": 4.317,
  "n": 13757,
  "model": "negative binomial (NB2)"
 },
 "O_share_with_mind_topics": 0.209,
 "linkage_and_history_imbalance": {
  "mean_prior_consultations": {
   "B": 0.3,
   "O": 0.446
  },
  "share_with_a_consultation_beyond_follow_up": {
   "B": 0.148,
   "O": 0.151
  },
  "share_Forman": {
   "B": 0.479,
   "O": 0.079
  }
 },
 "S1_not_preregistered_dense_record_censoring": {
  "rule": "follow-up ends at the close of each practice's last year with at least N dated cases; index consultations later than 365 days before that are dropped. Chosen after the stamp, after seeing yearly case counts only.",
  "cutoffs": {
   "1000_cases_a_year": {
    "end": {
     "forman": "1601-12-31",
     "napier": "1633-12-31"
    },
    "result": {
     "RR": 1.158,
     "L": 1.008,
     "U": 1.33,
     "alpha": 3.995,
     "n": 13033,
     "model": "negative binomial (NB2)"
    },
    "exclusions": [
     [
      "cases without a valid date",
      1526
     ],
     [
      "(case, querent) pairs linked to a PERSON id",
      77494
     ],
     [
      "clients with both an O and a B case on their earliest O/B date (lower case number decides)",
      16
     ],
     [
      "index consultations censored (365 days)",
      1089
     ]
    ]
   },
   "100_cases_a_year": {
    "end": {
     "forman": "1603-12-31",
     "napier": "1640-12-31"
    },
    "result": {
     "RR": 1.176,
     "L": 1.027,
     "U": 1.347,
     "alpha": 4.186,
     "n": 14028,
     "model": "negative binomial (NB2)"
    },
    "exclusions": [
     [
      "cases without a valid date",
      1526
     ],
     [
      "(case, querent) pairs linked to a PERSON id",
      77494
     ],
     [
      "clients with both an O and a B case on their earliest O/B date (lower case number decides)",
      16
     ],
     [
      "index consultations censored (365 days)",
      94
     ]
    ]
   }
  }
 },
 "deviations": [
  {
   "id": "D1",
   "what": "The preregistered censoring rule (each practice's last dated consultation) was applied as written and censored nothing: Napier's practice has dated records to 1662, continued after his death, but fewer than 500 a year after 1634 and almost none after 1641; Forman's to 1611 but almost none after 1601. Clients indexed late in each record therefore have truncated follow-up. B clients are far more often Forman's than O clients are, so the truncation falls mostly on B and pushes the rate ratio toward the hypothesis. S1 reports two dense-record cut-offs chosen after the stamp.",
   "why": "Not foreseen: the thinning of the record after 1601 and 1634 was not known when the rule was written."
  },
  {
   "id": "D2",
   "what": "Returns are consultations dated after the index date (the preregistration's 'in the 365 days after the index date'), so other consultations on the index date itself are not counted. Counting them (index case still excluded) is reported as D2_same_day_cases_counted.",
   "why": "The preregistration did not say how to treat same-day cases, such as a decumbiture paired with the horary entry."
  },
  {
   "id": "D3",
   "what": "Parser corrected before publication: the first run read only the first querent of each case and failed to split refs that list several people ('#a #b'), dropping about 580 cases as unlinked. Every querent token in every cb:querent element now counts.",
   "why": "Bug found by the hostile review."
  },
  {
   "id": "D4",
   "what": "When a client has both an O and a B case on their earliest date, the lower case number decides the group (count in exclusions_primary).",
   "why": "The preregistration did not specify a tie-break."
  }
 ],
 "notes": [
  "The excess depends on practice composition: within Napier's practice alone the rate ratio is close to 1.10 with an interval including 1; Forman's O group is small.",
  "21% or so of O index clients also carry a mind topic, which the B group excludes by design; dropping them is reported (O_without_mind_topics).",
  "O is mostly bewitchment (afflictions blamed on witchcraft), so O vs B is largely 'illness blamed on witchcraft' vs 'ordinary illness', not open against bounded questions in general.",
  "O clients had more prior consultations and more consultations beyond the follow-up window: the groups differ in linkability and history, contrary to the preregistration's assumption that linkage bias affects both alike.",
  "No subtype is estimated precisely; the overall result is essentially the bewitchment result.",
  "names-master.xml also references possibly-forman.xml, which is not in the repository."
 ]
}