Hi
Strangely, I am getting error when I use a uniform(1,100) prior (and no data), while getting expected results when my prior is uniform(-100,100)!
http://pastebin.com/McHMPZHqThe error is that all "proposals" are rejected, and getting the warnings listed below.
Hopefully, I did not do an embarrassing typo or something like that.
Thanks
T
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!
Iteration: 1980 / 2000 [ 99%] (Sampling)
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!
Warning (non-fatal rejection): Error in function stan::prob::uniform_log<N4stan5agrad3varE>(N4stan5agrad3varE): y is nan:0, but must not be nan!