Difference between revisions of "Manuals/calci/VARP"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">  <font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VARP'''</font></font></font><font color="#48484...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">  <font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VARP'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(v1,v2,...)</font></font></font>
+
<div style="font-size:30px">'''VAR(n1,n2,n3…)'''</div><br/>
 +
*<math>n1,n2,n3,... </math> are numbers.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Where v1,v2..are arguments.</font></font></font>
+
==Description==
 +
*This function gives the variance based on the entire population.
 +
*Variance is a measure of dispersion obtained by taking the mean of the squared deviations of the observed values from their mean in a frequency distribution.
 +
*i.e.,variance  is a measure of how far each value in the data set is from the mean.
 +
*It is denoted by <math> \sigma </math>. The square root of variance is called the standard deviation.
 +
*In <math>VAR(n1,n2,n3,...)</math>, <math>n1,n2,n3,...</math> are numbers based on a  population. Here <math>n1</math> is required. <math>n2,n3,...</math> are optional.  
 +
*To find the variance we can use the following formula:
 +
<math>Variance= \frac{\sum (x_i-\bar{x})^2}{n-1}</math>
 +
where <math> \bar{x}</math> is the sample mean of xi and n is the sample size.
 +
*Suppose <math>\sigma = 0</math> which is indicating all the values are identical.
 +
*When <math>\sigma </math> is non-zero then it is always positive.
 +
*This function is considering our given data is the entire population.
 +
*Suppose it should consider the data as the sample of the population, we can use the [[Manuals/calci/VAR  | VAR ]] function.
 +
*The arguments can be  either numbers or names, array,constants or references that contain numbers.
 +
*Suppose the array contains text,logical values or empty cells, like that values are not considered.
 +
*When we are entering logical values and text representations of numbers  as directly, then the arguments are counted.
 +
*Suppose the function have to consider the logical values and text representations of numbers in a reference , we can use the [[Manuals/calci/VARPA  | VARPA ]] function.
 +
*This function will return the result as error when
 +
      1. Any one of the argument is non-numeric.
 +
      2. The arguments containing the error values or text that cannot be translated in to numbers.
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">  <font face="Arial, sans-serif"><font size="4"><font face="Arial, sans-serif"><font size="4"><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''This function calculates variance based on the entire population.'''</font></font></font></font></font></font></font></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
The Arguments can be numbers or names, arrays, or references. Logical values and text representations of numbers are calculated. In this, the arguments that contain TRUE evaluate as 1; and that contain text or FALSE evaluate as 0 (zero). Empty cells and text values are ignored.
+
==Examples==
 
+
{| class="wikitable"
<font size="3"> </font>
+
|+Spreadsheet
 
+
|-
* <font color="#484848"><font face="Arial, sans-serif"><font size="2">To calculate VARP</font></font></font>
+
! !! A !! B !! C !! D!! E !! F 
 
+
|-
<font color="#484848"></font>
+
! 1
 
+
| 40 || 45 || 60 || 24 || 72 || 81
<font color="#484848"><font face="Arial, sans-serif"><font size="2"></font></font></font> [[Image:default.aspx|Equation]]
+
|-
 
+
! 2
<div> </div>
+
| 10.21 || 11.65 || 17.81 || 15.02 || 18.18 || 27.41
 
+
|}
<font color="#484848"><font face="Arial, sans-serif"><font size="2">where x is the sample mean AVERAGE (v1,v2,…) and n is the sample size.</font></font></font>
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
VARP
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''Lets see an example,'''</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VARP(v1,v2....)'''</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''B'''</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">150</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">130</font></font></font>
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">165</font></font></font>
+
#=VARP(A1:F1) = 377.555555556
 +
#=VARP(A1:F2) = 31.4284222222
 +
#=VARP(30,32,37,41,TRUE) = 199.76
 +
#=VARP(40,61,53,46,FALSE) = 549.2
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">132</font></font></font>
+
==See Also==
 
+
*[[Manuals/calci/ DVAR | DVAR]]
<font color="#484848"><font face="Arial, sans-serif"><font size="2">110</font></font></font>
+
*[[Manuals/calci/DVARP  | DVARP ]]
 
+
*[[Manuals/calci/VARPA | VARPA ]]
<font color="#484848"><font face="Arial, sans-serif"><font size="2">137</font></font></font>
+
*[[Manuals/calci/VAR | VAR]]
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">121</font></font></font>
 
 
 
<font face="Arial, sans-serif"><font size="2">'''<nowiki>=VARP(B2:B8) is 283.428571</nowiki>'''</font></font>
 
 
 
</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 " | 150
 
| class="sshl_f" | 283.428571
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class=" " | Row2
 
| class="sshl_f" | 130
 
| class=" SelectTD ChangeBGColor SelectTD" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 165
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f  " | 132
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f  " | 110
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="sshl_f" | Row6
 
| class="sshl_f  " | 137
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class="sshl_f  " |
 
|- class="odd"
 
| class="sshl_f" | Row7
 
| class="sshl_f " | 121
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
==References==
----
 

Revision as of 07:16, 7 February 2014

VAR(n1,n2,n3…)


  • are numbers.

Description

  • This function gives the variance based on the entire population.
  • Variance is a measure of dispersion obtained by taking the mean of the squared deviations of the observed values from their mean in a frequency distribution.
  • i.e.,variance is a measure of how far each value in the data set is from the mean.
  • It is denoted by . The square root of variance is called the standard deviation.
  • In , are numbers based on a population. Here is required. are optional.
  • To find the variance we can use the following formula:

where is the sample mean of xi and n is the sample size.

  • Suppose which is indicating all the values are identical.
  • When is non-zero then it is always positive.
  • This function is considering our given data is the entire population.
  • Suppose it should consider the data as the sample of the population, we can use the VAR function.
  • The arguments can be either numbers or names, array,constants or references that contain numbers.
  • Suppose the array contains text,logical values or empty cells, like that values are not considered.
  • When we are entering logical values and text representations of numbers as directly, then the arguments are counted.
  • Suppose the function have to consider the logical values and text representations of numbers in a reference , we can use the VARPA function.
  • This function will return the result as error when
      1. Any one of the argument is non-numeric. 
      2. The arguments containing the error values or text that cannot be translated in to numbers.


Examples

Spreadsheet
A B C D E F
1 40 45 60 24 72 81
2 10.21 11.65 17.81 15.02 18.18 27.41
  1. =VARP(A1:F1) = 377.555555556
  2. =VARP(A1:F2) = 31.4284222222
  3. =VARP(30,32,37,41,TRUE) = 199.76
  4. =VARP(40,61,53,46,FALSE) = 549.2

See Also

References