Hi, I am working on gamma regression in rstan and have encountered some challenges.
The model I initially use is based on the following parameterization:
y ~ gamma(mu^2/phi, mu/phi)
where mu is defined as:
mu = exp(a0 + a_ind + b + c)
However, some post suggest the following reparameterization such as here and here:
y ~ gamma(inverse_phi, inverse_phi ./ mu)
I applied both parameterizations to two different datasets. For the first dataset, the original parameterization works “better” (no divergent transitions and low BFMI issues), while for the second dataset, the alternative reparameterization performs better.
My question is:
- Is it acceptable to choose the parameterization that provides “better” results for a given dataset, or should I aim to use a consistent parameterization across all datasets?
- Are there any considerations I should be aware of when deciding between these parameterizations?
Thank you!