File Exchange

image thumbnail

summarize

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

3 Downloads

Updated 05 Aug 2014

View Version History

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 (2021). summarize (https://www.mathworks.com/matlabcentral/fileexchange/41150-summarize), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Jared Ashworth

Function works very well in replicating the Stata results. Very user-friendly and great for getting quick summary statistics.

Jared Ashworth

Jared Ashworth

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

Inspired by: Descriptive Statistics

Community Treasure Hunt

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

Start Hunting!