1

I need to simulate bivariate beta distribution, $BIBETA(6, 20, 2)$ in r. I am looking for a package/ code that would generate bivariate beta distribution. I couldn't find the r function for this distribution.

The probability density function of the Bivariate beta distribution is given as below.

$$f(x,y) = \dfrac{1}{B(a,b,c)} \dfrac{x^{a-1}y^{b-1}(1-x)^{b+c-1}(1-y)^{a+c-1}}{(1-xy)^{a+b+c}}$$ Is anyone know which r function can be used for this simulation?

score324
  • 325
  • 2
  • 10

1 Answers1

0

There is a package called MultiRNG that implements this sort of multivariate simulation for a wide class of multivariate distributions (in your particular case, you are interested in the draw.dirichlet function).

More interestingly, you could write your own function by implementing a very simple acceptance-rejection scheme (it is very similar to the univariate case). I remember reading the paper by Loukas some years ago which thoroughly showcases several options you could go for.

Easymode44
  • 684
  • 4
  • 21