Exercise 2
In this exercise, we will use three time series to assess relative and absolute fit. You can download the time series by clicking the links below:
- Time series 1: shell aspect ratio in a lineage of planktonic foraminifera (Truncorotalia crassaformis) from Brombacher et al. (2023)
- Time series 2: mean number of chambers in a lineage of foraminifera (Globorotalia sp.) from Malmgren and Kennett (1981)
- Time series 3: first lower molar occlusal surface in a lineage of Pliocene Ogmodontomys (rodents) from Marcolini and Martin (2008)
Import and prepare the data for analysis as we did in exercise 1, none of the time series are log-transformed. Note that the three time series differ a lot in length (36, 72 and 8 samples). The shortest one is a good illustration of how little a very short sequence can tell us: the adequacy tests still run, but with only 8 samples the bootstrap distributions are wide, and mode-shift models cannot be fitted unless you lower the minb argument well below its default. When all the time series are on the correct format, use what you have learned in the previous sections to:
- Fit different univariate models and assess relative fit (AICc)
- Use adequacy tests to evaluate absolute fit of the model that fitted the data best according to relative fit
- If the difference between the first and second best model according to AICc is small (e.g., <2), you can also try to see if the second best model is an adequate statistical description of the time series
Questions to think about
- What are the different uses of relative and absolute fit tests?
- Is one type of test better than the other?
This was the last exercise for today. Tomorrow we will move on to multivariate models. See you then!