estDLM | R Documentation |
Method for calculating subgroup-specific lag effects for heterogeneous models: HDLM, HDLMM
estDLM(
object,
new.data,
group.index,
conf.level = 0.95,
exposure = NULL,
return.mcmc = FALSE,
mem.safe = FALSE,
verbose = TRUE
)
object |
an object of a model fit. Must be 'hdlm' or 'hdlmm' |
new.data |
a data frame with new observations with the same number of modifiers |
group.index |
a list of index (row numbers) for subgroup specification |
conf.level |
confidence level for credible interval of effects |
exposure |
exposure of interest for 'hdlmm' method |
return.mcmc |
store mcmc in the output |
mem.safe |
boolean memory parameter for rule index |
verbose |
TRUE (default) or FALSE: print output |
estDLM
A list of distributed lag effects per subgroups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.