estDLM {dlmtree}R Documentation

Calculates subgroup-specific lag effects for heterogeneous models

Description

Method for calculating subgroup-specific lag effects for heterogeneous models: HDLM, HDLMM

Usage

estDLM(
  object,
  new.data,
  group.index,
  conf.level = 0.95,
  exposure = NULL,
  return.mcmc = FALSE,
  mem.safe = FALSE,
  verbose = TRUE
)

Arguments

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

Details

estDLM

Value

A list of distributed lag effects per subgroups


[Package dlmtree version 1.0.0 Index]