How to calculate skewness and kurtosis via 'groupsummary'?
2 ビュー (過去 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 で Descriptive Statistics and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!