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 replace inconsistent identity code with the majority identity within 6 years?I have 140,000 firms for 2010-2015. I want to check whether the industrial code (indcode) is consist…
Panel data - dropping all observations after a switchHi everyone, I have panel data below (just one id shown), it is sorted by id and date I want to be …
Creating a dummy based on a combinationHi all, I am trying to create a dummy variable based on the particular combination of two other dum…
Name variableHello, I have a dataset with a variable called "Country". I would like to know the code to know the…
Seeking a way to examine the sensitivity of one variable with respect to another (both a time series)Hi, this maybe a very rookie question, but many thanks for any help. I have a data like this Sta…
Subscribe to:
Post Comments (Atom)
0 Response to crossed random effects with binomial data
Post a Comment