I appear to have to go back to basics however when coding the different temperary emigration/immigration parameters.
Below are the parameter specifications I think should work
- Code: Select all
GammaDoublePrime.share.zero<-list(formula=~1, fixed=0, share=TRUE)#For no temporary emigration
GammaDoublePrime.share.dot<-list(formula=~1,share=TRUE)#For random but constant temporary emigration
GammaDoublePrime.share.time<-list(formula=~time,share=TRUE)#For random but time varying temporary emigration
When I run the robust model the random emigration models (.dot, and .time) work as expected. The the no emigration model does not. I get estimates of zeros for GammaDoublePrime, but 0.5 for GammaPrime.
If I code no emigration without the share=TRUE, then it works as expected with the estimates as zeros for both parameters.
- Code: Select all
GammaDoublePrime.zero<-list(formula=~1, fixed=0)
GammaPrime.zero<-list(formula=~1, fixed=0)
So...is it not possible to fix a parameter and share it? Its not idea to code them as separate parameters as that adds many extra models that I'm not interested in the the do_analysis() function with create.model.list
Thanks! R