samedi 15 janvier 2022

R sample from mixture distribution

How could I sample from this distribution:

enter image description here

given: 饾憹(饾懄) = 饾憙(饾憣 = 饾懄|饾憣~饾憙(饾渾/2)) , where 饾憙(饾渾/2) is the Poisson distribution with lamda/2 and

饾憯(饾懃|饾懄) follows the chi square distribution with df=n+2y

Many thanks!!




Aucun commentaire:

Enregistrer un commentaire