sensitivity: sensitivity

Description Usage Arguments Value

Description

Produces delta matrices comparing two different phases for various combinations of lag and state boundaries.

Usage

1
sensitivity(tseries1, tseries2, stbdyrange,lagrange)

Arguments

tseries1

A vector of values defining a time series. The times at which these values were collected are not recorded, but knowledge of this feature will inform the selection of the lag.

tseries2

A vector of values defining a time series. The times at which these values were collected are not recorded, but knowledge of this feature will inform the selection of the lag.

stbdyrange

A list of vectors. Each list element provides boundaries for delineating the states.

lagrange

A vector indicating which lags, in units of number of observations, are to be considered.

Value

A list consisting of three elements:

stbdyrange

The lagrange that was input to the function. For reference in deltamats, each element of the list has been named "Bdy1", "Bdy2",...

lagrange

The lagrange that was input to the function.

deltamats

A list of length length(stbdyrange)*length(lagrange). Each element consists of a prettydelta matrix summarizing the difference between the dynamics of tm1 and tm2. For reference, each element is named "BdyX_by_LagX", where X comes from the names supplied in stbdyrange and Y is a value from lagrange.


vancebee/MarkovSCD documentation built on May 13, 2019, 1:37 a.m.