Difference between revisions of "Manuals/calci/DEVSQ"

From ZCubes Wiki
Jump to navigation Jump to search
Line 44: Line 44:
  
 
[http://en.wikipedia.org/wiki/Squared_deviations  Squared Deviations]
 
[http://en.wikipedia.org/wiki/Squared_deviations  Squared Deviations]
 +
 +
 +
 +
[[Z_API_Functions | List of Main Z Functions]]
 +
 +
[[ Z3 |  Z3 home ]]

Revision as of 06:04, 9 March 2017

DEVSQ(n1,n2...)


  • are any real numbers.

Description

  • This function gives the sum of Squares of Deviation of a given set of numbers.
  • The steps to calculate:
  1. Find the mean.
  2. Find the deviation of each value. For that, subtract all numbers with its mean value.
  3. Square each Deviation Values and find its sum.
where is the every observation and is the Arithmetic Mean.
  • Here we have to give more than one arguments and arguments can be either numbers,names,logical values,

arrays or cell references that contain numbers.

  • Also cells with the value of '0' are considered and the arguments contains text, logical values or empty cells are ignored.
This function will give the result as error, when the text couldn't be converted to numbers.

ZOS

  • The syntax is to calculate DEVSQ in ZOS is .
    • where are any real numbers.
  • For e.g.,DEVSQ(1.5..7.5..0.3)
Average

Examples

  • DEVSQ(50,52, 54, 56, 58, 60)

Steps

  1. Mean =
  2. Deviation =
  3. Squares of Deviation =
  • DEVSQ(5,-10,13,-7,9) = 404
  • DEVSQ(1.2,6.4,8.3,5.7,10) = 44.068

Related Videos

Sum of Squared Deviation

See Also

References

Squared Deviations


List of Main Z Functions

Z3 home