multcov
Versión 1.0.0.0 (2,14 KB) por
Antonio Trujillo-Ortiz
Covariance of a multinomial distribution.
This m-file returns the covariance of a multinomial distribution with parameters N and P.
The Coariance is:
Covariance = -N × Pi × Pj; i,j = 1,2, ... ,k.
Covariance =
[np1(1-p1) -np1p2 ... -np1pk
-np1p2 np2(1-p2) ... -np2pk
. . . . .
. . . . .
-np1pk -np2pk ... npk(1-pk)].
It need to inputs n-number of trials, and p-vector of associated probabilities.
It Outputs the C-multinomial covariance matrix.
Citar como
Antonio Trujillo-Ortiz (2026). multcov (https://es.mathworks.com/matlabcentral/fileexchange/7375-multcov), 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 LinuxCategorías
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Discrete Distributions > Multinomial Distribution >
Más información sobre Multinomial Distribution en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 | Text was improved. |
