Would anybody know how to generate a specific number of random numbers from a Gamma Distribution that sum to a particular value?
I have (1) the total distance that one travels in a day and (2) the number of journey that they make.
Total Distance = 40 miles No. Journeys = 3
I'm trying to generate 3 random numbers from a Gamma distribution that sum to 40.
Appreciate any help with this