Descriptive Statistics

버전 1.1.0.0 (3.01 KB) 작성자: Matthias Chung
Calculates key values of the descriptive statistics
다운로드 수: 1.5K
업데이트 날짜: 2010/11/8

라이선스 보기

This function gets the key values for a descriptive statistics such as mean, std, mode, median, quartiles and percentiles. This includes the five- and seven-number summary.

Input x must be a vector or a matrix where each column of x is regarded as a data set if x is a matrix. Input param is an optional cell list of parameters, e.g., param = {'whisker', 2} setting whisker = 2. Multiple user defined options are separated by semi-colon, e.g., param = {'whisker', 2; 'qmethod','-mean'}.

Output ds is a structure. To extract the quartiles for instance quart = ds.quartile.

Examples:
ds = getDescriptiveStatistics(randn(1000,10))

ds = getDescriptiveStatistics(rand(1000,2),{'whisker', 2; 'qmethod','-mean'})

ds = getDescriptiveStatistics(rand(1000,2),{'percent', [25 50 75];'pmethod','nearestRank'})

인용 양식

Matthias Chung (2024). Descriptive Statistics (https://www.mathworks.com/matlabcentral/fileexchange/29305-descriptive-statistics), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Descriptive Statistics and Visualization에 대해 자세히 알아보기
도움

줌: summarize

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Small error corrections.

1.0.0.0