Hi. I have data on 600 participants at 5 time points with 2 measurements at each time point for average (some missing data). I want to look at the change in nutrient intakes over the 5 time points. I have the data in long format. I want to include a random effect at the participant level, but I'm unsure how to do this using the mixed command - do I use participant ID in the random effect equation? Any help much appreciated.
Related Posts with Mixed command and random effects
Rename variables to remove part of the textDear Statalists, I have the following variables and would like to rename them to remove untitled###…
Simultaneously run through two forvalues loopsDear statalist, I'm trying to program the following commands more mechanically: Code: rename inte…
BetaregHi all, I have a propotion dependent variable that’s greater than zero and less then one. The mean …
Adding options to a package (.ado)Hi everyone, I have written a code to run the LFK index (Int J Evid Based Healthc. 2018 Dec;16(4):1…
Adding extra years to an existing date variableDear Statalist, I have a date variable created the following way: Code: gen PartDat_gli = . repl…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed command and random effects
Post a Comment