Skip to content
Prev 16313 / 20628 Next

Serial correlation in random effects

Dear Daniel,

You could combine an AR1 per sector along time and an iid along year. The
former creates the AR1 correlation with the sector. The latter induces a
compound symmetry correlation among year. Thus making observations from
different sector but within the same year more similar to each ofther.

f(time, model = "ar1", replicate = sector) + f(year, model = "iid")

You could post the question to the INLA mailing list. Adding the
mathematical equation for the model you want will help.

Best regards,


ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at inbo.be
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be

///////////////////////////////////////////////////////////////////////////////////////////
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>

2018-03-12 16:31 GMT+01:00 Daniel Bartling <danielbartling at gmail.com>: