I propose we just remove the rejection warning message
altogether in 2.0.
There are two cases where it comes up:
1. Early in adaptation and occassionally during sampling
when step sizes are too large.
2. During inititalization or during sampling when the
parameters don't have the correct constraints specified.
The warning message seems to both confuse users and undermine
their trust in their own models and Stan as a sampler. So I
think it's better if we just get rid of it.
In case (2), the fact that samples continue to be rejected
will provide some clue.
Another issue is that only some of our functions throw these
execptions --- others just return NaN silently.
-Bob
> On Aug 8, 2013, at 11:02 PM, Markian Pahuta <
mark....@gmail.com> wrote:
>> The code runs, and I obtain reasonable estimates, however I get the following error
>> Informational Message: The parameter state is about to be Metropolis rejected due to the following underlying, non-fatal (really) issue (and please ignore that what comes next might say 'error'): Error in function stan::prob::lkj_cov_log(N4stan5agrad3varE): Covariance matrix is 1.#INF:0, but must be finite!
>> If the problem persists across multiple draws, you might have a problem with an initial state or a gradient somewhere.
>> If the problem does not persist, the resulting samples will still be drawn from the posterior.
>> My prior on the standard deviation seems reasonable, and eta is 1... so I am not sure why I am getting this error. Is my parameterization incorrect?
...