Learn R Programming

dlmtree (version 1.1.1)

dlmEst: Calculates the distributed lag effect with DLM matrix for linear models.

Description

Calculates the distributed lag effect with DLM matrix for linear models.

Usage

dlmEst(dlm, nlags, nsamp)

Value

A cube object of lag effect x lag x mcmc

Arguments

dlm

A numeric matrix containing the model fit information

nlags

total number of lags

nsamp

number of mcmc iterations