lageval: lageval

Description Usage Arguments Value

Description

Evaluate the effects of different lags on the transition matrix. For each lag considered, an empirical transition matrix is calculated and the diagonal elements from this matrix are extracted so that autocorrelation effects can be considered.

Usage

1
lageval(tseries,statebounds,lagrange)

Arguments

tseries

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.

statebounds

Boundaries delineating the states to be considered.

lagrange

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

Value

A list consisting of two elements:

lagrange

The lagrange that was input to the function.

diagbylag

A list of vectors. Each element of this list corresponds to the diagonal elements of one state (defined by statebounds). The vector that comprises each element is the same length as lagrange and describes the diagonal element of the associated state at each lag under consideration.


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