I am estimating an endogenous switching regression model by means of ssm. This latter should allow for probability weights, however my code stops working when I include them.
This code without including probability weights perfectly works.
Code:
ssm y $myx endummy , switch(endummy = $myz) adapt q(16) family(binom) link(probit)
Code:
ssm y $myx endummy [pw=weights], switch(endummy = $myz) adapt q(16) family(binom) link(probit)
no observations
r(2000);
r(2000);
Thank you in advance
0 Response to NO observations error using ssm with probability weights
Post a Comment