Following up on-list, for the benefit of anyone else.
Agnieszka, thanks for your question. Without a fully reproducible
script it's hard to say exactly what the problem is. Are you able to
provide the "data" object, or sending it directly (off-list) if you
prefer?
Short of that, the message "warning: logProb of data node Counts[1]:
logProb is -Inf." means the log-density for the node Counts[1] is
-Inf. This would be stemming from an invalid (or missing) value of
mu[1], which in turn is coming from the definition of mu[1]. I see
you're providing valid initial values for beta0, beta1, and beta2, so
none of those should be the problem. Therefore, it must be coming
from one of log(Pop[1]), or Var1[1]), or Var2[1] -- or, perhaps all of
these indeed have values, but the combination of them produces a
negative value (or identically 0) for mu[1], which would give the -Inf
log-density for Counts[1]. This is as far as I can help diagnose,
without more information about the data, or ideally a reproducible
script.
Good luck,
Daniel
> --
> You received this message because you are subscribed to the Google Groups "nimble-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nimble-users...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/nimble-users/38f49d9b-a2c2-4aef-b20e-efce2e51cf1an%40googlegroups.com.