Hello, I am having trouble figuring out how to analyze my ecological momentary assessment (EMA) data, or more specifically, how to set up the command. I am trying to test whether the number of completed EMA surveys is associated with changes in dietary restraint (TFEQ-R scores). The participants received between 1-4 EMA prompts daily for 12 months and TFEQ-R (FAC_R) was administered at baseline, 6 months, and 12 months. Originally, I aggregated the number of completed EMA surveys over 12 months and used this command
However, doing so would mean that I am associating the number of completed EMAs between 6 and 12 months to the TFEQ-R score at 6 months. How do I model the change in TFEQ-R score for each time interval (baseline - 6mos, 6mos - 12mos) as a function of the number of completed EMAs in the corresponding interval?
Thank you in advance!
Code:
mixed FAC_R c.no_comp_EMA##i.timept || ID:
Thank you in advance!
Comment