Suppose I have created the following TransformedDistribution:
dist = TransformedDistribution[0.5` + 4.830917874396135` Sqrt[0.01071225` - 10 x^2],
x \[Distributed] GammaDistribution[α, β], Assumptions -> {x >= 0}]
My question is simply, how do I get Mathematica to draw random numbers from dist?
Edit:
Should this, for example, work?
dist = TransformedDistribution[0.5 + 4.830917874396135 Sqrt[0.01071225 - 10 x^2],
x \[Distributed] GammaDistribution[5.389705454315603, 0.00517629198314588],
Assumptions -> {x > 0 , x < 0.1}]
RandomVariate[dist, 10]
It doesn't at my end.
Comments
Post a Comment