Learn R Programming

PIGShift (version 1.0.1)

mean_invgamma: The mean of the inverse gamma distribution

Description

This function returns the mean of inverse gamma distributed random variables

Usage

mean_invgamma(alpha, beta)

Arguments

alpha
the shape parameter of the inverse gamma distribution
beta
the scale parameter of the inverse gamma distribution

Value

the mean value of the parameterized inverse gamma disribution, given by beta/(alpha-1) if alpha > 1