Best way to model a binary, co-occurring event (binge episodes) affecting a continuous process? #76
-
|
Hello! First off, thanks for ctsem and the supporting papers/tutorials, which really helped me get into continuous-time thinking! I'm currently working on a research question about the effects of binge-eating episodes on momentary negative affect, and a continuous-time model seems like the perfect fit. The ambulatory assessment data contain around 130 participants, 20–25 prompts per participant across 5 days, with a mean interval of ~3h. My outcome is negative affect (NA). The binge episodes (and their timing) were recorded on a continuous scale, but they were heavily zero-inflated, so I recoded them into a binary 0/1 indicator using prespecified clinical thresholds. My first instinct was a TDpred impulse for the binges: it's the sparsest option, captures their immediate impact, and fits the data really well. But since binges are associated with elevated NA, they aren't really external shocks, so I suspect the impulse effect would mostly just absorb the contemporaneous binge–NA association (or am I missing something?). So I'm weighing a few options and would really appreciate some advice, because I'm not sure which is best:
I appreciate any tips and there's probably an even better approach I haven't thought of. Thanks so much! Code: #Impulse Model: #Disspiative: #Moderator: #Transform for Pars (?) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
This gets a bit complicated I think honestly! To do it really properly you need to consider that the regulation of NA may anyway differ based on the level of NA itself, and then ask whether allowing this to be additionally moderated by binge is improving the model. I gave it a few iterations with some ai help, see if this makes sense to you: |
Beta Was this translation helpful? Give feedback.
This gets a bit complicated I think honestly! To do it really properly you need to consider that the regulation of NA may anyway differ based on the level of NA itself, and then ask whether allowing this to be additionally moderated by binge is improving the model. I gave it a few iterations with some ai help, see if this makes sense to you:
binge_ctsem_zero_inflated.html