Skip to content

Autocorrelation in a GAMM for nightly time series

3 messages · Andrew Digby, Gavin Simpson

#
On Thu, 2013-06-06 at 16:29 +1200, Andrew Digby wrote:
<snip/>
<snip />
Can I just check that you are using the normalised residuals here? The
default for `resid()` will give you deviance? residuals and won't take
the covariance matrix into account. The normalised residuals will do
that:

resid(mod$lme, type = "normalised")

See ?resid.lme with the nlme package loaded.

This often catches peoples out (me included) at first.

G

  
    
#
On 7/06/2013, at 02:42 , Gavin Simpson <gavin.simpson at ucl.ac.uk> wrote:

            
Yes, unfortunately I am using type='normalized'. Thanks for the tip though!

Andrew