AutoRegressive Moving Average Correlation Structures

Hi All,

Here is the script ( Chapter6_jtf.new.r ) I ended up with at the end of class today (I was trying to plot a smoother through the residuals of the M3.gls model, but it didn’t actually work until after class) .  I have also uploaded the slides I did to explain ARMA models.  Tomorrow, we’ll work with some of your data and try to diagnose what to do with the random part of the model (fix heterogeneous variances, add random effects, add autocorrelation, or something else we haven’t gotten to yet).

Jack

Chapter 5 – Mixed Effect Models

Hi class –

Be sure to read the protocol that appears on page 90 for gls models, as Zuur uses it for mixed effect models in general.  A shorter version of it is in chapter 5 (bottom of p. 121).

Tomorrow we’ll start on Chapter 5 – Mixed Effects Models.  The main script I’ll be following is Chapter5_jtf.r .  I’ll also spend a little time simulating the M.lm and M2.lm models for the owls in the simulation script – Chapter5_Simulation.r .  This is the key chapter in the whole book, so be sure to ask questions if you don’t understand something.

Jack

R Script for Chapter 4

Hi,

Here is today’s script: Chapter4_jtf.r .   Be careful of the identify command.  You are supposed to click on the point you want to identify (the outlier) and then press the “Finish” button in the upper left corner of the plot window.  It will then tell you which record is the outlier (it should be 26).

Also, I didn’t get to it, but I have a script to simulate  a dataset for chapter 4 ( Chapter4_Simulation.r ).  Run through it, if you want.

Jack