deltatrans: deltatrans

Description Usage Arguments Value

Description

Calculate the difference between two transition matrices and determine which differences are significant.

Usage

1
deltatrans(tm1, tm2, nruns = 10000, CI = 0.95, mineffect = 0.05)

Arguments

tm1

First transition matrix. Must be in format that is produced by a call to transmat

tm2

First transition matrix. Must be in format that is produced by a call to transmat

nruns

Number of bootstrap runs.

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 three elements:

delta

Matrix summarizing tm2$prob-tm1$prob

.

sigmat

Matrix with a 1 for significant differences and 0 otherwise.

prettydelta

delta with only signficant values, rounded to two decimal places, printed.


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