Statistical Functions Part Four/text/scalc/01/04060184.xhpStatistical Functions Part Four
MAX functionMAXReturns the maximum value in a list of arguments.Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.SyntaxMAX(Number1; Number2; ...Number30)Number1; Number2;...Number30 are numerical values or ranges. Example=MAX(A1;A2;A3;50;100;200) returns the largest value from the list.=MAX(A1:B100) returns the largest value from the list.MAXA functionMAXAReturns the maximum value in a list of arguments. In opposite to MAX, here you can enter text. The value of the text is 0.The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.SyntaxMAXA(Value1; Value2; ... Value30)Value1; Value2;...Value30 are values or ranges. Text has the value of 0.Example=MAXA(A1;A2;A3;50;100;200;"Text") returns the largest value from the list.=MAXA(A1:B100) returns the largest value from the list.MEDIAN functionMEDIANReturns the median of a set of numbers. In a set containing an uneven number of values, the median will be the number in the middle of the set and in a set containing an even number of values, it will be the mean of the two values in the middle of the set.SyntaxMEDIAN(Number1; Number2; ...Number30)Number1; Number2;...Number30 are values or ranges, which represent a sample. Each number can also be replaced by a reference.Examplefor an odd number: =MEDIAN(1;5;9;20;21) returns 9 as the median value.for an even number: =MEDIAN(1;5;9;20) returns the average of the two middle values 5 and 9, thus 7.MIN functionMINReturns the minimum value in a list of arguments.Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.SyntaxMIN(Number1; Number2; ...Number30)Number1; Number2;...Number30 are numerical values or ranges.Example=MIN(A1:B100) returns the smallest value in the list.MINA functionMINAReturns the minimum value in a list of arguments. Here you can also enter text. The value of the text is 0.The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.SyntaxMINA(Value1; Value2; ... Value30)Value1; Value2;...Value30 are values or ranges. Text has the value of 0.Example=MINA(1;"Text";20) returns 0.=MINA(A1:B100) returns the smallest value in the list.AVEDEV functionaverages;statistical functionsmw added "averages;"AVEDEVReturns the average of the absolute deviations of data points from their mean. Displays the diffusion in a data set.SyntaxAVEDEV(Number1; Number2; ...Number30)Number1, Number2,...Number30 are values or ranges that represent a sample. Each number can also be replaced by a reference.Example=AVEDEV(A1:A50)AVERAGE functionAVERAGEReturns the average of the arguments.SyntaxAVERAGE(Number1; Number2; ...Number30)Number1; Number2;...Number 0 are numerical values or ranges.Example=AVERAGE(A1:A50)AVERAGEA functionAVERAGEAReturns the average of the arguments. The value of a text is 0.SyntaxAVERAGEA(Value1; Value2; ... Value30)Value1; Value2;...Value30 are values or ranges. Text has the value of 0.Example=AVERAGEA(A1:A50)MODE functionmost common valuemw added one entryMODEReturns the most common value in a data set. If there are several values with the same frequency, it returns the smallest value. An error occurs when a value doesn't appear twice.SyntaxMODE(Number1; Number2; ...Number30)Number1; Number2;...Number30 are numerical values or ranges.Example=MODE(A1:A50)NEGBINOMDIST functionnegative binomial distributionmw added one entryNEGBINOMDISTReturns the negative binomial distribution.SyntaxNEGBINOMDIST(X; R; SP)X represents the value returned for unsuccessful tests.R represents the value returned for successful tests.SP is the probability of the success of an attempt.Example=NEGBINOMDIST(1;1;0.5) returns 0.25.NORMINV functionnormal distribution;inverse ofmw added one entryNORMINVReturns the inverse of the normal cumulative distribution.SyntaxNORMINV(Number; Mean; StDev)Number represents the probability value used to determine the inverse normal distribution.Mean represents the mean value in the normal distribution.StDev represents the standard deviation of the normal distribution.Example=NORMINV(0.9;63;5) returns 69.41. If the average egg weighs 63 grams with a standard deviation of 5, then there will be 90% probability that the egg will not be heavier than 69.41g grams.NORMDIST functiondensity functionmw added one entryNORMDISTReturns the density function or the normal cumulative distribution.SyntaxNORMDIST(Number; Mean; StDev; C)Number is the value of the distribution based on which the normal distribution is to be calculated.Mean is the mean value of the distribution.StDev is the standard deviation of the distribution.C is optional. C = 0 calculates the density function, C = 1 calculates the distribution.Example=NORMDIST(70;63;5;0) returns 0.03.=NORMDIST(70;63;5;1) returns 0.92.PEARSON functionPEARSONReturns the Pearson product moment correlation coefficient r.SyntaxPEARSON(Data1; Data2)Data1 represents the array of the first data set.Data2 represents the array of the second data set.Example=PEARSON(A1:A30;B1:B30) returns the Pearson correlation coefficient of both data sets.PHI functionPHIReturns the values of the distribution function for a standard normal distribution.SyntaxPHI(Number)Number represents the value based on which the standard normal distribution is calculated.Example=PHI(2.25) = 0.03=PHI(-2.25) = 0.03=PHI(0) = 0.4POISSON functionPOISSONReturns the Poisson distribution.SyntaxPOISSON(Number; Mean; C)Number represents the value based on which the Poisson distribution is calculated.Mean represents the middle value of the Poisson distribution.C (optional) = 0 or False calculates the density function; C = 1 or True calculates the distribution. When omitted, the default value True is inserted when you save the document, for best compatibility with other programs and older versions of %PRODUCTNAME.Example=POISSON(60;50;1) returns 0.93.PERCENTILE functionPERCENTILEReturns the alpha-percentile of data values in an array. A percentile returns the scale value for a data series which goes from the smallest (Alpha=0) to the largest value (alpha=1) of a data series. For Alpha = 25%, the percentile means the first quartile; Alpha = 50% is the MEDIAN.SyntaxPERCENTILE(Data; Alpha)Data represents the array of data.Alpha represents the percentage of the scale between 0 and 1.Example=PERCENTILE(A1:A50;0.1) represents the value in the data set, which equals 10% of the total data scale in A1:A50.PERCENTRANK functionPERCENTRANKReturns the percentage rank of a value in a sample.SyntaxPERCENTRANK(Data; Value)Data represents the array of data in the sample.Value represents the value whose percentile rank must be determined.Example=PERCENTRANK(A1:A50;50) returns the percentage rank of the value 50 from the total range of all values found in A1:A50. If 50 falls outside the total range, an error message will appear.QUARTILE functionQUARTILEReturns the quartile of a data set.SyntaxQUARTILE(Data; Type)Data represents the array of data in the sample.Type represents the type of quartile. (0 = MIN, 1 = 25%, 2 = 50% (MEDIAN), 3 = 75% and 4 = MAX.)Example=QUARTILE(A1:A50;2) returns the value of which 50% of the scale corresponds to the lowest to highest values in the range A1:A50.