autoCorrelationTest {MoNAn}R Documentation

autoCorrelationTest

Description

The autoCorrelationTest indicates the degree to which the values of the dependent variable of consecutive draws from the chain in phase 3 are correlated. Here lower values are better. Values above 0.5 are very problematic and indicate that a higher thinning is needed.

Usage

autoCorrelationTest(ans)

Arguments

ans

An object of class "result.monan" resulting from an estimation with the function estimateMobilityNetwork().

Value

A number indicating the auto-correlation.

Examples

# regression diagnostics
autoCorrelationTest(myResDN)

[Package MoNAn version 1.0.0 Index]