Difference between revisions of "Manuals/calci/DEVSQ"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font size="3"><font face="Times New Roman">'''DEVSQ''' (n1, n2…...)</font></font> <font size="3"><font face="Ti...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''DEVSQ(n1,n2)'''</div><br/>
 +
*where n1,n2..are any real numbers.
 +
==Description==
 +
*This function gives the sum of squares of deviation of a given set of numbers.
 +
*This function will calculate the with following steps :
 +
1. we have to find the mean .
 +
2. To find the deviation of each value we have to subtracting all numbers with its mean value.
 +
3.Then it is squaring each deviation values and finally it is summing up.
 +
*DEVSQ=summation (xi-x(bar))^2 where xi is the every observation and x(bar) 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 refercences 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 convert in to numbers.
 +
==Examples==
  
<font size="3"><font face="Times New Roman">'''DEVSQ''' (n1, n2…...)</font></font>
+
*ABS(8)=8
 +
*ABS(-5)=5
 +
*ABS(1/2)=0.5
 +
*ABS(-1/4)=0.25
  
<font size="3"><font face="Times New Roman">Where n1, n2 ...   are the arguments </font></font>
+
==See Also==
 +
*[[Manuals/calci/IMABS  | IMABS ]]
  
<font size="3" face="Times New Roman"> </font>
+
==References==
 
+
[http://en.wikipedia.org/wiki/Absolute_value| Absolute_value]
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
 
 
<font size="3"><font face="Times New Roman">This function calculates the sum of the squares of deviations of data points from their sample mean.</font></font>
 
 
 
<font size="3" face="Times New Roman"> </font>
 
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">Arguments can be numbers, names, arrays, or references. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">Logical values and text representations of numbers are calculated. </font></font>
 
 
 
<font size="3">·</font>        <font size="3"><font face="Times New Roman">When an array contains text, logical values, or empty cells, those values are ignored. </font></font>
 
 
 
<font size="3"><font face="Times New Roman"></font></font>
 
 
 
<font size="3"><font face="Times New Roman"><font size="3"> </font></font></font>
 
 
 
<font face="Times New Roman">Formula:-</font>
 
 
 
·        <font face="Times New Roman">The equation to calculate the sum of squared deviations is: </font>
 
 
 
<center><font face="Times New Roman"></font>''''''</center>
 
 
 
'''<font face="Times New Roman"> </font>'''
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
DEVSQ
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Let’s see an example
 
 
 
DEVSQ (n1, n2…..)
 
 
 
B
 
 
 
5
 
 
 
7
 
 
 
6
 
 
 
9
 
 
 
10
 
 
 
2
 
 
 
<nowiki>=DEVSQ (B2:B7) is 41.5</nowiki>
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class="    " |
 
| class="  " | Column1
 
| class="      " | Column2
 
| class="  " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f " | 5
 
| class="sshl_f" | 41.5
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 7
 
| class="SelectTD" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 9
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" | 10
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="sshl_f" | Row6
 
| class="sshl_f " | 2
 
| class="sshl_f  " |
 
| class="sshl_f  " |
 
| class="sshl_f" |
 
|- class="odd"
 
| class="sshl_f" | Row7
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 04:40, 21 November 2013

DEVSQ(n1,n2)


  • where n1,n2..are any real numbers.

Description

  • This function gives the sum of squares of deviation of a given set of numbers.
  • This function will calculate the with following steps :

1. we have to find the mean . 2. To find the deviation of each value we have to subtracting all numbers with its mean value. 3.Then it is squaring each deviation values and finally it is summing up.

  • DEVSQ=summation (xi-x(bar))^2 where xi is the every observation and x(bar) 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 refercences 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 convert in to numbers.

Examples

  • ABS(8)=8
  • ABS(-5)=5
  • ABS(1/2)=0.5
  • ABS(-1/4)=0.25

See Also

References

Absolute_value