Skip to content

Monte Carlo Simulation in R...

2 messages · Hongwei Dong, Duncan Murdoch

#
On 11/10/2009 1:25 PM, Hongwei Dong wrote:
Your requirements are slightly contradictory or incomplete.  Here's one 
way to fully specify the problem:

The X_i values are independent Gammas, with the given shape and scale. 
You want to simulate from the joint distribution conditional on the 
event sum(X) == 2000.

Is that your problem?  I don't know how to do the simulation, but maybe 
someone else does.

Duncan Murdoch