multstat

Multinomial mean, variance and standard deviation.
2,2K Descargas
Actualizado 7 abr 2005

Ver licencia

This m-file returns the mean, variance and standard deviation of the multinomial distribution with parameters N and P. The Expected Value (i.e., averages):

Expected Value = m = Sum(Xi × Pi), the sum is over all i's. Expected value is another name for the mean and (arithmetic) average.

The Variance is:
Variance = s2 = v = Sum[Xi2 × Pi] - m2, the sum is over all i's. The variance is not expressed in the same units as the expected value. So, the variance is hard to understand and to explain as a result of the squared term in its computation. This can be alleviated by working with the square root of the variance, which is called the Standard (i.e., having the same unit as the data have) Deviation:
Standard Deviation = s = (Variance) ½

File needs to input x-vector of the interested values and p-vector of associated probabilities.

It outputs m-multinomial mean value (default), v-multinomial variance value (optional) and s-multinomial standard deviation value (optional).

Citar como

Antonio Trujillo-Ortiz (2026). multstat (https://es.mathworks.com/matlabcentral/fileexchange/6787-multstat), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R11
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Versión Publicado Notas de la versión
1.0.0.0

Text was improved.