# Poisson Likelihood with normal priors

**URL:** <https://discourse.mc-stan.org/t/poisson-likelihood-with-normal-priors/19755>\
**Category:** Modeling\
**Tags:** poisson\
**Created:** [December 11, 2020, 11:13am UTC](https://discourse.mc-stan.org/t/poisson-likelihood-with-normal-priors/19755 "2020-12-11T11:13:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Trung\_Dung\_Tran](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@Trung\_Dung\_Tran](https://discourse.mc-stan.org/u/Trung_Dung_Tran)\
**Post date:** [December 11, 2020, 11:58am UTC](https://discourse.mc-stan.org/t/poisson-likelihood-with-normal-priors/19755/2 "2020-12-11T11:58:45Z")

</div>

In this [discussion](https://discourse.mc-stan.org/t/rstan-on-windows/16673/70), I see the first warning, maybe it is related to the installation.

Have you tried to fit the model with a simulated dataset? My experience when I try a new model is to fit it with a simulated data (with varying sample sizes). If Stan works properly, it means that the reason is not because of Stan.

P/S: If I am correct, specification by, e.g., y\sim dist() is equivalent to using target += dist\_lpdf. However, for me, the former is more readable.

---

_[View the full topic](https://discourse.mc-stan.org/t/poisson-likelihood-with-normal-priors/19755)._
