# Dirichlet regression

**URL:** <https://discourse.mc-stan.org/t/dirichlet-regression/2747>\
**Category:** Modeling\
**Tags:** techniques\
**Created:** [December 13, 2017, 7:49am UTC](https://discourse.mc-stan.org/t/dirichlet-regression/2747 "2017-12-13T07:49:30Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![andre.pfeuffer](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andre.pfeuffer](https://discourse.mc-stan.org/u/andre.pfeuffer)\
**Post date:** [December 19, 2017, 11:52am UTC](https://discourse.mc-stan.org/t/dirichlet-regression/2747/9 "2017-12-19T11:52:01Z")

</div>

> [@stemangiola](#):
>
> Why the gamma representation should be better than the “beta regression”

beta “limits” you to [0,1], its based upon gamma distribution.  
See for understanding the beta distribution:

[http://varianceexplained.org/r/beta\_binomial\_baseball/](http://varianceexplained.org/r/beta_binomial_baseball/)

> How come something quite common such as softmax/dirichlet regression has never been encountered/established in stan-like languages?

softmax is implemented in Stan and used by some models in Stan. I have no time to do a  
research, but I used it myself. Dirichlet regression I have never seen.

BTW, there are interpretations of exponential, gamma, weibull, lognormal distributions and connections  
eg. the exponential and the poisson. Normally we define a problem and then we think about, but you came  
with the tool first and then ask how you can use it, like how I can nail that screw with my hammer.  
Sorry, if I sound judging. Just my 2 cents.

[https://cran.revolutionanalytics.com/web/packages/betareg/vignettes/betareg.pdf](https://cran.revolutionanalytics.com/web/packages/betareg/vignettes/betareg.pdf)

---

_[View the full topic](https://discourse.mc-stan.org/t/dirichlet-regression/2747)._
