autoCorrelationTest: autoCorrelationTest

View source: R/4_auxiliaryFunctions.R

autoCorrelationTestR 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)

MoNAn documentation built on Sept. 12, 2024, 5:08 p.m.