mcmc model stops running
Posted: Tue Sep 07, 2021 5:43 pm
Hello,
So my code worked with running this
however, when I add the iterations and burn in, it says 'MLwiN is running please wait' for a while, then just stops completely with no warning messages or any return.
There are a lot of cases so I am wondering if its too complex, but it work with the first type of mcmc code so I'm not sure
So my code worked with running this
Code: Select all
model<-log(death)~1+gender+education+parentdeath+offset(log(personyears))+(1|region)+(1|household)
model1<-runMLwiN(Formula=model, D="Poisson", data=dataset, estoptions=list(EstM=1))
Code: Select all
model<-log(death)~1+gender+offset(log(personyears))+(1|region)+(1|household)
model1<runMLwiN(Formula=model, D="Poisson", data=dataset, estoptions=list(EstM=1), mcmcMeth=list(burnin=500, nchains=2, iterations=2500, thinning=10)))