create_matrices {bain}R Documentation

Create Bain (in)equality constraint matrices

Description

Parses a character string describing a set of BAIN informative hypotheses, and returns BAIN (in)equality constraint matrices

Usage

create_matrices(varnames, hyp)

Arguments

varnames

A character (vector of characters), containing names of variables used in the hypotheses. which the model parameters are extracted.

hyp

A character string, containing a Bain hypothesis (see Details).

Details

Informative hypotheses specified as a character string by "hyp" should adhere to the following simple syntax:

Value

A pair of named matrices for every hypothesis specified in the hyp argument; one matrix named ERr, specifying equality constraints, and one matrix named IRr, specifying inequality constraints.

Author(s)

Caspar van Lissa


[Package bain version 0.2.1 Index]