Greeting Experts,
I am using Stata to create and analyze a mixed effect model for my data. I tested participants (22) in two conditions (Hungry-Satiety) where they have to decide if they can reach or not(binomial response yes=1, no=0) a food item (divided into 4 categories,15 different items pro category, 60 items in total) presented in front of them in different positions (1 to 7). All participants responded to all the trials in both conditions.
So, I decided to to run a mixed effects models (crossed random effect) SUBJ (ID) and ITEMS with a binomial response (melogit). Considering the variables:
Response: Independant variable
Condition, Position and Items : Fixed Factors
ID: random itercept
Items: random slope
My question is if the following Syntax I wrote is right or I forgot to add something:
melogit Response Condition Position Items|| ID:R.Items
Thank a lot in advance for your answer
Related Posts with crossed random effects with binomial data
How to postfile glm output in IRR (relative risk)Dear all, I'd like to display glm model outputs using the postfile commend in stata (then transfer …
Help needed with melogitHi everybody, I am currently working on the last phase of my thesis and I struggle with the last pa…
Melogit model specificationHi everybody, I am currently working on the last phase of my thesis and I struggle with the last pa…
Problem with loop and outregHello everyone, I'm having trouble with a loop when trying to use the command outreg2 to extract th…
Ologit: conditional marginal effect and semi-elastictyDear All, After estimating an ordered logit model, I want to to calculate and draw the plot of cond…
Subscribe to:
Post Comments (Atom)
0 Response to crossed random effects with binomial data
Post a Comment