Probability Generating Function The probability generating function (PGF) of a distribution is defined as GX(s)=E[sX]=k=0∑∞P(X=k)sk.