validitycheck: validitycheck

Description Usage Arguments Value

Description

Calculate the Frobenious norm of the delta matrix for variosu stratification points

Usage

1
2
validitycheck(tseries1, tseries2, ilength1, ilength2,
statebounds,lag, nruns = 10000, CI = 0.95, mineffect = 0.05)

Arguments

tseries1, tseries2

Vectors of values defining two time series. The last observation in tseries1 should be considered to immediately precede the first observation of tseries2. The times at which these values were collected are not recorded, but knowledge of this feature will inform the selection of the lag.

ilength1, ilength2

The number of observations required for the dynamics in tseries1,tseries2 to converge. Although not required, these values will likely come from calling dynamicsconv.

statebounds

Boundaries delineating the states to be considered.

lag

The number of measurements separating each observation and the lagged observation. Transitions are counted between the ith and (i+lag)th measurements.

nruns

Number of bootstrap runs to determine significance.

CI

Width of confidence interval to be used to determine significance. Must be within (0,1).

mineffect

Absolute value of smallest effect size that will be considered significant.

Value

A list consisting of two elements:

norm

A vector where each element is the norm of the delta matrix associated with an iteration.

diagconfig

A matrix where the top, middle, and bottom rows correspond with the mean of the superdiagonal, diagonal, and subdiagonal entries of an iteration associated with each column.


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