The metrics parameter

What it does

Available metrics for usage: sum,mean,slope,sumOfSquares,variance,std,cv,skewness,kurtosis,geometricMean,harmonicMean,flatness,median,q1,q3,p10,p90,relativeDispersion,iqr,range,min,max,percentile,zScore,n,mad,weight,sumCenteredSquares,spd,spectralPowerDensityMetric,stdDev,missing

The folowing metrics, needs column name as parameter: weightedMean,wmean,regressionSlope,rSlope

Every metric is computed on the valid values of the column (numbers; text with value labels counts by its codes).

A metric that is not defined for the data is an empty cell, as in SPSS, not 0.

Scalar metrics:

Metrics with a column as parameter (pairs are taken row by row, only rows with a number in both columns):

Values

Required.

In plain words

A teacher had 120 survey answers and chose which numbers to see. With the text mean, min, max, n, she got 3.42 for the average, 1 and 5 for the smallest and largest answers, and 120 for the number of answers. With median, q1, q3, she got 3.5, 3 and 4, so the middle half of the students answered between 3 and 4. Each name asks for one row of the table, and she can ask for as many as she likes in one go. A number that cannot be worked out, such as for a column where everyone answered the same, is left empty, not shown as 0.

Where you use it

Examples

Get it in your sheet

ALS Stats is a free add-on for Google Sheets™.

Install ALS Stats from Google Workspace Marketplace (opens in a new tab)