| Group: | Statistical Data Analysis |
| Topic: | Basic Statistics |
| See also: | median ssd sum var |
| Function: | mean | |
| Description: | mean computes the mean of the elements of an array regarding a given dimension. |
| Usage: | z = mean (x {,j}) | |
| Input: | ||
| x | d1 x d2 x .. x dn array | |
| j | integer (number of dimension, default = 1) | |
| Output: | ||
| z | d1 x d2 x .. x d(j-1) x 1 x d(j+1) x .. x dn array | |
randomize (0) x = uniform (2, 4) mean (x,2)
Contents of mean [1,] 0.13953 [2,] 0.31505
| Group: | Statistical Data Analysis |
| Topic: | Basic Statistics |
| See also: | median ssd sum var |