version (17.3 KB) by Tyler Ransom
This function mimics Stata's summarize command.


Updated 5 Aug 2014

View License

This function finds summary statistics of X, which can be a column vector or matrix.
Additionally, allows for computation of weighted statistics (if user supplies weighting vector or matrix) and detailed summary statistics. Weights are "fweights" in the Stata sense and detailed summary statistics are displayed in a similar fashion as Stata's "detail" option.

Cite As

Tyler Ransom (2022). summarize (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Descriptive Statistics

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!