Decision Analysis Modelling Package with Parameters Estimation Ability from Individual Patient Level Data
Function to estimate the cost of liquids when IPD is in long format
Function to do some checks before plotting sensitivity analysis result...
Function to do some checks before plotting sensitivity analysis result...
Function to do some checks before plotting sensitivity analysis result...
Function to return the two parameters from a given expression separate...
Function to get the details of the outcome column
Get the definition of given parameter distribution defined in a file
Get the parameter values from reading a file
Function to estimate the cost of liquids taken (from IPD)
Get the parameter values using the provided statistical regression met...
Get the parameter values from reading a file
Function to get cols for the pattern given
help function to keep slope and intercept portion ready in mixed model...
help function to keep slope and intercept portion ready in mixed model...
help function to keep slope and intercept portion ready in mixed model...
Function to get the details of the time point column
Function to get the details of the trial arm
Get the attribute for the health state
Definition of health state class or health state constructor
Define an all zero trace matrix
Define an all zero trace matrix
Function to do some checks before plotting sensitivity analysis result...
Function to list probabilistic sensitivity analysis results parameterw...
Function to load the file containing trial data and return it
Make a string of covariates using addition sign
Function to map EQ5D5L scores to EQ5D3L scores and then add to IPD dat...
Function to to read the text form of resource use and replace it with ...
Definition of Markov model and trace
Definition of Markov model and trace
Function to get sum of entries of resource per individual at diff time...
Function to assign the values of nested parameters from the parameter ...
Estimation of ICER and NMB
Function to check the equality of column contents between two data set...
Function to check the sum of column contents between two data sets wit...
Function to check if the parameters are sufficient to define a distrib...
######################################################################...
Function to find the keyword for family of distribution in glm
check the list of Markov models
Function to check the variable null or NA
Check the transition probabilities for numeric values and unity row su...
Function to return treatment arm
Check if the values of health states are provided
Checks the input to run the Markov cycles and picks correct method
Function to do some checks before plotting sensitivity analysis result...
Join Markov model objects
Join health states
Convert frequency medication to given basis
Convert period to given basis
Convert volume to given basis
Convert unit strength to given basis
Convert weight per time to given basis
Convert wt per unit volume to given basis
Function to estimate the cost of inpatient admission but taken from GP...
Function to estimate the cost of inpatient admission but taken from GP...
Function to estimate the cost of liquids when IPD is in long format
Function to estimate the cost of liquids taken (from IPD)
#'####################################################################...
Function to estimate the cost of patches taken (from IPD)
Function to estimate the cost of tablets when IPD is in long format
Function to estimate the cost of tablets taken as an average cost per ...
Function to estimate the cost of tablets taken (from IPD)
Function to estimate the cost of resource use taken (from IPD)
create new dataset while keeping cox regression results and returned c...
Create a table to compare the descriptive analysis (short) from gtsumm...
Create a table to compare the descriptive analysis from gtsummary of t...
Function to return a list of parameters given
Define parameter lists for deterministic sensitivity analysis
ISLR flextable huxtable nlme tm Define parameter lists for determinist...
Define the table for transition
Do the diagnostic test for glm model assumption
Do the diagnostic test for lm model assumption
Function to do probabilistic sensitivity analysis
Function to do deterministic sensitivity analysis
Function to get the codes and the corresponding entries
Attribute parameters to probabilities of transition matrix
Attribute values in health states
Function to find the keyword for family of distribution in glm
Function to find the keyword for generating random numbers the distrib...
Function to find the keyword for regression methods
Function to return parameters with in a expression containing operator...
Function to find the parameters that determine the probability distrib...
Function to get sum of multiple columns of observations
Function to find the keyword for survreg distribution
Form expression to use with glm()
Form expression to use with lm()
Form expression to use with mixed models
Function to get the weight and time units
Function to get the weight and volume units
Function to get the details of the age column
Function to keep the column name, coded values and non response code i...
Function to extract the unit hospital inpatient admission by matching ...
Function to extract the unit cost by descirption of AandE att matching...
Function to extract the unit hospital inpatient admission by matching ...
Function to extract the unit hospital inpatient admission by matching ...
Convert the combined dose to its individual component numerical value ...
Convert the combined dose to its individual component numerical value ...
Function to get the details of the EQ5D column
Function to get extension of a file name
Function to get the details of the gender column
Function to return mean age from a data frame
Get the mortality rate values from reading a file
#'####################################################################...
Function to estimate the cost of patches taken (from IPD)
Function to estimate the cost of tablets when IPD is in long format
Function to estimate the cost of tablets taken (from IPD)
Function to plot CEAC
Function to plot results of sensitivity analysis do_sensitivity_analys...
Function to do some checks before plotting sensitivity analysis result...
Plot efficiency frontier
Function to plot mean and SE for longitudinal observations for twogrou...
Function to plot mean and SE for longitudinal observations for twogrou...
E1. Plot a Markov model
Plot cost effectiveness acceptability curve
Plot the predicted survival curves for covariates keeping the others f...
Plotting and return the residuals after cox proportional hazard model
Plotting and return the residuals after survival model
Plotting survival function for all covariates using survfit
Plotting survival function for all covariates calculated from cox regr...
Populate transition matrix
Predict risk/hazard function for cox ph regression
Do the prediction for regression
Function to report deterministic sensitivity analysis
Function to get the subset of data compared to a string after trimming...
Function to get the subset of data compared to a string after trimming...
Function to get the subset of data compared to a string after trimming...
Function to return 0 if the param is not null or NA trimming the white...
Set the attribute for the health state
Definition of strategy - or arm
Function to summarise and plot probabilistic sensitivity analysis
Create the the values of cost and utility while transition
######################################################################...
######################################################################...
######################################################################...
Function for generalised linear mixed model
######################################################################...
######################################################################...
Function for mixed effect regression
######################################################################...
######################################################################...
Bivariate regression for correlated observations
######################################################################...
Function to convert ADL scores to a T score
Function to add EQ5D3L scores to IPD data
Function to add EQ5D5L scores to IPD data
Function to convert promis3a scores to a T score
Function to estimate the cost of tablets taken (from IPD)
Function to check the variable null or NA
A collection of functions to construct Markov model for model-based cost-effectiveness analysis. This includes creating Markov model (both time homogenous and time dependent models), decision analysis, sensitivity analysis (deterministic and probabilistic). The package allows estimation of parameters for the Markov model from a given individual patient level data, provided the data file follows some standard data entry rules.