Previous Up Next

7.4.19  Moment generating functions for probability distributions: mgf

The mgf command will compute the moment generating function for a probability distribution (such as normal, binomial, poisson, beta, gamma). It takes as arguments the name of the distribution and any necessary parameters. To find the moment generating function for the standard normal distribution, you can enter


and get


If you enter


you will get


Previous Up Next