Last data update: 2014.03.03

R: Durbin-Watson statistic
test.DWR Documentation

Durbin-Watson statistic

Description

Perform the Durbin-Watson statistic of actual and reconstructed climate variables over the common duration

Usage

test.DW(x, y)

Arguments

x

actual climate variable

y

reconstructed climate variable

Details

perform the Durbin-Watson statistic of actual and reconstructed climate variables over the common duration

Value

The value of Durbin-Watson statistic

Author(s)

Zongshan Li zsli_st@rcees.ac.cn

References

J. Durbin, G.S. Watson (1950), Testing for Serial Correlation in Least Squares Regression I. Biometrika 37, 409-428.

See Also

lm

Examples

data(val)
test.DW(val[,1],val[,2])

Results