<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Cliff,<div><br></div><div>The immediate problem appears to be a problem in the MakeLifeTable function, which BaSTA calls to produce a life table. The error message is saying that all of the DeathAges that are predicted by basta, and sent to the MakeLifeTable function, are "NA". Therefore, it appears that basta is somehow failing to predict any ages at death.<div><br></div><div>What does the rest of "out" look like? (e.g. summary(out))</div><div><div>Does it allow you to produce plots of traces/trajectories?</div><div><br></div><div>Cheers,</div><div>Owen</div><div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On 7 Nov 2011, at 11:03, Cliff Cunningham wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear BaSTa,<div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>After several runs I have typed out$lifetable and got the following</div><div><br></div><div><div>> out$lifetable</div><div>NULL</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>I should report I got several warning messages (see bottom) when I ran the following: </div><div><div>Survival parameters converged appropriately. </div><div>DIC was calculated</div><div>.Warning messages:</div><div>1: In max(DeathAges, na.rm = TRUE) :</div><div> no non-missing arguments to max; returning -Inf</div><div>2: In max(wa) : no non-missing arguments to max; returning -Inf</div><div>3: In MakeLifeTable(x, ax = 0.5, n = 1) : NAs introduced by coercion</div></div><div><br></div><div><br></div><div>My code was as follows, </div><div><br></div><div><div>out <- basta(object = Males.dat$newData, studyStart = 1979, studyEnd = 1982, burnin=1000 ,niter=10000, nsim=4, parallel=TRUE, ncpus=4)</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>In this one I had all the birthdays at 1978, and first captures in 1979.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Here are the errors from the </div><div>Multiple simulations finished.<div>Total MCMC computing time: 3.91 minutes</div><div><br></div><div>Thanks so much!!</div><div><div><div style="font-size: 12px; "><br></div><div style="font-size: 12px; "> <span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>Cliff Cunningham</div><div style="font-size: 12px; "><br></div><div style="font-size: 12px; "><br class="Apple-interchange-newline"> Professor</div><div style="font-size: 12px; "><span class="Apple-tab-span" style="white-space: pre; ">        </span>Biology Department</div><div style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; ">        </span>Duke University</div><div style="font-size: 12px; "> 130 Science Drive</div><div style="font-size: 12px; "><span class="Apple-tab-span" style="white-space: pre; ">        </span>Durham NC 27708<br class="webkit-block-placeholder"></div><div style="font-size: 12px; "><span class="Apple-tab-span" style="white-space: pre; ">        </span>Phone 919-660-7356<br></div><div style="font-size: 12px; "><br></div><div style="font-size: 12px; "><a href="http://www.biology.duke.edu/cunningham">http://www.biology.duke.edu/cunningham</a></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></div></div>_______________________________________________<br>Basta-users mailing list<br><a href="mailto:Basta-users@lists.r-forge.r-project.org">Basta-users@lists.r-forge.r-project.org</a><br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users<br></blockquote></div><br></div></div></div></div></body></html>