How to calculate skewness and kurtosis via 'groupsummary'?
4 views (last 30 days)
dpb on 23 Aug 2021
Edited: dpb on 23 Aug 2021
Presuming you have the Statistics Toolbox which defines the two statistics of interest m-files--
G = groupsummary(T,groupvars,method,datavars)
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.