How to calculate skewness and kurtosis via 'groupsummary'?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi!
I have a question about how to calculate skewness and kurtosis using the 'groupsummary' function.
I am working with a subset of variables from a table.
Thanks for your help!
댓글 수: 0
답변 (1개)
dpb
2021년 8월 23일
편집: dpb
2021년 8월 23일
Presuming you have the Statistics Toolbox which defines the two statistics of interest m-files--
G = groupsummary(T,groupvars,method,datavars)
where
method={'skewness','kurtosis'};
You'll define the other inputs to match your wishes on grouping and data variables.
If you don't have the requisite TB, then write your own functions and refer to them in their place.
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!