Estimate parameters of a distribution using the method of moments:
Compare data and estimated parametric distribution:
Find normal approximation to
GammaDistribution using the method of moments:
Show how

and

depend on

and

:
Compare original and approximated distribution:
The law of large numbers states that a sample moment approaches a population moment as the sample size increases. Use
Histogram to show probability distribution of a second sample moment of uniform random variates for different sample sizes:
Visualize the convergence process:
Build type A Gram-Charlier expansion of order 6:
A monotone PDF

with a positive domain is bounded by

:
Prove the identity for exponential distribution for the first few orders:
Moments of
PearsonDistribution satisfy a three-term recurrence equation implied by the defining differential equation for the density function

:
Verify the moment equations:
Use the recurrence equation to express parameters of
PearsonDistribution in terms of its moments:
Check that moments of the resulting distribution are equal to moments of data:
Find quadrature rule for approximating the expectation of a function of a random variable:
Find

lowest-order orthogonal polynomials:
Check their orthonormality:
Find quadrature points:
Find quadrature weights, requiring rule to be exact on polynomials of order up to

:
Compute approximation to expectation of

: