Hello,
I'm trying to run a multilevel mixed effects survival model using the stmixed command, where students are nested in schools, which are then nested in districts. I've already declared the dataset as a survival data using stset.
stmixed lowincome female || district: || sch_id:, distribution(rp)
When I run the command above, I receive this error message:
independent variables are required when option noconstant is specified
r(102);
I'm not sure what this means. As you can see, I did not specify "no constant" option in the syntax. I thought "lowincome" and "female" are taken as independent variables/covariates in this situation.
I'd appreciate any suggestions!
Related Posts with Question about stmixed: "Independent variables are required when options noconstant is specified"
Counting number of days between dates among different observations by groupHello, I am working on Windows 10, Stata 14.2 for a project that asks to count the number of days a…
Counting number of days between dates among different observations excluding overlap by groupHello, I am working on Windows 10, Stata 14.2 for a project that asks to count the number of days a…
Model with interactions vs joint estimationHello! I would appreciate some advice about choosing between a model with interactions (data in lon…
How to write a double foreach loopHi everyone, I had a question about writing a double loop. Below is my data for reference. In my da…
ARDL with daily frequency and with a business calendarI have a doubt, in the ARDL models with stata can they be run with a daily frequency, specifically w…
Subscribe to:
Post Comments (Atom)
0 Response to Question about stmixed: "Independent variables are required when options noconstant is specified"
Post a Comment