Inprobability theoryandstatistics, the gamma distribution is a two-parameter family of continuousprobability distributions. It has ascale parametershape parameterθand aexponentially distributedk. Ifkis an integer then the distribution represents the sum ofkrandom variables, each of which has parameter.