/bin/bash: lhsmrhs: command not found
IRIS Toolbox Reference Manual

## data4lhsmrhs

Prepare data array for running

#### Syntax

    [YXE,List,XRange] = data4lhsmrhs(M,D,Range)

#### Input arguments

- `M` [ model ] - Model object whose equations will be later evaluated by calling `lhsmrhs`.

- `D` [ struct ] - Input database with observations on measurement variables, transition variables, and shocks on which `lhsmrhs` will be evaluated.

- `Range` [ numeric ] - Date range on which `lhsmrhs` will be evaluated.

#### Output arguments

- `YXE` [ numeric ] - Numeric array with the observations on measurement variables, transition variables, and shocks organised row-wise.

- `List` [ cellstr ] - List of measurement variables, transition variables and shocks in order of their appearance in the rows of `YXE`.

- `XRange` [ numeric ] - Extended range including pre-sample and post-sample observations needed to evaluate lags and leads of transition variables.

#### Description

The resulting array, `YXE`, is `nVar` by `nXPer` by `nData`, where `nVar` is the total number of measurement variables, transition variables, and shocks, `nXPer` is the number of periods including the pre-sample and post-sample periods needed to evaluate lags and leads, and `nData` is the number of alternative data sets (i.e. the number of columns in each input time series) in the input database, `D`.

#### Example

    YXE = data4lhsmrhs(M,d,range);
    D = lhsmrhs(M,YXE);

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.