multstat

버전 1.0.0.0 (2.46 KB) 작성자: Antonio Trujillo-Ortiz
Multinomial mean, variance and standard deviation.
다운로드 수: 2.2K
업데이트 날짜: 2005/4/7

라이선스 보기

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).

인용 양식

Antonio Trujillo-Ortiz (2026). multstat (https://kr.mathworks.com/matlabcentral/fileexchange/6787-multstat), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R11
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0.0

Text was improved.