Difference between revisions of "Manuals/calci/AVEDEV"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
==Description==
 
==Description==
 
*AVEDEV returns the average of the absolute deviations of data points from their mean.
 
*AVEDEV returns the average of the absolute deviations of data points from their mean.
*Arguments can be numbers, names, arrays, or references.  
+
*Arguments can be numbers,names,arrays or references.  
 
This function gives the average absolute deviation of a given set of numbers.
 
This function gives the average absolute deviation of a given set of numbers.
 
The Average deviation is calculated in three steps:
 
The Average deviation is calculated in three steps:

Revision as of 22:32, 21 November 2013

AVEDEV(n1,n2,n3...)


  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n1,n2,n3...} are any real numbers.

Description

  • AVEDEV returns the average of the absolute deviations of data points from their mean.
  • Arguments can be numbers,names,arrays or references.

This function gives the average absolute deviation of a given set of numbers. The Average deviation is calculated in three steps:

  1. We have to find the mean .
  2. To find the deviation of each value, subtract all numbers with its mean value.
  3. Then find the average deviation, add all the deviation values and divide by the number of given set of numbers.

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Average Deviation =\sum_{i=1}^n \frac{xi-\bar{x}}{n}}

  • Here Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle xi} is the observation.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bar{x}} is the mean.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} is the number of given set of observations.

Here we have to give more than one arguments. Arguments can be either number, name,logical values, arrays or cell references that contain numbers.

This function will give the result as error, when the text couldn't convert in to numbers.

Examples

  • =AVEDEV(50,52, 54, 56, 58, 60) gives the result 3

Steps

  1. Mean = (50+52+ 54+ 56+ 58+ 60)/6 = 330/6 = 55
  2. Deviation = |50-55|,|52-55|,|54-55|,|56-55|,|58-55|,|60-55| = 5,3,1,1,3,5
  3. Average Deviation = (5+3+1+1+3+5)/6 = 3
  • =AVEDEV(-20,40,-30,50,60) = 36
  • =AVEDEV(-1.2,3.5,7,2,8.3,9.1) = 3.35
  • =AVEDEV(B2:B5) = 1.75

See Also

References

Average Deviation