Learn R Programming

PIGShift (version 1.0.1)

var_invgamma: The variance of the inverse gamma distribution

Description

This function returns the variance of inverse gamma distributed random variables

Usage

var_invgamma(alpha, beta)

Arguments

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

Value

the variance of the parameterized inverse gamma disribution, given by beta^2/((alpha-1)^2*(alpha-2)) if alpha > 2