Hi everyone,
I am new to growth curve modelling on STATA. The purpose of my study is to examine if prenatal maternal mood predicts the trajectory of child depressive symptoms from age 9 to 13, hence I want to use the depression variables measured across the 3 timepoints to model a growth curve for each sex.
These are the variables for my study:
1. Depression_age9 (continuous variable)
2. Depression_age10 (continuous variable)
3. Depression_age13 (continuous variable)
4. Sex
5. Prenatal maternal mood
Looking at the mean of the depression scores of each timepoints, the depression scores are lowest at the second time point, so I want to do a non-linear growth curve model for my analysis. How can I extract the rate of change in trajectory for each participant on STATA?
To do a non-linear growth curve model, I've converted my dataset to a long data format and keyed in the following code:
mixed depression sex age age2 || subjectid: age age2, covariance(unstructured) mle
age: age of the participant
age2: squared of age
I want to do a regression analysis to see if prenatal maternal mood is associated with the variability in the rate of change in depression across the 3 timepoints.
Greatly appreciate it if anyone can help me with this, thank you!
I am new to growth curve modelling on STATA. The purpose of my study is to examine if prenatal maternal mood predicts the trajectory of child depressive symptoms from age 9 to 13, hence I want to use the depression variables measured across the 3 timepoints to model a growth curve for each sex.
These are the variables for my study:
1. Depression_age9 (continuous variable)
2. Depression_age10 (continuous variable)
3. Depression_age13 (continuous variable)
4. Sex
5. Prenatal maternal mood
Looking at the mean of the depression scores of each timepoints, the depression scores are lowest at the second time point, so I want to do a non-linear growth curve model for my analysis. How can I extract the rate of change in trajectory for each participant on STATA?
To do a non-linear growth curve model, I've converted my dataset to a long data format and keyed in the following code:
mixed depression sex age age2 || subjectid: age age2, covariance(unstructured) mle
age: age of the participant
age2: squared of age
I want to do a regression analysis to see if prenatal maternal mood is associated with the variability in the rate of change in depression across the 3 timepoints.
Greatly appreciate it if anyone can help me with this, thank you!
Comment