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"
Proper way to merge dataHello I have two data sets, they both have the common variable person_ID. One dataset consists of th…
Proper way to merge dataHello I have two data sets, they both have the common variable person_ID. One dataset consists of th…
Expand panel data to the latest datapoint available by groupHi, I would like to expand the data to the latest datapoint available by group ("unit_id" in my cas…
Swimmer PlotCan someone please show me how to draw a Swimmer plot in Stata ? This is a type a graph used in Onco…
Proper way to merge dataHello I have two data sets, they both have the common variable person_ID. One dataset consists of th…
Subscribe to:
Post Comments (Atom)
0 Response to Question about stmixed: "Independent variables are required when options noconstant is specified"
Post a Comment