Hello,
I'm currently trying to run predicted probability for a multilevel mixed-effects logistic regression using survey data. All the independent variables are categorical while the dependent is binary. The model looks like this:
xi: melogit covid i.income i.education i.ethnicity i.age [weighting] || id:, or nolog
When running the margins command, I used:
margins i.age
I keep getting age not found in list of covariates. I was wondering how I'd go about fixing that. Apologies if this is not enough information and/or too simple of a question, but I've been struggling trying to figure this out,
Thanks!
I'm currently trying to run predicted probability for a multilevel mixed-effects logistic regression using survey data. All the independent variables are categorical while the dependent is binary. The model looks like this:
xi: melogit covid i.income i.education i.ethnicity i.age [weighting] || id:, or nolog
When running the margins command, I used:
margins i.age
I keep getting age not found in list of covariates. I was wondering how I'd go about fixing that. Apologies if this is not enough information and/or too simple of a question, but I've been struggling trying to figure this out,
Thanks!
Comment