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
Contract variables with statistics of another variable, or combination of contract and collapseDear Stata users, My following question may be easy but I could not find a direct command to achiev…
How can I calculate the average value of the 5 largest daily returns in the past 1 month? I can use "rangestat(mean) daily_ret, interval(yearmonth -1 0) by(stock_code)" to calculate the ave…
Question on How to Write Add in Conditions for a RegressionHello, I need to run some regressions in Stata with a few conditions. I am examining data on incenti…
Graph with two concentration indices using CONINDEXHi Everyone, I am trying to create a graph with two concentration indices using the CONINDEX comman…
Wildcard with exceptionI have a variable location, which I am splitting, e.g. Code: split location, p(", ") This generates…
Subscribe to:
Post Comments (Atom)
0 Response to Time variable - longitudinal analysis
Post a Comment