DiscretizeGamma(Number shape, Integer ncat)

The discretized gamma probability distribution with mean = 1.

Parameters

  • Number shape - the shape of the discretized gamma distribution.
  • Integer ncat - the number of bins in the discretization.

Return type

Double

Examples

  • gtrGammaCoalescent.lphy
  • simpleBModelTest.lphy