averageDeviation

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
averageDeviation(<numbersList>)
Synonymsavgdev
Summary

Returns the average deviation of a list of numbers.

Introduced6.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
numbersList

A comma-separated list of numbers, or an expression that evaluates to such a list, or an array containing only numbers.

Example
averageDeviation(8,10,12) -- returns 1.333333
put averageDeviation(studentScores) into field "Average Deviation"
Values
NameTypeDescription
return

The averageDeviation function returns a number.

RelatedControl Structure: function
Glossary: return, math operation
Function: populationVariance, variance, average, median, populationStandardDeviation, sum, standardDeviation
Description

Use the averageDeviation function to analyze the amount of spread in a list of numbers.

The average deviation is a measure of how widely distributed the numbers in the numbersList are.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Tagsmath