autoCorrelationTest function

autoCorrelationTest

autoCorrelationTest

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.

autoCorrelationTest(ans)

Arguments

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

Returns

A number indicating the auto-correlation.

Examples

# regression diagnostics autoCorrelationTest(myResDN)
  • Maintainer: Per Block
  • License: GPL (>= 3)
  • Last published: 2024-09-12

Useful links