Dear Stata users,
I have a query about longitudinal analysis.
I originally ran growth models with data collection wave as the time indicator (coded as 0, 1, 2 for all participants). This meant participants with missing data at some waves were included in the analysis. Now, I would like to use actual years/months since baseline as the time indicator (as there is some individual variation in the time between data collection waves; e.g. 0, 5.79, 10.9 vs. 0, 5.90, 11.20). This new time variable obviously has missing values for participants who didn’t complete data collection waves, and therefore these participants are now not included in the analysis.
Apologies if this seems obvious, but how can I include these participants when using the more precise time indicator? Do I use imputation to replace the missing time data, or perhaps there is a Stata setting I need to apply before running the growth models?
Any thoughts much appreciated.
PS I have contacted the administration team to change my name (to Stephanie Schrempft)
Related Posts with Time variable - longitudinal analysis
"substr" does not work for the string with "_"Hi, I am trying to generate two scalars to store numbers from the string "crmlaw_2014_2018" and "te…
Does mediator make the relationship between the independent and dependent variables stronger?If we believe a variable is a mediator, does it make the relationship between the independent variab…
Linear restrictions in coefficients after using xtmg panel data commadDear collegues, I have estimated a mean group (Pesaran and Smith 1995) panel data model with "xtmg"…
Err Msg: depvar may not be a factor variableDear Statalist, I have a question about the error message in the title. It's really mysterious to m…
LMDI error messageHas anyone used the LMDI code in STATA? I have been trying to use the LMDI syntax to decompose water…
Subscribe to:
Post Comments (Atom)
0 Response to Time variable - longitudinal analysis
Post a Comment