题名

Calculating Moment Generating and Characteristic Functions Using Mathematica

DOI

10.29973/JCSA.200806.0003

作者

Fu-Chuen Chang;Jeff Shao

关键词

Characteristic function ; computer algebra system ; central limit theorem ; law of large numbers ; Mathematica ; moment generating function ; teaching probability

期刊名称

中國統計學報

卷期/出版年月

46卷2期(2008 / 06 / 01)

页次

118 - 129

内容语文

英文

英文摘要

In this paper, we define some functions to extend Mathematica's capabilities to handle symbolic computations of the moment generating function and characteristic function for linear combination of independent random variables. These functions utilizes pattern-matching codes that enhance Mathematica's ability to simplify expressions involving the product of algebraic terms. Several examples will be presented. The examples include using Mathematica for calculating mean and variance, determining the distribution of sum of independent random variables and illustrating the central limit theorem and the law of large numbers.

主题分类 基礎與應用科學 > 統計
参考文献
  1. Feller, W.(1966).An Introduction to Probability Theory and its Applications.New York:Wiley.
  2. Grimmett, G.,Welsh, D.(1986).Probability: An Introduction.New York:Oxford University Press.
  3. Wolfram, S.(2003).The Mathematica Book, 5th edition.Wolfram Media:Champaign, IL.