Advice for psychology students wanting to implement hierarchical longitudinal models
I am quite interested in Bayesian longitudinal hierarchical models. They provide a flexible approach for testing a range of psychologically interesting hypotheses:
flexible modelling of individual differences in the effect of time
within subject covariates
predicting between person parameters from between person covariates
flexibility in modelling distributions of level 1 and level 2 variables
and more
I tend to use a Bayesian approach to estimating parameters in such models. This offers several advantages. In particular:
it's simple to incorporate non-normal distributions
it's easy to include non-linear effects
inference can readily be performed on parameters tailored to a particular hypothesis
the whole supporting framework of posterior predictive checks, model recovery simulations, plotting fits, model comparison, and so on is a nice way to do model development.
I have a post discussing getting started with Bayesian approaches.
Nonetheless, for many students that I supervise, it would take too long to acquire the statistical and programming expertise necessary to implement such models. Thus, this post explores alternative options for students interested in implementing a multilevel model.
Other options
A good book for getting started with multilevel approaches to repeated measures data is Applied Longitudinal Data Analysis by Singer and Willett. UCLA has implemented many of the exercises in a range of software packages.
In general, many of my students have existing training with SPSS. The SPSS mixed-effects program MIXED is thus often a good starting point. "Multilevel and longitudinal modeling with IBM SPSS" (available as an ebook at Deakin) provides a tutorial style introduction with examples of longitudinal psychology applications.
Other common options that involve dedicated multilelvel software include MlWin and HLM.
R has the nlme and the lme4 packages. If you're familiar with R, these are good options.













