Question
Asked 9th Jan, 2017

Best statistical test for longitudinal study?

I am working on a longitudinal study with 140 participants divided in 3 groups. The participants were assessed every 2 years from 2010 (4 time-points in total), so time-points are equally distributed, but there are some dropouts, so some patients are missing some time-point. 
The assessment consisted of some tests, the results of which are discrete numerical variables (e.g. one of these is the MoCA test, which is a cognitive test with different tasks and for each task the participant is given a score; the final score is the sum of the partial scores).
My goal would be to show any difference between groups in the progression of the scores through time.
After some readings I am thinking to use a mixed effect model with the random part on the single individual level and the fixed part on the group level, would that make sense? What other statistical model could I use?

Most recent answer

Mona Valinataj
Macquarie University
Hi
I collected longitudinal data with irregular time intervals. I collected data from mobile app users in three waves of surveys soon after they finished using the app. Can you suggest the best method for analysing longitudinal data with uneven time interval? and the software which can be used for such analysis?

Popular answers (1)

Hume F. Winzar
Macquarie University
I agree with both Cauane and Georgio above.
You are dealing with a multi-level analysis of panel data with 4 repeated measures.
When it comes to the wonderful stats package, R, it's a fair bet that someone has faced a similar problem and shared their solutions. See the link attached: Multilevel analysis: panel data and multiple levels.
3 Recommendations

All Answers (8)

Giorgio Vacchiano
University of Milan
how about time series clustering (package tsclust in R)? Also, be aware that correlation or regression-based tests on multiple time series that have the same underlying structure (eg temporal autocorrelation) may produce inflated p values.
2 Recommendations
Cauane Blumenberg
causale consultoria
You can also use a multi-level analysis via MLWin. As Giorgio said, you must be aware of the correlation, however multi-level analysis deals with this correlation on its core.
In this case, the individuals repeated measures (scores) will be level 1 variables, while the individuals themselves will be level 2 variables.
1 Recommendation
Hume F. Winzar
Macquarie University
I agree with both Cauane and Georgio above.
You are dealing with a multi-level analysis of panel data with 4 repeated measures.
When it comes to the wonderful stats package, R, it's a fair bet that someone has faced a similar problem and shared their solutions. See the link attached: Multilevel analysis: panel data and multiple levels.
3 Recommendations
Marco Toffoli
University College London
Thank you Cauane, Giorgio and Hume, I will try using what you suggest and get back here with my results in case someone else is interested in the question.
Marco Toffoli
University College London
Thank you very much to everybody for the help. For anybody interested I am adding here a link to the discussion I started on statalist asking for specifics about syntax.
Kelvyn Jones
University of Bristol
I would very strongly recommend you  look  at this
which has syntax for many software environments  including  Stata
these are the chapters
Table of Contents
Section I: Building Blocks for Longitudinal Analysis
CHAPTER 1: Introduction to the Analysis of Longitudinal Data
CHAPTER 2: Between-Person Analysis and Interpretation of Interactions
CHAPTER 3: Introduction to Within-Person Analysis and Model Comparisons
Section II: Modeling the Effects of Time
CHAPTER 4: Describing Within-Person Fluctuation over Time
CHAPTER 5: Introduction to Random Effects of Time and Model Estimation
CHAPTER 6: Describing Within-Person Change over Time
Section III: Modeling the Effects of Predictors
CHAPTER 7: Time-Invariant Predictors in Longitudinal Models
CHAPTER 8: Time-Varying Predictors in Models of Within-Person Fluctuation
CHAPTER 9: Time-Varying Predictors in Models of Within-Person Change
Section IV: Advanced Applications
CHAPTER 10: Analysis over Alternative Metrics and Multiple Levels of Time
CHAPTER 11: Analysis of Individuals within Groups over Time
CHAPTER 12: Analysis of Repeated Measures Designs Not Involving Time
CHAPTER 13: Additional Considerations and Future Directions
2 Recommendations
Mona Valinataj
Macquarie University
Hi
I collected longitudinal data with irregular time intervals. I collected data from mobile app users in three waves of surveys soon after they finished using the app. Can you suggest the best method for analysing longitudinal data with uneven time interval? and the software which can be used for such analysis?

Similar questions and discussions

Warning in Lavaan, variance-covariance not positive definite!, model is not identified?
Question
5 answers
  • Mugaahed Abdu Kaid SalehMugaahed Abdu Kaid Saleh
Dear colleagues,
I am new to R, I have been using Amos for conducting CFA but came to learn that when dealing with Likert scale, Lavaan in R is a better tool to do such analysis.
I started using lavaan to conduct CFA and report its fit indices.
I have four factors after conducting EFA, 4 to 5 items under each factor.
I did the following:
cfamodel <- "
communication =~ Com1+Com2+Com3+Com4+Com5
networking=~ Net1+Net2+Net3+Net4+Net5
problemsolving =~ ProblemS1+ProblemS2+ProblemS3+ProblemS4
tech =~ Tech1+Tech2+Tech3+Tech4+Tech5"
fit <- cfa(cfamodel, data = rdata, ordered = c("Com1", "Com2", "Com3", "Com4", "Com5", "Net1", "Net2", "Net3", "Net4", "Net5", "ProblemS1", "ProblemS2" ,"ProblemS3" , "ProblemS4", "Tech1", "Tech2", "Tech3" ,"Tech4", "Tech5"))
However, I get this warning:
Warning message:
In lav_model_vcov(lavmodel = lavmodel, lavsamplestats = lavsamplestats, :
lavaan WARNING:
The variance-covariance matrix of the estimated parameters (vcov)
does not appear to be positive definite! The smallest eigenvalue
(= -2.260671e-18) is smaller than zero. This may be a symptom that
the model is not identified.
I tried finding similar issues online for potential answers, but I failed to find so.
I found one place in the internet talking about the same warning as for second order models, my model is not a second order model. in fact is only CFA after EFA, as I don't have dependent variables to go for SEM structure model.
I would like to know if this warning means I can not continue?
if there is a similar thread that I could not find, kindly share it here.
The other doubt I have is; can I draw a neat CFA model through lavaan (attached the output of my try)?
Thank you very much in advance.
Mugaahed

Related Publications

Chapter
Longitudinal data are measurements or observations taken from multiple subjects repeatedly over time. The main theme of this book is to describe autoregressive linear mixed effects models for longitudinal data analysis. This model is an extension of linear mixed effects models and autoregressive models. This chapter introduces longitudinal data and...
Article
Full-text available
One of the most important characteristics in determining the dendrometrical properties of a stand is the annual height increment of the trees. On the basis of these increments, natural phases of the trees� life are defined. In the present study the data concern the height increments of the main trunk of 25-year-old Scots pine, as well as simulated...
Got a technical question?
Get high-quality answers from experts.