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 (2024). summarize (https://www.mathworks.com/matlabcentral/fileexchange/41150-summarize), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Descriptive Statistics
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | Fixes a bug when logical inputs are provided. |
||
1.2.0.0 | Fixed ordering of columns in output matrix so that max after after min. Fixed error that occurs when largest/smallest 5 values are computed for a vector that has less than 5 values (now, the min and max are displayed for all of these values) |
||
1.1.0.0 | Fixes bug when a variable has all missing values. Also fixes a bug that had been preventing the use of logical variables. |
||
1.0.0.0 |