causal_decompose: Estimation and decomposition of simultaneous equation model

Description Usage Arguments Value Examples

Description

Estimate and/or decompose a Simultaneous Equation Model into its recursive and Interdependent sub-systems

Usage

1
2
causal_decompose(data, eq.system, resid.est = "noDfCor", instruments,
  sigma.in = NULL)

Arguments

data

the data frame containing the data

eq.system

the system of equations (a list of formula objects, e.g. as in pkg systemfit)

resid.est

the estimation methods for the residual covariance matrix (as in systemfit)

instruments

the intruments used to estimate the model via 3-SLS (as in systemfit)

sigma.in

the Σ matrix, if the user wants to simulate a particular structure at stochastic level. Overrides 3SLS estimation if specified.

Value

A list with components

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data("macroIT")
eq.system = list(
               eq1 = C ~  CP  + I + CP_1,
               eq2 = I ~ K + CP_1,
               eq3 = WP ~ I + GDP + GDP_1,
               eq4 = GDP ~ C + I + GDP_1,
               eq5 = CP ~ WP + T,
               eq6 = K ~ I + K_1)

instruments = ~ T + CP_1 + GDP_1 + K_1

causal_decompose(data = macroIT,
               eq.system = eq.system,
               resid.est = "noDfCor",
               instruments = instruments,
               sigma.in = NULL)

SIRE documentation built on May 1, 2019, 7:30 p.m.

Related to causal_decompose in SIRE...