Tools for modelling, ML estimation, validation analysis and simulation of non homogeneous Poisson processes in time.

Simulates events from one dimensional nonhomogeneous Poisson point processes (NHPPPs) as per Trikalinos and Sereda (2024, <doi:10.48550/arXiv.2402.00358>). Functions are based on three algorithms that provably sample from a target NHPPP: the time-transformation of a homogeneous Poisson process (of intensity one) via the inverse of the integrated intensity function (Cinlar E, "Theory of stochastic processes" (1975, ISBN:0486497996)); the generation of a Poisson number of order statistics from a fixed density function; and the thinning of a majorizing NHPPP via an acceptance-rejection scheme (Lewis PAW, Shedler, GS (1979) <doi:10.1002/nav.3800260304>).

Calculate Overall Survival or Recurrence-Free Survival for breast cancer patients, using 'NHS Predict'. 
            The time interval for the estimation can be set up to 15 years, with default at 10.
            Incremental therapy benefits are estimated for hormone therapy, chemotherapy, trastuzumab, and bisphosphonates.
            An additional function, suited for SCAN audits, features a more user-friendly version of the code, with fewer inputs, but necessitates
            the correct standardised inputs.
            This work is not affiliated with the development of 'NHS Predict' and its underlying statistical model.
            Details on 'NHS Predict' can be found at: <doi:10.1186/bcr2464>.
            The web version of 'NHS Predict': <https://breast.predict.nhs.uk/>.
            A small dataset of 50 fictional patient observations is provided for the purpose of running examples with the main two functions,
            and an additional dataset is provided for running example with the dedicated SCAN function.

Providing a common set of simplified web scraping tools for working with the NHS Data Dictionary <https://datadictionary.nhs.uk/data_elements_overview.html>.
    The intended usage is to access the data elements section of the NHS Data Dictionary to access key lookups.
    The benefits of having it in this package are that the lookups are the live lookups on the website and will not need to be maintained.
    This package was commissioned by the NHS-R community <https://nhsrcommunity.com/> to provide this consistency of lookups.
    The OpenSafely lookups have now been added <https://www.opencodelists.org/docs/>.