Computes the mean value (mu), standard deviation, and variance of the values in the input sequence X. Details
![]() |
X is the input sequence. |
![]() |
Weighting determines whether to calculate the population or the sample standard deviation and variance. |
![]() |
mean is the average of the values in the input sequence X. |
![]() |
standard deviation is the calculated standard deviation of the values in the input sequence X. |
![]() |
variance is the calculated variance of the values in the input sequence X. |
Weighting is used to specify whether X represents the entire population of data or only a sample. The values are computed using the following formulas:
mean = Sum (X[i])/n, where n is the number of elements in X.
variance = ((X[i] - mean)^2)/w where w is n for population and (n-1) for sample.
standard deviation = sqrt (variance).