Prepares the components needed for prior specification and estimation. Also computes OLS estimates.
Usage
setup(
x,
p = 1,
deterministic = c("constant", "constant_and_dummy", "constant_and_trend"),
dummy = NULL
)Arguments
- x
A steady-state
bvarobject created bybvar.- p
Integer. The lag order of the VAR. Default
1.- deterministic
Character. The deterministic component to include. One of
"constant"(default),"constant_and_dummy", or"constant_and_trend".- dummy
Numeric vector of a dummy variable. Only used when
deterministic = "constant_and_dummy". DefaultNULL.