Difference between revisions of "Manuals/calci/VARPIF"
Jump to navigation
Jump to search
(Created page with "VARPIF") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | VARPIF | + | <div style="font-size:30px">'''VARPIF (Array,Condition,SumArray)'''</div><br/> |
+ | *<math>Array</math> is the set of values. | ||
+ | *<math>Condition</math> is the particular condition value. | ||
+ | |||
+ | ==Description== | ||
+ | *This function gives the variance based on the entire population which satisfies the given condition. | ||
+ | *In <math>VARPIF (Array,Condition,SumArray)</math>,<math>Array</math> is the set of values. | ||
+ | *<math>Condition</math> is the particular condition which satisfies the variance values. | ||
+ | *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. | ||
+ | *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. | ||
+ | |||
+ | ==Examples== | ||
+ | #VARPIF([12,32,45,10,56],">10") = 268.1875 | ||
+ | #VARPIF([14.2,67.3,19.34,20.6,16.02,78.4,54.9],">21") = 92.1355555555556 | ||
+ | #VARPIF([14.2,67.3,19.34,20.6,16.02,78.4,54.9],"<21") = 6.517400000000003 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|2evEY6MTxZQ|280|center|Sample Variance}} | ||
+ | |||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/VAR | VAR]] | ||
+ | *[[Manuals/calci/VARP | VARP ]] | ||
+ | *[[Manuals/calci/VARA | VARA ]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Variance Variance] | ||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 14:56, 4 December 2018
VARPIF (Array,Condition,SumArray)
- is the set of values.
- is the particular condition value.
Description
- This function gives the variance based on the entire population which satisfies the given condition.
- In , is the set of values.
- is the particular condition which satisfies the variance values.
- 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.
- 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
- VARPIF([12,32,45,10,56],">10") = 268.1875
- VARPIF([14.2,67.3,19.34,20.6,16.02,78.4,54.9],">21") = 92.1355555555556
- VARPIF([14.2,67.3,19.34,20.6,16.02,78.4,54.9],"<21") = 6.517400000000003
Related Videos