Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Normal mean and variance

`[m,v] = normstat(mu,sigma)`

`normstat`

is a function specific to normal distribution. Statistics and Machine Learning Toolbox™ also offers generic functions to compute summary statistics, including mean (`mean`

), median (`median`

), interquartile range (`iqr`

), variance (`var`

), and standard deviation (`std`

). These generic functions support various probability distributions. To use these functions, create a`NormalDistribution`

probability distribution object and pass the object as an input argument.

[1] Evans, M., N. Hastings, and B. Peacock. *Statistical
Distributions*. 2nd ed. Hoboken, NJ: John Wiley & Sons, Inc., 1993.