-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Altering hyperpriors in bma to avoid numerical problems #75
base: master
Are you sure you want to change the base?
Conversation
This is failing five separate tests of |
error relate to checks of BMA, looks like output values don't quite match the expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to address the test failures
@drnickisaac I think you might be right. Smells like the same problem we had with sparta. That seemed to be an R version or OS issue with random number generation. This is an on-going problem but I can't think of a better test. Hopefully we can fix this here and they wont mess with the random number generators in the future |
While you are at it did you see the warnings about seed?
We should change to use set.seed() rather than the seed argument to JAGS. 2 birds 1stone. |
@AugustT It looks like you fixed it in a PR to my branch on 5th Feb. It looks like the fix was as simple as adding |
I've looked at |
I think in the sparta case I was able to replicate the error on my PC and then use the new numbers to update my test. I dont think I have done that for the BRCindicators case |
I cant get the random number stuff fixed. Sparta uses R2jags, BRCindicators uses JAGSui, that is the only thing I can see that explains the difference. For now I think we will have to remove this test. |
I get a few warnings |
No: that's because the first year estimate is a fixed number, so no
variatuon among chains.
…On Mon, 29 Mar 2021, 10:32 Dr Tom August, ***@***.***> wrote:
I get a few warnings At least one Rhat value could not be calculated. I
assume this is because the test dataset is so small?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6PTKAITIMU2PIKE6LY3Q3TGBJNFANCNFSM4Y3LECJA>
.
|
Oh right, is that a warning we should handle then? |
Ideally, yes.
It would be great if that warning were suppressed. It is entirely to be
expected, but potentially alarming for a naive user.
Nick
…On Mon, 29 Mar 2021 at 21:38, Dr Tom August ***@***.***> wrote:
Oh right, is that a warning we should handle then?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6PTKA23HXEAVO5ZM77LTDTGDXPHANCNFSM4Y3LECJA>
.
|
# Conflicts: # tests/testthat/Rplots.pdf
It seems like travis tests are no longer working @robboyd was going to look into alternatives |
@JimBacon is investigating Travis replacement options for Indicia. You can probably stick with Travis as this work is non-commercial? |
… the input data to be in multiple formats. I also tided up the outputs (removing csv files) and sped up the call to the Monte-Carlo algorithm by 100 fold.
We found a problem whereby 0 was included in the prior range of
sd
parameters: when converted into precisions, this permitsInf
to be included in the distribution of precision parameters, thus causing fail in JAGS. Fix is to add a small number to the hyperpriors.A few other documentation issues fixed