Hi
I have the following design : 65 participants have to label emotional faces. the hit rate (0 or 1) is the DV. I'm trying to fit a glmm model with predictors (intensity: continuous, emotion : categorical, testX: continous and all their interaction. in the fixed effect part I also include a depression measure to control for (GDS : continuous). for the random part (not really funny to understand with stata), i want the random intercept for subject (N) and for stimuli (stim). all subject have been exposed to all stimuli. all continuous IV have been centered around the mean I wrote the following syntax:
xtmelogit Hit c.GDS c.testX##i.emotion##c.intensity || N:|| FSTIM:,
1. i'm not sure to have written the correct syntax for my design.
2. i haven't the same result as R despite many test. Hit ~ GDS + testX * emotion * intensity + (1 | N)+(1|Stim)
3. does the syntax take into account the repeated measurement?
4: i'm puzzled by the random effect :
----------------------------------------------------------------------------
| No. of Observations per Group Integration
Group Variable | Groups Minimum Average Maximum Points
----------------+-----------------------------------------------------------
N | 64 40 40.0 40 1
FSTIM | 2,560 1 1.0 1 1
----------------------------------------------------------------------------
indeed, it s like the soft consider that their is 2560 stimuli as, in reality, their is 40 stimuli that 64 participants have experienced. could you help me to correct my syntax? i have tried many things and the problem remain the same.
thanks a lot
carole
I have the following design : 65 participants have to label emotional faces. the hit rate (0 or 1) is the DV. I'm trying to fit a glmm model with predictors (intensity: continuous, emotion : categorical, testX: continous and all their interaction. in the fixed effect part I also include a depression measure to control for (GDS : continuous). for the random part (not really funny to understand with stata), i want the random intercept for subject (N) and for stimuli (stim). all subject have been exposed to all stimuli. all continuous IV have been centered around the mean I wrote the following syntax:
xtmelogit Hit c.GDS c.testX##i.emotion##c.intensity || N:|| FSTIM:,
1. i'm not sure to have written the correct syntax for my design.
2. i haven't the same result as R despite many test. Hit ~ GDS + testX * emotion * intensity + (1 | N)+(1|Stim)
3. does the syntax take into account the repeated measurement?
4: i'm puzzled by the random effect :
----------------------------------------------------------------------------
| No. of Observations per Group Integration
Group Variable | Groups Minimum Average Maximum Points
----------------+-----------------------------------------------------------
N | 64 40 40.0 40 1
FSTIM | 2,560 1 1.0 1 1
----------------------------------------------------------------------------
indeed, it s like the soft consider that their is 2560 stimuli as, in reality, their is 40 stimuli that 64 participants have experienced. could you help me to correct my syntax? i have tried many things and the problem remain the same.
thanks a lot
carole
Comment