Bill Kendall wrote:Miguel,
It sounds like you might not have set up the three state example correctly. You say you added a fourth state? If so, that would not work because the simulated system represented by the data includes only three states. In other words there are no individuals transitioning to/from the unobservable state. Instead, pretend one of the three states is unobservable (e.g., delete each 'C' from the .inp file and then run the model with p(c)=0.
You need to be a bit careful with this approach - if you simulate a full MS data set with 3 states (call them A, B and C), assuming (during the simulation) that all states are observable, and that individuals are captured, marked and released in all 3 states, then if you change all C encounters to '0', you need to remember to eliminate any saturated '0' histories (e.g., for a 6 occasion study, anything looking like '000000'). MARK will warn you if you have the problem of frequencies of individuals never marked and released.
It is actually somewhat easier (and perhaps less error-prone) to simulate 3 states (2 observable, 1 unobservable), but simply have no releases in the unobservable state (which makes sense, perhaps, since if the state is unobservable, it is difficult to imagine a plausible way in which you would have newly encountered and marked individuals in that state). This is trivial to do using the simulation capabilities in MARK (covered in Appendix A in the 'book').