my_e2truncgamma function

second moment of truncated gamma distribution

second moment of truncated gamma distribution

Compute second moment of the truncated gamma.

my_e2truncgamma(a, b, shape, rate)

Arguments

  • a: left limit of distribution
  • b: right limit of distribution
  • shape: shape of gamma distribution
  • rate: rate of gamma distribution
  • Maintainer: Peter Carbonetto
  • License: GPL (>= 3)
  • Last published: 2023-08-21