Learn R Programming

sstvars (version 1.1.6)

check_exoweights: Checks whether the given exogenous transition weights for simulation are correctly specified.

Description

check_exoweights checks whether the given exogenous transition weights for simulation are correctly specified.

Usage

check_exoweights(M, exo_weights, how_many_rows, name_of_row_number)

Value

Throws an error if the exogenous weights are incorrectly specified.

Arguments

exo_weights

Exogenous transition weights weights given for simulation in some context.

how_many_rows

how many rows the exogenous weights should have?

name_of_row_number

what is the name of the object whose value should determine the the number of rows in the exogenous weights?

Details

Used by simulate.stvar, predict.stvar, GIRF, and GFEVD.