

Mad: median absolute deviation (from the median)ĭescribe, statsBy, densityBy and violinBy, cohen.d, cohen.d.by, and cohen.d.ciĪs well as error.bars and for other graphical displays. Returns cohen.d statistic as well as the multivariate generalization (Mahalanobis D).Ī ame of the relevant statistics broken down by group: It converts the data into mean differences and pools the within group standard deviations. More importantly, it does a proper within and between group decomposition of the correlation.Ĭohen.d will work for two groups. This is particularly useful if finding weighted correlations of group means using cor.wt. See describe for more details.Īn alternative function ( statsBy) returns a list of means, n, and standard deviations for each group. The type parameter specifies which version of skew and kurtosis should be found. In the case of matrix output with multiple grouping variables, the grouping variable values are added to the output. To get descriptive statistics for several different grouping variables, make sure that group is a list. When giving matrix output, how many digits should be reported? Which type of skew and kurtosis should be found Provide a matrix output rather than a list See note for statsBy.Ī grouping variable or a list of grouping variables Partly a wrapper for by and describe UsageĭescribeBy(x, group=NULL,mat=FALSE,type=3,digits=15.)ĭ(x, group=NULL,mat=FALSE,type=3.) # deprecatedĪ ame or matrix.

Useful if the grouping variable is some experimental variable and data are to be aggregated for plotting. Report basic summary statistics by a grouping variable.

R: Basic summary statistics by group describeBy īasic summary statistics by group Description
