Publisher review:All Common Statistics - Compute common statistics without Stastics Toolbox S = ALLSTATS(X,DIM,Flag) returns common statistics of the data in X along the dimension DIM, with the variance type specified by Flag.X must be non-sparse, real, single or double, and 2D. NaNs contained in X are consdered missing data and are ignored in computations.Note that when X contains NaNs, this function will return different results than those returned by the standard MATLAB functions MEAN, MEDIAN, and MODE, STD and VAR because these function do not ignore NaNs.If DIM is [] or not given, DIM is the first non-singleton dimension of X.If Flag = 0 or is not given, the variance is normalized by N-1.If Flag = 1, the variance is normalized by N.S = ALLSTATS(X,DIM,Flag,P) in addition returns the additional percentiles in vector P. P must contain numerical values between 0 and 100 exclusive. Flag must be specified in this case.The output S is a structure containing the statistics with field names describing the respective statistics:S.n = number of observations (excluding NaNs)S.min = minimumS.q1 = 25th percentileS.median = median (50th percentile)S.q3 = 75th percentileS.max = maximumS.mode = modeS.mean = meanS.std = standard deviationS.var = varianceS.skew = skewnessS.kurt = kurtosis (= 3 for Gaussian or Normal Data)S.p01 = first optional percentileS.p02 = second optional percentile, etc.For vector data, outputs are scalars.For matrix data, outputs are row vectors for DIM=1 and column vectors for DIM=2. Requirements: ยท MATLAB Release: R14SP3
All Common Statistics is a Matlab script for Statistics and Probability scripts design by Duane Hanselman.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris