| Author |
Comment/Response |
FM
|
10/29/08 10:52pm
I want to calculate the pdf of X- which has a Poisson distribution with parameter m; where m is a experimental value of a random variable with a gamma distribution (alpha=2, Beta=1 )
How to program that on mathematica ?
I tried to say:
m:=RandomReal[GammaDistribution[2,1]
X:= PoissonDistribution[m]
However, when i calculate the pdf it changes everytime; which should not be the case..
So please any ideas
URL: , |
|