Workflows for Health Technology Assessments in R using Discrete EveNts
Define parameters that may be used in model calculations (list)
Define parameters that may be used in model calculations (uses express...
Define the modifications to other events, costs, utilities, or other i...
Define events and the initial event time
Adjusted Value Calculation
Transform a substituted expression to its Abstract Syntax Tree (AST) a...
Calculate the cost-effectiveness acceptability curve (CEAC) for a DES ...
Calculate conditional dirichlet values
Calculate conditional multivariate normal values
Creates a vector of indicators (0 and 1) for sensitivity/DSA analysis
Cycle discounting for vectors
Cycle discounting
Calculate instantaneous discounted costs or qalys for vectors
Calculate instantaneous discounted costs or qalys
Calculate discounted costs and qalys between events for vectors
Calculate discounted costs and qalys between events
Draw a time to event from a list of parametric survival functions
Calculate the Expected Value of Perfect Information (EVPI) for a DES m...
Extracts items and events by looking into assignments, modify_item, mo...
Extract all items and events and their interactions from the event rea...
Extract PSA results from a treatment
Perform luck adjustment
Modify the time of existing events
Modify the value of existing items
Modify the value of existing items
Generate new events to be added to existing vector of events
Survival Probaility function for conditional Gompertz distribution (lo...
Helper function to create a list with random draws or whenever a serie...
Select which values should be applied in the corresponding loop for se...
Draw from a beta distribution based on mean and se (quantile)
Conditional quantile function for exponential distribution
Conditional quantile function for gamma distribution
Quantile function for conditional Gompertz distribution (lower bound o...
Conditional quantile function for loglogistic distribution
Conditional quantile function for lognormal distribution
Conditional quantile function for normal distribution
Conditional quantile function for weibull distribution
Conditional quantile function for WeibullPH (flexsurv)
Use quantiles from a gamma distribution based on mean and se
Draw Time-to-Event with Time-Dependent Covariates and Luck Adjustment
Creates an environment (similar to R6 class) of random uniform numbers...
Draw from a beta distribution based on mean and se
Draw from a Conditional Gompertz distribution (lower and upper bound)
Draw from a conditional Gompertz distribution (lower bound only)
Draw from a dirichlet distribution based on mean transition probabilit...
Draw from a dirichlet distribution based on number of counts in transi...
Replicate profiles data.frame
Draw from a gamma distribution based on mean and se
Draw time to event (tte) from a Poisson or Poisson-Gamma (PG) Mixture/...
Run simulations in parallel mode (at the simulation level)
Run the simulation
Create an iterator based on sens of the current iteration within a sce...
Deterministic results for a specific treatment
Summary of sensitivity outputs for a treatment
Summary of PSA outputs for a treatment
Toolkit to support and perform discrete event simulations without resource constraints in the context of health technology assessments (HTA). The package focuses on cost-effectiveness modelling and aims to be submission-ready to relevant HTA bodies in alignment with 'NICE TSD 15' <https://sheffield.ac.uk/nice-dsu/tsds/patient-level-simulation>. More details an examples can be found in the package website <https://jsanchezalv.github.io/WARDEN/>.