seasrescheck function

Seasonal Residual Checks

Seasonal Residual Checks

Tests the residuals for any remaining seasonality.

seasrescheck(res)

Arguments

  • res: residuals from some time series regression model.

Details

Plots: i) histogram of the residuals, ii) a scatter plot against residual order, iii) the autocovariance, iv) the cumulative periodogram (see cpgram)

Examples

# cardiovascular disease data # (use an offset of the scaled number of days in a month) data(CVD) model = cosinor(cvd~1, date='month', data=CVD, type='monthly', family=poisson(), offsetmonth=TRUE) seasrescheck(resid(model))

Author(s)

Adrian Barnett a.barnett@qut.edu.au

  • Maintainer: Adrian Barnett
  • License: GPL (>= 3)
  • Last published: 2022-03-21

Useful links