Method for calculating subgroup-specific lag effects for heterogeneous models: HDLM, HDLMM
estDLM(
object,
new.data,
group.index,
conf.level = 0.95,
exposure = NULL,
keep.mcmc = FALSE,
mem.safe = FALSE,
verbose = TRUE
)A list with the following components:
Specified confidence level
a list of modifers with a vector of values from the model
Number of observation per specified subgroup
list of index (row numbers) for specified subgroup
distributed lag effects per subgroups
credible intervals for distributed lag effects per subgroups
cumulative effects per subgroups
type of DLM class
data frame built for easier visualization of distributed lag effects for each subgroup (facet)
object of a model fit. Must be 'hdlm' or 'hdlmm'
data frame with new observations with the same number of modifiers
list of index (row numbers) for subgroup specification
confidence level for credible interval of effects
exposure of interest for 'hdlmm' method
store mcmc in the output
boolean memory parameter for rule index
TRUE (default) or FALSE: print output
estDLM