Bayesian Treed Distributed Lag Models
Adjusting for expected changes in co-exposure (TDLMM)
Combines information from DLMs of single exposure
Combines information from DLMs of mixture exposures.
fast set intersection tool assumes sorted vectors A and B
diagnose
Calculates the distributed lag effect with DLM matrix for linear model...
dlmtree: Bayesian Treed Distributed Lag Models
Diagnostic control settings for dlmtree model fitting
Family control settings for dlmtree model fitting
Control settings for dlmtree model fitting, when used for heterogeneou...
Hyperparameter control settings for dlmtree model fitting
MCMC control settings for dlmtree model fitting
Control settings for dlmtree model fitting, when used for mixture mode...
Control settings for dlmtree model fitting, when used for monotone mod...
Control settings for dlmtree model fitting, when used for TDLNM
Fit tree structured distributed lag models
dlmtree model with fixed Gaussian process approach
dlmtree model with Gaussian process approach
dlmtree model with shared HDLM approach
dlmtree model with HDLMM approach
dlmtree model with nested HDLM approach
dlmtree model with fixed Gaussian approach
dlmtree model with nested Gaussian approach
Calculates the distributed lag effect with DLM matrix for non-linear m...
Calculates the distributed lag effect with DLM matrix for non-linear m...
Draws a new tree structure
Calculates subgroup-specific lag effects for heterogeneous models
Download simulated data for dlmtree articles
Calculates the lagged interaction effects with MIX matrix for linear m...
dlmtree model with monotone tdlnm approach
Calculates posterior inclusion probabilities (PIPs) for modifiers in H...
Returns variety of plots for model summary of class 'monotone'
Plots a distributed lag function for model summary of 'tdlm'
Plots DLMMs for model summary of class 'tdlmm'
Returns variety of plots for model summary of class 'tdlnm'
Makes a 'pretty' output of a group of numbers
predict
Multiple draw polya gamma latent variable for var c[i] with size b[i]
Truncated multivariate normal sampler, mean mu, cov sigma, truncated (...
Calculates the weights for each modifier rule
Centers and scales a matrix
shiny
Creates simulated data for HDLM & HDLMM
Creates simulated data for TDLM & TDLMM
Creates simulated data for TDLNM
Calculates the posterior inclusion probability (PIP).
Determines split points for continuous modifiers
summary
dlmtree model with tdlmm approach
dlmtree model with tdlnm approach
Integrates (0,inf) over multivariate normal
Estimation of distributed lag models (DLMs) based on a Bayesian additive regression trees framework. Includes several extensions of DLMs: treed DLMs and distributed lag mixture models (Mork and Wilson, 2023) <doi:10.1111/biom.13568>; treed distributed lag nonlinear models (Mork and Wilson, 2022) <doi:10.1093/biostatistics/kxaa051>; heterogeneous DLMs (Mork, et. al., 2024) <doi:10.1080/01621459.2023.2258595>; monotone DLMs (Mork and Wilson, 2024) <doi:10.1214/23-BA1412>. The package also includes visualization tools and a 'shiny' interface to check model convergence and to help interpret results.
Useful links