Skip to contents

Fit and control

tdmm()
Fit a Bayesian time-dynamic model with optional mixed effects
tdmm.control() tdmm_control()
Computational controls for TDMM fits
tdmm.priors()
Family-specific default TDMM priors
tdmm.parallel()
Parallel TDMM fitting wrapper

Summaries, plots, and diagnostics

summary(<tdmm>)
Summarize a fitted TDMM model
plot(<tdmm>)
Plot TDMM coefficient functions
plot.trace(<tdmm>)
Plot TDMM posterior traces
recover.tdmm.betas.ci()
Reconstruct TDMM coefficient-function intervals
make.tdmm.plot.grid()
Construct a TDMM plotting grid

Data checks

check.bernoulli.balance()
Check a binary Bernoulli response.
check.gaussian.response()
Check a numeric Gaussian response.
check.poisson.counts()
Check a nonnegative integer Poisson response.
check.tdmm.data.structure()
Check TDMM input data structure
check.tdmm.family.data()
Check TDMM data for an outcome family
check.tdmm.subject.balance()
Inspect observations per subject

Simulation helpers

data.gen.tdmm.bern()
Generate Bernoulli TDMM simulation data
data.gen.tdmm.gauss()
Generate a Gaussian TDMM simulation dataset
data.gen.tdmm.pois()
Generate Poisson TDMM simulation data