Description
Analogous to other distributions, add support for the inverse Gaussian distribution with a sampling statement and Stan functions for working with its log density, CDF, and CCDF.
This can be a wrapper around the Boost implementation of the distribution.
Example
The motivation is from writing a GLM with an inverse Gaussian. Similar to rstanarm, I implemented a custom helper function to perform the likelihood computation and it seems like other people in the past have re-implemented the same set of algorithms. For example, see here and here. It would be nice to have this as a library function.
Current Version:
v4.4.0
Description
Analogous to other distributions, add support for the inverse Gaussian distribution with a sampling statement and Stan functions for working with its log density, CDF, and CCDF.
This can be a wrapper around the Boost implementation of the distribution.
Example
The motivation is from writing a GLM with an inverse Gaussian. Similar to rstanarm, I implemented a custom helper function to perform the likelihood computation and it seems like other people in the past have re-implemented the same set of algorithms. For example, see here and here. It would be nice to have this as a library function.
Current Version:
v4.4.0