COVARIANCE.P function - The function returns the covariance of a set, the product of the average of degrees of instruction for each pair of data points in Excel
The following article introduces you to the COVARIANCE.P function - one of the functions in the statistical function group is very popular in Excel.
Description: Returns the covariance of the population, the average of the deviations for each pair of data points in the two data sets.
Syntax: COVARIANCE.P (array1, array2)
Inside:
- array1: The first range contains integers that want to calculate the variance, is a required parameter.
- array2: The second range contains the integers that want to calculate the variance, is a required parameter.
Attention:
- The argument must be either a number or a reference array that contains numbers.
- If the reference argument or array contains text or logical values or empty cells will be ignored.
- If array1 and array2 have different data points -> the function returns the # N / A error value
- If 1 of the 2 arrays is empty -> the function returns the # DIV / 0 error value
- Functions that perform calculations based on formulas:
[Covleft ({X, Y} right) = frac {{sum {left ({x - overline x} right) left ({y - overline y} right)}}} {n}]
Inside:
({overline x}) and ({overline y}) are sample mean AVERAGE (array1) and AVERAGE (array2 ) and n are sample sizes.
For example:
Calculate the covariance, the average of the product of deviations of each data point pair of the two data sets in the following table:
- In the cell to calculate enter the formula : = COVARIANCE.P (B6: B10, C6: C10)
- Press Enter -> covariance, the average of the product of deviations of each data point pair of two data sets is:
- Where 1 of 2 arrays is blank -> the function returns the # DIV / 0 error value
- Where the number of data points of the two arrays is not the same -> the function returns the # N / A error value .
Above are instructions and some specific examples when using the COVARIANCE.P function in Excel.
Good luck!
You should read it
- TRIMMEAN function - The function returns the average of the inner part of a dataset in Excel
- GEOMEAN function - The function returns the average of a positive array or range of data in Excel
- How to use the DAVERAGE function in Excel
- HARMEAN function - The function returns the harmonic average of a data set in Excel
- DEVSQ function in Excel The function returns the sum of squares of deviations between data points from their average
- Basic Excel functions that anyone must know
- AVERAGE function - The function returns the average of the arguments in Excel
- AVEDEV function
May be interested
- FTEST function - The function returns the result of an F-Test in Excelthe following article details how to use ftest - the function returns the result of an f-test. in statistical probability, the determination of the correctness and the deviation between two data samples is a regular and extremely important job.
- HARMEAN function - The function returns the harmonic average of a data set in Excelharmean function: the function returns the harmonic mean of a dataset, the harmonic mean is the reciprocal of the arithmetic mean of the reciprocals. syntax: harmean (number1, [number2], ...)
- GEOMEAN function - The function returns the average of a positive array or range of data in Excelgeomean function: the function returns the average of a positive array or range of data. use the function to calculate the average growth when knowing the gross profit with variable interest rates. syntax: geomean (number1, [number2], ...)
- PERCENTILE function - The function returns the kth percentile in Excelin mathematical computing, the percentile is a frequently applied process to study the percentile of values in a defined data set. the following article details how to use the percentile function to calculate the kth percentile value.
- LOGNORM.INV function - The function returns the inverse of the logarithmic distribution of x in Excellognorm.inv: the function returns the inverse of the logarithmic distribution of x. where ln (x) is usually distributed with parameter mean and standard deviation. use functions to analyze logarithmic change data. support function from excel 2 version
- How to use the IF function in Excelthe if function in excel checks for a true or false condition. if the condition is true, the function returns a value, if the condition fails the function returns another value
- WEBSERVICE function - The function returns data from a web service on the Internet or Intranet in Excelwebservice function: the function returns data from a web service on the internet or intranet. support functions from excel 2013 onwards. syntax: webservice (url)
- How to use the Match function in Excelthe match function on excel looks for a value defined in an array, cell range on the data table and returns the position of the value in the array, that range.
- NOW function - The function returns the current date and time in Excelnow function: the function returns the current date and time. the now function is useful when you want to display the current date and time. the now function does not update continuously, it only updates when you have editing operations on the data area containing it.
- DAYS function, how to use the function to calculate the number of days between two time points in Excelthe days function in excel returns the results between two different timelines.