Difference between revisions of "Manuals/calci/VARP"

From ZCubes Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''VAR(n1,n2,n3…)'''</div><br/>
+
<div style="font-size:30px">'''VARP()'''</div><br/>
*<math>n1,n2,n3,... </math> are numbers.
+
*Parameters are set of numbers.
 +
**VARP(),calculates variance based on the entire population.
 +
 
  
 
==Description==
 
==Description==
Line 7: Line 9:
 
*i.e.,variance  is a measure of how far each value in the data set is from the mean.
 
*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.  
 
*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.  
+
*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:  
 
*To find the variance we can use the following formula:  
 
<math>Variance= \frac{\sum (x_i-\bar{x})^2}{n-1}</math>  
 
<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.  
+
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.  
 
*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.  
 
*When <math>\sigma </math> is non-zero then it is always positive.  
Line 40: Line 42:
 
#=VARP(A1:F2) = 31.4284222222
 
#=VARP(A1:F2) = 31.4284222222
 
#=VARP(30,32,37,41,TRUE) = 199.76
 
#=VARP(30,32,37,41,TRUE) = 199.76
#=VARP(40,61,53,46,FALSE) = 549.2
+
#=VARP(40,61,53,46,FALSE) = 449.2
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|2evEY6MTxZQ|280|center|Sample Variance}}
  
 
==See Also==
 
==See Also==
*[[Manuals/calci/ DVAR | DVAR]]
+
*[[Manuals/calci/DVAR | DVAR ]]
 
*[[Manuals/calci/DVARP  | DVARP ]]
 
*[[Manuals/calci/DVARP  | DVARP ]]
 
*[[Manuals/calci/VARPA  | VARPA ]]
 
*[[Manuals/calci/VARPA  | VARPA ]]
Line 49: Line 55:
  
 
==References==
 
==References==
 +
*[http://en.wikipedia.org/wiki/Variance Variance]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 17: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