Difference between revisions of "Manuals/calci/VAR"
| (13 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="font-size:30px">'''VAR( | + | <div style="font-size:30px">'''VAR()'''</div><br/> |
| − | * | + | *Parameters are set of numbers. |
| − | + | **VAR(),estimates variance based on a sample. | |
==Description== | ==Description== | ||
| Line 7: | Line 7: | ||
*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. | *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. | *i.e.,variance is a measure of how far each value in the data set is from the mean. | ||
| − | *It is denoted by | + | *It is denoted by <math> \sigma </math>. The square root of variance is called the standard deviation. |
| − | *In VAR( | + | *In <math>VAR()</math>, Parameters are numbers based on a sample of 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: | ||
| − | Variance= | + | <math>Variance= \frac{\sum (x_i-\bar{x})^2}{n-1}</math> |
| − | where x | + | where <math> \bar{x}</math> is the sample mean of <math>x_i</math> and <math> n </math> is the sample size. |
| − | *Suppose | + | *Suppose <math>\sigma = 0</math> which is indicating all the values are identical. |
| − | *When | + | *When <math>\sigma </math> is non-zero then it is always positive. |
*This function is considering our given data is the sample of the population. | *This function is considering our given data is the sample of the population. | ||
| − | *Suppose it should consider the data as the entire population, we can use the VARP function. | + | *Suppose it should consider the data as the entire population, we can use the [[Manuals/calci/VARP | VARP ]] function. |
*The arguments can be be either numbers or names, array,constants or references that contain numbers. | *The arguments can be 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. | *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. | *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 VARA function. | + | *Suppose the function have to consider the logical values and text representations of numbers in a reference , we can use the [[Manuals/calci/VARA | VARA ]] function. |
*This function will return the result as error when | *This function will return the result as error when | ||
1. Any one of the argument is nonnumeric. | 1. Any one of the argument is nonnumeric. | ||
| Line 25: | Line 25: | ||
==Examples== | ==Examples== | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{| class="wikitable" | {| class="wikitable" | ||
|+Spreadsheet | |+Spreadsheet | ||
| Line 50: | Line 39: | ||
| 50 || 58 || 81 || true || 12 || 81 || 10 || 27 || 24 || 39 | | 50 || 58 || 81 || true || 12 || 81 || 10 || 27 || 24 || 39 | ||
|} | |} | ||
| + | #=VAR(A1:J1) = 756.6222222223 | ||
| + | #=VAR(A2:E2) = 21.0852299999 | ||
| + | #=VAR(A3:D3) = 1133.6666666666667 | ||
| + | #=VAR(A3:C3) = 259 | ||
| + | #=VAR(10,25,18,FALSE) = 115.58333333333333 | ||
| + | #=VAR(10,25,18,TRUE) = 107 | ||
| + | |||
| + | ==Related Videos== | ||
| + | |||
| + | {{#ev:youtube|2evEY6MTxZQ|280|center|Sample Variance}} | ||
| + | |||
| + | ==See Also== | ||
| + | *[[Manuals/calci/DVAR | DVAR]] | ||
| + | *[[Manuals/calci/DVARP | DVARP ]] | ||
| + | *[[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 03:41, 2 June 2020
- Parameters are set of numbers.
- VAR(),estimates variance based on a sample.
Description
- This function gives the variance based on a sample.
- 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sigma } . The square root of variance is called the standard deviation.
- In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle VAR()} , Parameters are numbers based on a sample of a population. Here First parameter is required. From the second parameter are optional.
- To find the variance we can use the following formula:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Variance= \frac{\sum (x_i-\bar{x})^2}{n-1}} where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bar{x}} is the sample mean of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_i} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n } is the sample size.
- Suppose Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sigma = 0} which is indicating all the values are identical.
- When Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sigma } is non-zero then it is always positive.
- This function is considering our given data is the sample of the population.
- Suppose it should consider the data as the entire population, we can use the VARP function.
- The arguments can be 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 VARA function.
- This function will return the result as error when
1. Any one of the argument is nonnumeric.
2. The arguments containing the error values or text that cannot be translated in to numbers.
Examples
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 78 | 61 | 53 | 46 | 24 | 19 | 82 | 90 | 45 | 10 |
| 2 | 10.25 | 16.74 | 18.09 | 20.43 | 22.22 | 11.98 | 24 | 19 | 10 | 75 |
| 3 | 50 | 58 | 81 | true | 12 | 81 | 10 | 27 | 24 | 39 |
- =VAR(A1:J1) = 756.6222222223
- =VAR(A2:E2) = 21.0852299999
- =VAR(A3:D3) = 1133.6666666666667
- =VAR(A3:C3) = 259
- =VAR(10,25,18,FALSE) = 115.58333333333333
- =VAR(10,25,18,TRUE) = 107
Related Videos
See Also
References