Contenuto principale

Descriptive Statistics

R2026b
Numerical summaries and associated measures

Compute descriptive statistics from sample data, including measures of central tendency, dispersion, shape, correlation, and covariance. Tabulate and cross-tabulate data, and compute summary statistics for grouped data. For additional descriptive statistics functionality, see Descriptive Statistics and Insights.

Functions

expand all

geomeanGeometric mean
harmmeanHarmonic mean
trimmeanMean, excluding outliers
kurtosisKurtosis
momentCentral moment
skewnessSkewness
rangeRange of values
madMean or median absolute deviation
zscoreStandardized z-scores
corrLinear or rank correlation
robustcovRobust multivariate covariance and mean estimate
cholcovCholesky factorization
corrcovConvert covariance matrix to correlation matrix
partialcorrLinear or rank partial correlation coefficients
partialcorriPartial correlation coefficients adjusted for internal variables
nearcorrCompute nearest correlation matrix by minimizing Frobenius distance
grpstatsSummary statistics organized by group
tabulateFrequency table
crosstabCross-tabulation
tiedrankRank adjusted for ties

Topics

Teaching Resources