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"
heatplot assistanceHello dear statalist members, I'm working with the heatplot command and I have an issue with the lo…
Not duplicating Mata code / Using STATA in MataI have a function which is straightforward to implement in both the ado scripting language and mata.…
Is there any way to create age and education variables of a father?Hi all, I am working with the Multiple Indicator Cluster Survey (MICS) whose research design is sim…
selection Problem out of huge amount of occupationsDear Stata Community, Iam almost new to stata and Iam kind of stuck with a problem. May someone can…
loop over files in a folder to do an operation and save the combined result as datasetHello everyone!! I should specify, I am new to stata, so if i misuse terminology, please forgive me…
Subscribe to:
Post Comments (Atom)
0 Response to Question about stmixed: "Independent variables are required when options noconstant is specified"
Post a Comment