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...")
 
 
(10 intermediate revisions by 3 users not shown)
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">'''VARP()'''</div><br/>
 +
*Parameters  are set of numbers.
 +
**VARP(),calculates variance based on the entire population.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Where v1,v2..are arguments.</font></font></font>
 
  
</div>
+
==Description==
----
+
*This function gives the variance based on the entire population.
<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>
+
*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.
<div id="7SpaceContent" class="zcontent" align="left">
+
*It is denoted by <math> \sigma </math>. The square root of variance is called the standard deviation.
 +
*In <math>VARP()</math>, Parameters  are numbers based on a  population. Here First Parameter  is required. From the second parameter 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 <math>x_i</math> and <math> n </math> 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.
  
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.
 
  
<font size="3"> </font>
+
==Examples==
 
+
{| class="wikitable"
* <font color="#484848"><font face="Arial, sans-serif"><font size="2">To calculate VARP</font></font></font>
+
|+Spreadsheet
 
+
|-
<font color="#484848"></font>
+
! !! A !! B !! C !! D!! E !! F 
 
+
|-
<font color="#484848"><font face="Arial, sans-serif"><font size="2"></font></font></font> [[Image:default.aspx|Equation]]
+
! 1
 
+
| 40 || 45 || 60 || 24 || 72 || 81
<div> </div>
+
|-
 
+
! 2
<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>
+
| 10.21 || 11.65 || 17.81 || 15.02 || 18.18 || 27.41
 
+
|}
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
VARP
+
#=VARP(A1:F1) = 377.555555556
 +
#=VARP(A1:F2) = 31.4284222222
 +
#=VARP(30,32,37,41,TRUE) = 199.76
 +
#=VARP(40,61,53,46,FALSE) = 449.2
  
</div></div>
+
==Related Videos==
----
 
<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>
+
{{#ev:youtube|2evEY6MTxZQ|280|center|Sample Variance}}
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VARP(v1,v2....)'''</font></font></font>
+
==See Also==
 +
*[[Manuals/calci/DVAR | DVAR ]]
 +
*[[Manuals/calci/DVARP  | DVARP ]]
 +
*[[Manuals/calci/VARPA  | VARPA ]]
 +
*[[Manuals/calci/VAR | VAR]]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''B'''</font></font></font>
+
==References==
 +
*[http://en.wikipedia.org/wiki/Variance Variance]
  
<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>
+
*[[Z_API_Functions | List of Main Z Functions]]
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">132</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">110</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">137</font></font></font>
 
 
 
<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>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 16:31, 8 August 2018

VARP()


  • Parameters are set of numbers.
    • VARP(),calculates variance based on the entire population.


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 , Parameters are numbers based on a population. Here First Parameter is required. From the second parameter are optional.
  • To find the variance we can use the following formula:

where is the sample mean of and 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) = 449.2

Related Videos

Sample Variance

See Also

References