Learn R Programming

bdsm (version 0.3.0)

sem_C_matrix: Coefficients matrix for initial conditions

Description

Create matrix for Simultaneous Equations Model (SEM) representation with coefficients placed next to initial values of regressors, dependent variable and country-specific time-invariant variables.

Usage

sem_C_matrix(alpha, phi_0, periods_n, beta = NULL, phi_1 = NULL)

Value

matrix

Arguments

alpha

numeric

phi_0

numeric

periods_n

numeric

beta

numeric vector. Default is c() for no regressors case.

phi_1

numeric vector. Default is c() for no regressors case.

Examples

Run this code
alpha <- 9
phi_0 <- 19
beta <- 11:15
phi_1 <- 21:25
periods_n <- 4
sem_C_matrix(alpha, phi_0, periods_n, beta, phi_1)

Run the code above in your browser using DataLab