Greetings-
I am trying to use the SSC command mimrgns to compute predicted probabilities for eprobit models. The models are ERMs using endogenous treatment effects, if that matters, and are estimated using:
I then use:
This works for some of the models, but in several cases I get the following error:
inconsistent estimation sample levels 0 and 1 of factor VARNAME
an error occurred when mi estimate executed mimrgns_estimate on m=2
r(459);
Any advice will be most appreciated. Thanks.
I am trying to use the SSC command mimrgns to compute predicted probabilities for eprobit models. The models are ERMs using endogenous treatment effects, if that matters, and are estimated using:
Code:
mi estimate, saving(filename) esample(sampname) cmdok: svy: eprobit ...
Code:
mimrgns using filename, esample(sampname) dydx(*) predict(pr)
inconsistent estimation sample levels 0 and 1 of factor VARNAME
an error occurred when mi estimate executed mimrgns_estimate on m=2
r(459);
Any advice will be most appreciated. Thanks.
Comment