Learn R Programming

MoNAn (version 1.1.0)

autoCorrelationTest: 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)

Value

A number indicating the auto-correlation.

Arguments

ans

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

Examples

Run this code
# regression diagnostics
autoCorrelationTest(myResDN)

Run the code above in your browser using DataLab