LqXEV‖Statistical Functions Part Two

U6XBd‖

35DYT‖FISHERINV

NBheE‖Returns the inverse of the Fisher transformation for x and creates a function close to a normal distribution.

GSbiK‖Syntax

qz5Mb‖FISHERINV(Number)

UdKvs‖ Number is the value that is to undergo reverse-transformation.

MiUAf‖Example

da3uF‖ =FISHERINV(0.5) yields 0.46.

EV9SE‖

7Ztar‖F.INV.RT

MEANj‖Returns the inverse right tail of the F distribution.

GSbiK‖Syntax

cZXD3‖F.INV.RT(Number; DegreesFreedom1; DegreesFreedom2)

Lrg3j‖Number is probability value for which the inverse F distribution is to be calculated.

pAdQP‖DegreesFreedom1 is the number of degrees of freedom in the numerator of the F distribution.

g4hYw‖DegreesFreedom2 is the number of degrees of freedom in the denominator of the F distribution.

MiUAf‖Example

wwd5j‖=F.INV.RT(0.5;5;10) yields 0.9319331609.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.F.INV.RT

Cd5VE‖

9mrAG‖HYPGEOMDIST

XWGNo‖Returns the hypergeometric distribution.

GSbiK‖Syntax

BEUMD‖HYPGEOMDIST(X; NSample; Successes; NPopulation [; Cumulative])

fBWBS‖ X is the number of results achieved in the random sample.

4g2Vk‖ NSample is the size of the random sample.

Ge9LE‖ Successes is the number of possible results in the total population.

J4daU‖ NPopulation is the size of the total population.

MDMvu‖Cumulative (optional) specifies whether to calculate the probability mass function (FALSE or 0) or the cumulative distribution function (any other value). The probability mass function is the default if no value is specified for this parameter.

MiUAf‖Example

Na3MB‖ =HYPGEOMDIST(2;2;90;100) yields 0.81. If 90 out of 100 pieces of buttered toast fall from the table and hit the floor with the buttered side first, then if 2 pieces of buttered toast are dropped from the table, the probability is 81%, that both will strike buttered side first.

KxBdg‖

AQoAB‖GAMMA.DIST

xqDfL‖Returns the values of a Gamma distribution.

yftrF‖The inverse function is GAMMAINV or GAMMA.INV.

P8Kc2‖This function is similar to GAMMADIST and was introduced for interoperability with other office suites.

GSbiK‖Syntax

Gk9Ch‖GAMMA.DIST(Number; Alpha; Beta; Cumulative)

kLcmS‖Number is the value for which the Gamma distribution is to be calculated.

zehYa‖Alpha is the parameter Alpha of the Gamma distribution.

Ncoxo‖Beta is the parameter Beta of the Gamma distribution.

a6oxX‖Cumulative = 0 or False calculates the probability density function; Cumulative = 1, True, or any other value calculates the cumulative distribution function.

MiUAf‖Example

Z7AS8‖=GAMMA.DIST(2;1;1;1) yields 0.86.

XAFa7‖Technical information

tip

iV7XA‖This function is available since LibreOfficeDev 4.3.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.GAMMA.DIST

ADKQX‖

CoN4S‖HYPGEOM.DIST

CB8RU‖Returns the hypergeometric distribution.

GSbiK‖Syntax

cr6Cw‖HYPGEOM.DIST(X; NSample; Successes; NPopulation; Cumulative)

CuQSa‖X is the number of results achieved in the random sample.

6BMz6‖NSample is the size of the random sample.

GvWAn‖Successes is the number of possible results in the total population.

VEzuG‖NPopulation is the size of the total population.

JG59B‖Cumulative : 0 or False calculates the probability density function. Other values or True calculates the cumulative distribution function.

MiUAf‖Example

xhCCb‖=HYPGEOM.DIST(2;2;90;100;0) yields 0.8090909091. If 90 out of 100 pieces of buttered toast fall from the table and hit the floor with the buttered side first, then if 2 pieces of buttered toast are dropped from the table, the probability is 81%, that both will strike buttered side first.

FEcD8‖=HYPGEOM.DIST(2;2;90;100;1) yields 1.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.HYPGEOM.DIST

PxFa5‖

DKZwe‖FISHER

hDWKe‖Returns the Fisher transformation for x and creates a function close to a normal distribution.

GSbiK‖Syntax

DiTG5‖FISHER(Number)

PApvX‖ Number is the value to be transformed.

MiUAf‖Example

kAsC9‖ =FISHER(0.5) yields 0.55.

orW9n‖

EAAVp‖TRIMMEAN

zgYaB‖Returns the mean of a data set without the Alpha percent of data at the margins.

GSbiK‖Syntax

JvcGQ‖TRIMMEAN(Data; Alpha)

G4Tgm‖ Data is the array of data in the sample.

5rzMf‖ Alpha is the percentage of the marginal data that will not be taken into consideration.

note

rBWwb‖This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


MiUAf‖Example

rNEaQ‖ =TRIMMEAN(A1:A50; 0.1) calculates the mean value of numbers in A1:A50, without taking into consideration the 5 percent of the values representing the highest values and the 5 percent of the values representing the lowest ones. The percentage numbers refer to the amount of the untrimmed mean value, not to the number of summands.

m5t86‖

GqFsu‖GAMMALN.PRECISE

kQGBj‖Returns the natural logarithm of the Gamma function: G(x).

GSbiK‖Syntax

EPFGG‖GAMMALN.PRECISE(Number)

XGJG5‖ Number is the value for which the natural logarithm of the Gamma function is to be calculated.

MiUAf‖Example

bgdFr‖ =GAMMALN.PRECISE(2) yields 0.

XAFa7‖Technical information

tip

iV7XA‖This function is available since LibreOfficeDev 4.3.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.GAMMALN.PRECISE

gTPtJ‖

JCFFP‖F.DIST

SiEUr‖Calculates the values of the left tail of the F distribution.

GSbiK‖Syntax

kNsgP‖F.DIST(Number; DegreesFreedom1; DegreesFreedom2 [; Cumulative])

TeZSu‖Number is the value for which the F distribution is to be calculated.

Dd9Fy‖degreesFreedom1 is the degrees of freedom in the numerator in the F distribution.

i5bYM‖degreesFreedom2 is the degrees of freedom in the denominator in the F distribution.

FECby‖Cumulative = 0 or False calculates the density function Cumulative = 1 or True calculates the distribution.

MiUAf‖Example

4kJ9b‖=F.DIST(0.8;8;12;0) yields 0.7095282499.

QZ4ha‖=F.DIST(0.8;8;12;1) yields 0.3856603563.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.F.DIST

yMEaw‖

JbBAA‖FDIST

ZWskN‖Calculates the values of an F distribution.

GSbiK‖Syntax

M9VcP‖FDIST(Number; DegreesFreedom1; DegreesFreedom2)

VnxEG‖ Number is the value for which the F distribution is to be calculated.

xvyWy‖ degreesFreedom1 is the degrees of freedom in the numerator in the F distribution.

GPL4t‖ degreesFreedom2 is the degrees of freedom in the denominator in the F distribution.

MiUAf‖Example

tjZ3p‖ =FDIST(0.8;8;12) yields 0.61.

evGF4‖

NAEn9‖GAMMAINV

VjdSc‖Returns the inverse of the Gamma cumulative distribution GAMMADIST. This function allows you to search for variables with different distribution.

GSbiK‖Syntax

W5ECp‖GAMMAINV(Number; Alpha; Beta)

tAhwL‖ Number is the probability value for which the inverse Gamma distribution is to be calculated.

ENapC‖ Alpha is the parameter Alpha of the Gamma distribution.

ErtFs‖ Beta is the parameter Beta of the Gamma distribution.

MiUAf‖Example

v4XCo‖ =GAMMAINV(0.8;1;1) yields 1.61.

bydJJ‖

PrsFu‖FTEST

4CuRA‖Returns the result of an F test.

GSbiK‖Syntax

dfQhF‖FTEST(Data1; Data2)

imMGU‖ Data1 is the first record array.

BBzxx‖ Data2 is the second record array.

note

rBWwb‖This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


MiUAf‖Example

SyAd8‖ =FTEST(A1:A30;B1:B12) calculates whether the two data sets are different in their variance and returns the probability that both sets could have come from the same total population.

E34M8‖

QgAHe‖HARMEAN

Mp6mJ‖Returns the harmonic mean of a data set.

GSbiK‖Syntax

EKBXf‖HARMEAN(Number 1 [; Number 2 [; … [; Number 255]]])

FjFBG‖Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

note

rBWwb‖This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


MiUAf‖Example

DcsFu‖ =HARMEAN(23;46;69) = 37.64. The harmonic mean of this random sample is thus 37.64

sP7Ai‖

RByBD‖GAMMA

8RdE5‖Returns the Gamma function value. Note that GAMMAINV is not the inverse of GAMMA, but of GAMMADIST.

GSbiK‖Syntax

WT29Z‖GAMMA(Number)

UefGj‖ Number is the number for which the Gamma function value is to be calculated.

6mr63‖

Uz5Sm‖GAUSS

NVGvv‖Returns the standard normal cumulative distribution.

GB3Ci‖It is GAUSS(x)=NORMSDIST(x)-0.5

GSbiK‖Syntax

UNZDd‖GAUSS(Number)

vDCPD‖ Number is the value for which the value of the standard normal distribution is to be calculated.

MiUAf‖Example

CCwps‖ =GAUSS(0.19) = 0.08

jvkjE‖ =GAUSS(0.0375) = 0.01

SMBpY‖

WS8Dh‖GAMMA.INV

bjbtj‖Returns the inverse of the Gamma cumulative distribution GAMMADIST. This function allows you to search for variables with different distribution.

enVLQ‖This function is identical to GAMMAINV and was introduced for interoperability with other office suites.

GSbiK‖Syntax

HMY9H‖GAMMA.INV(Number; Alpha; Beta)

MzWeJ‖ Number is the probability value for which the inverse Gamma distribution is to be calculated.

DrhyF‖ Alpha is the parameter Alpha of the Gamma distribution.

wcHEE‖ Beta is the parameter Beta of the Gamma distribution.

MiUAf‖Example

xFGLZ‖ =GAMMA.INV(0.8;1;1) yields 1.61.

XAFa7‖Technical information

tip

iV7XA‖This function is available since LibreOfficeDev 4.3.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.GAMMA.INV

mMbT3‖

Y2Ak5‖GAMMADIST

hUYKj‖Returns the values of a Gamma distribution.

meoeA‖The inverse function is GAMMAINV.

GSbiK‖Syntax

ER624‖GAMMADIST(Number; Alpha; Beta [; C])

V2SS4‖ Number is the value for which the Gamma distribution is to be calculated.

RYQrQ‖ Alpha is the parameter Alpha of the Gamma distribution.

wKD9X‖ Beta is the parameter Beta of the Gamma distribution.

kFBaX‖ C (optional) = 0 or False calculates the density function C = 1 or True calculates the distribution.

MiUAf‖Example

jMJza‖ =GAMMADIST(2;1;1;1) yields 0.86.

dGFBq‖

bFCUG‖FINV

GG7mb‖Returns the inverse of the F probability distribution. The F distribution is used for F tests in order to set the relation between two differing data sets.

GSbiK‖Syntax

TengJ‖FINV(Number; DegreesFreedom1; DegreesFreedom2)

atDLf‖ Number is probability value for which the inverse F distribution is to be calculated.

hAGrg‖ DegreesFreedom1 is the number of degrees of freedom in the numerator of the F distribution.

DPGvS‖ DegreesFreedom2 is the number of degrees of freedom in the denominator of the F distribution.

MiUAf‖Example

guu3Z‖ =FINV(0.5;5;10) yields 0.93.

GACer‖

cZvT9‖F.TEST

CgMsG‖Returns the result of an F test.

GSbiK‖Syntax

t5c7F‖F.TEST(Data1; Data2)

fAhSn‖Data1 is the first record array.

pYEB5‖Data2 is the second record array.

MiUAf‖Example

CDKEZ‖=F.TEST(A1:A30;B1:B12) calculates whether the two data sets are different in their variance and returns the probability that both sets could have come from the same total population.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.F.TEST

Vv57f‖

eeM5C‖F.DIST.RT

Sj3wx‖Calculates the values of the right tail of the F distribution.

GSbiK‖Syntax

jffhA‖F.DIST.RT(Number; DegreesFreedom1; DegreesFreedom2)

iS6YC‖Number is the value for which the F distribution is to be calculated.

TaWTm‖degreesFreedom1 is the degrees of freedom in the numerator in the F distribution.

RBfCC‖degreesFreedom2 is the degrees of freedom in the denominator in the F distribution.

MiUAf‖Example

dZCzj‖=F.DIST.RT(0.8;8;12) yields 0.6143396437.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.F.DIST.RT

nrdNQ‖

iBcgZ‖GEOMEAN

feyGb‖Returns the geometric mean of a sample.

GSbiK‖Syntax

YBnZG‖GEOMEAN(Number 1 [; Number 2 [; … [; Number 255]]])

FjFBG‖Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

note

rBWwb‖This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


MiUAf‖Example

phFEX‖ =GEOMEAN(23;46;69) = 41.79. The geometric mean value of this random sample is therefore 41.79.

meFzy‖

mfp9b‖F.INV

dhG8L‖Returns the inverse of the cumulative F distribution. The F distribution is used for F tests in order to set the relation between two differing data sets.

GSbiK‖Syntax

ZZUpG‖F.INV(Number; DegreesFreedom1; DegreesFreedom2)

3t3iq‖Number is probability value for which the inverse F distribution is to be calculated.

QWsR4‖DegreesFreedom1 is the number of degrees of freedom in the numerator of the F distribution.

7rbzv‖DegreesFreedom2 is the number of degrees of freedom in the denominator of the F distribution.

MiUAf‖Example

DW9BE‖=F.INV(0.5;5;10) yields 0.9319331609.

XAFa7‖Technical information

tip

2cFVC‖This function is available since LibreOfficeDev 4.2.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.F.INV

qXs2u‖

nocKU‖GAMMALN

HkbPu‖Returns the natural logarithm of the Gamma function: G(x).

GSbiK‖Syntax

FsWBA‖GAMMALN(Number)

cHQEE‖ Number is the value for which the natural logarithm of the Gamma function is to be calculated.

MiUAf‖Example

88D3G‖ =GAMMALN(2) yields 0.

72brA‖

rkrJC‖ZTEST

dhrcC‖Calculates the probability of observing a z-statistic greater than the one computed based on a sample.

GSbiK‖Syntax

GeqDU‖ZTEST(Data; mu [; Sigma])

KGgHr‖ Data is the given sample, drawn from a normally distributed population.

4kTxA‖ mu is the known mean of the population.

2jAvR‖ Sigma (optional) is the known standard deviation of the population. If omitted, the standard deviation of the given sample is used.

nAPgU‖See also the Wiki page.

note

rBWwb‖This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


BM9oD‖

ycBEg‖Z.TEST

xo3Fc‖Calculates the probability of observing a z-statistic greater than the one computed based on a sample.

GSbiK‖Syntax

Ug83K‖Z.TEST(Data; mu [; Sigma])

2peSH‖Data is the given sample, drawn from a normally distributed population.

havEd‖mu is the known mean of the population.

uuVdM‖Sigma (optional) is the known standard deviation of the population. If omitted, the standard deviation of the given sample is used.

MiUAf‖Example

sbnS9‖=Z.TEST(A2:A20; 9; 2) returns the result of a z-test on a sample A2:A20 drawn from a population with known mean 9 and known standard deviation 2.

XAFa7‖Technical information

tip

iV7XA‖This function is available since LibreOfficeDev 4.3.


7AVhU‖This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.Z.TEST