Category Archives: GLS

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

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