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"
generate an identifier variable that changes with every 3 observations?Hi folks. I have a dataset of this form: Code: * Example generated by -dataex-. To install: ssc in…
Interpreting Logit transformation of dependent variableHello all, In my master thesis I am using difference and system gmm. The problem is that the depende…
Establishing parallel trends in a probit differences-in-differences modelHi, I have a question that's slightly more conceptual than related to direct stata output. I unders…
problem with legendUsing the below codes, I could create three graphs and combine them into one nice graph. As shown in…
Codes for cross sectional dependence tests (i.e. Baltagi (2012); Biased-adj LM (Pesaran et al., 2006) Pesaran CDLMPlease, let me know what are the commands to run Baltagi et al. (2012) CD, Bias-adjusted LM test (Pe…
Subscribe to:
Post Comments (Atom)
0 Response to Question about stmixed: "Independent variables are required when options noconstant is specified"
Post a Comment