On Apr 18, 2014, at 12:08 AM, Linas Mockus <
linasm...@gmail.com> wrote:
> Hi,
>
> For overdispersed data negative binomial is commonly used. I am currently working with overdispersed particle count data and the model analogous to salm fits quite well. I am wondering if replacing
> y[dose,plate] ~ poisson(exp(alpha_star
> + beta * centered_logx[dose]
> + gamma * centered_x[dose]
> + lambda[dose,plate]) );
Just as an aside, we have a poisson_log() distribution defined
directly on the log scale:
poisson_log(y|a) = poisson(y|exp(alpha))
> with
> mu[dose,plate] <-alpha_star
> + beta * centered_logx[dose]
> + gamma * centered_x[dose]
> + lambda[dose,plate];
> y[dose,plate] ~ neg_binomial(shape[dose], shape[dose]/exp(mu[dose,plate]) );
And this makes it seem pretty clear that we want a version of
neg binomial directly parameterized in terms of mean and
dispersion.
>
> will do even better. What prior should I put on shape - gamma(0.001,0.001)?
You should choose something more realistic for what you think the shape
might be. Really fat gamma priors can lead to problems in sampling due
to posteriors getting too fat.
>
> I already tried using negative binomial for my problem but it didn't converge. After removing lambda it converged but then waic was higher than the one when using poisson.
If you don't have hierarchical priors for the lambda and reasonable
priors on alpha_star, beta, and gamma, you can get a very fat
posterior here, too --- basically a non-identification of the parameters,
which have an additive invariance in alpha_star and lambda.
- Bob
> Any suggestions how to improve the model?
>
> Thanks for help,
> Linas
>
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.