# Statistical Functions Part Five

### SKEVFORDELING.P

Calculates the skewness of a distribution using the population of a random variable. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.1.

#### Syntaks

SKEWP(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least three values. This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015) 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.

#### Eksempler

SKEWP(2;3;1;6;8;5) returns 0.2329985562

SKEWP(A1:A6) returns 0.2329985562, when the range A1:A6 contains {2;3;1;6;8;5}

## DEVSQ

Gir summen av kvadratene av avvikene basert på gjennomsnittet i et utvalg.

#### Syntax

DEVSQ(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1, Number 2, … , Number 255 are numbers, references to cells or to cell ranges of numbers. 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.

## FORECAST

Ekstrapolerer sluttverdier basert på eksisterende x- og y-verdier.

#### Syntax

FORECAST(Value; DataY; DataX)

Value is the x value, for which the y value on the linear regression is to be returned.

Tekst er teksten som tilsvarer et romertall.

Tekst er teksten som tilsvarer et romertall.

#### Example

=FORECAST(50;A1:A50;B1;B50) returns the Y value expected for the X value of 50 if the X and Y values in both references are linked by a linear trend.

## FORECAST.LINEAR

Ekstrapolerer sluttverdier basert på eksisterende x- og y-verdier.

#### Syntax

FORECAST.LINEAR(Value; DataY; DataX)

Value is the x value, for which the y value on the linear regression is to be returned.

Tekst er teksten som tilsvarer et romertall.

Tekst er teksten som tilsvarer et romertall.

#### Example

=FORECAST.LINEAR(50;A1:A50;B1;B50) returns the Y value expected for the X value of 50 if the X and Y values in both references are linked by a linear trend.

## NORM.S.DIST

Returns the standard normal cumulative distribution function. The distribution has a mean of zero and a standard deviation of one. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

NORM.S.DIST(Number; Cumulative)

Number is the value to which the standard normal cumulative distribution is calculated.

Cumulative 0 or FALSE calculates the probability density function. Any other value or TRUE calculates the cumulative distribution function.

#### Example

=NORM.S.DIST(1;0) returns 0.2419707245.

=NORM.S.DIST(1;1) returns 0.8413447461. The area below the standard normal distribution curve to the left of X value 1 is 84% of the total area.

## NORM.S.INV

Gir den inverse til standard kumulativ normalfordeling. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

NORM.S.INV(Number)

Number is the probability to which the inverse standard normal distribution is calculated.

#### Example

=ELLER(A; B) gir SANN

## NORMSDIST

Returns the standard normal cumulative distribution function. The distribution has a mean of zero and a standard deviation of one.

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

#### Syntax

NORMSDIST(Number)

Number is the value to which the standard normal cumulative distribution is calculated.

#### Example

=NORMSDIST(1) returns 0.84. The area below the standard normal distribution curve to the left of X value 1 is 84% of the total area.

## NORMSINV

Gir den inverse til standard kumulativ normalfordeling.

#### Syntax

NORMSINV(Number)

Number is the probability to which the inverse standard normal distribution is calculated.

#### Example

=ELLER(A; B) gir SANN

## PERMUT

Gir antall permutasjoner for et gitt antall objekter.

#### Syntax

PERMUT(Count1; Count2)

Count1 is the total number of objects.

Count2 is the number of objects in each permutation.

#### Example

=PERMUT(6;3) returns 120. There are 120 different possibilities, to pick a sequence of 3 playing cards out of 6 playing cards.

## PERMUTATIONA

Gir antall permutasjoner for et gitt antall objekter (med tilbakelegging).

#### Syntax

PERMUTATIONA(Count1; Count2)

Count1 is the total number of objects.

Count2 is the number of objects in each permutation.

#### Example

How often can 2 objects be selected from a total of 11 objects?

=PERMUTATIONA(6;3) returns 216. There are 216 different possibilities to put a sequence of 3 playing cards together out of six playing cards if every card is returned before the next one is drawn.

## PROB

Returns the probability that values in a range are between two limits. If there is no End value, this function calculates the probability based on the principle that the Data values are equal to the value of Start.

#### Syntax

PROB(Data; Probability; Start [; End])

Tekst er teksten som tilsvarer et romertall.

Probability is the array or range of the corresponding probabilities.

Start is the start value of the interval whose probabilities are to be summed.

End (optional) is the end value of the interval whose probabilities are to be summed. If this parameter is missing, the probability for the Start value is calculated.

#### Example

=PROB(A1:A50;B1:B50;50;60) returns the probability with which a value within the range of A1:A50 is also within the limits between 50 and 60. Every value within the range of A1:A50 has a probability within the range of B1:B50.

## RANK.AVG

Returns the statistical rank of a given value, within a supplied array of values. If there are duplicate values in the list, the average rank is returned. The difference between RANK.AVG and RANK.EQ occurs when there are duplicates in the list of values. The RANK.EQ function returns the lower rank, whereas the RANK.AVG function returns the average rank. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

RANK.AVG(Value; Data [; Type])

Value is the value, whose rank is to be determined.

Tekst er teksten som tilsvarer et romertall.

Type (optional) is the sequence order.

Type = 0 means descending from the last item of the array to the first (this is the default),

Type = 1 means ascending from the first item of the range to the last.

#### Example

=RANK.AVG(A10;A1:A50) returns the ranking of the value in A10 in value range A1:A50. If Value does not exist within the range an error message is displayed.

## RANK.EQ

Returns the statistical rank of a given value, within a supplied array of values. If there are duplicate values in the list, these are given the same rank. The difference between RANK.AVG and RANK.EQ occurs when there are duplicates in the list of values. The RANK.EQ function returns the lower rank, whereas the RANK.AVG function returns the average rank. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

RANK.EQ(Value; Data [; Type])

Value is the value, whose rank is to be determined.

Tekst er teksten som tilsvarer et romertall.

Type (optional) is the sequence order.

Type = 0 means descending from the last item of the array to the first (this is the default),

Type = 1 means ascending from the first item of the range to the last.

#### Example

=RANK.EQ(A10;A1:A50) returns the ranking of the value in A10 in value range A1:A50. If Value does not exist within the range an error message is displayed.

## SKEW

Gir skjevheten i en fordeling.

#### Syntax

SKEW(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least three values. 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.

#### Example

=SKEW(A1:A50) calculates the value of skew for the data referenced.

## SLOPE

Gir stigningstallet til den lineære regresjonslinja. Stigningstallet er tilpasset datapunktene valgt i y- og x-verdiene.

#### Syntax

SLOPE(DataY; DataX)

Tekst er teksten som tilsvarer et romertall.

Tekst er teksten som tilsvarer et romertall.

## STANDARDIZE

Gjør om en stokastisk variabel til en normalisert verdi.

#### Syntax

STANDARDIZE(Number; Mean; StDev)

Tekst er teksten som tilsvarer et romertall.

Mean is the arithmetic mean of the distribution.

StDev is the standard deviation of the distribution.

#### Example

=STANDARDIZE(11;10;1) returns 1. The value 11 in a normal distribution with a mean of 10 and a standard deviation of 1 is as much above the mean of 10, as the value 1 is above the mean of the standard normal distribution.

## STDAV (STDEV på engelsk)

Estimerer standardavviket basert på et utvalg.

#### Syntax

STDEV(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values. 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.

#### Example

=STDEV(A1:A50) returns the estimated standard deviation based on the data referenced.

## STDAV (STDEV på engelsk)

Regner ut standardavviket til et estimat basert på et utvalg.

#### Syntax

STDEVA(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values. Text has the value 0.

#### Example

=STDEVA(A1:A50) returns the estimated standard deviation based on the data referenced.

## STDAVP (STDEVP på engelsk)

Beregn standardavviket basert på hele populasjonen.

#### Syntax

STDEVP(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1, Number 2, … , Number 255 are numbers, references to cells or to cell ranges of numbers. 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.

#### Example

=STDEVP(A1:A50) returns a standard deviation of the data referenced.

## STDAVP (STDEVP på engelsk)

Beregn standardavviket basert på hele populasjonen. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

STDEV.P(Number 1 [; Number 2 [; … [; Number 255]]])

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

#### Example

=STDEV.P(A1:A50) returns a standard deviation of the data referenced.

## STDAVP (STDEVP på engelsk)

Beregner standardavviket basert på hele populasjonen. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

STDEV.S(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values.

#### Example

=STDEV.S(A1:A50) returns a standard deviation of the data referenced.

## STDAVP (STDEVP på engelsk)

Beregn standardavviket basert på hele populasjonen.

#### Syntax

STDEVPA(Number 1 [; Number 2 [; … [; Number 255]]])

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

Text has the value 0.

#### Example

=STDEVPA(A1:A50) returns the standard deviation of the data referenced.

## STEYX

Gir standardfeilen til den anslåtte y-verdien for hver x-verdi i regresjonen.

#### Syntax

STEYX(DataY; DataX)

Tekst er teksten som tilsvarer et romertall.

Tekst er teksten som tilsvarer et romertall.

## T.DIST

Gir t-fordelinga. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.DIST(Number; DegreesFreedom; Cumulative)

Number is the value for which the t-distribution is calculated.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

Cumulative = 0 or FALSE returns the probability density function, 1 or TRUE returns the cumulative distribution function.

#### Example

=T.DIST(1; 10; TRUE) returns 0.8295534338

## T.DIST.2T

Calculates the two-tailed Student's T Distribution, which is a continuous probability distribution that is frequently used for testing hypotheses on small sample data sets. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.DIST.2T(Number; DegreesFreedom)

Number is the value for which the t-distribution is calculated.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

#### Example

=T.DIST.2T(1; 10) returns 0.3408931323.

## T.DIST.RT

Calculates the right-tailed Student's T Distribution, which is a continuous probability distribution that is frequently used for testing hypotheses on small sample data sets. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.DIST.RT(Number; DegreesFreedom)

Number is the value for which the t-distribution is calculated.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

#### Example

=T.DIST.RT(1; 10) returns 0.1704465662.

## T.INV

Gir inversverdien til t-fordelinga. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.INV(Number; DegreesFreedom)

Number is the probability associated with the one-tailed t-distribution.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

#### Example

=ELLER(A; B) gir SANN

## T.INV.2T

Calculates the inverse of the two-tailed Student's T Distribution , which is a continuous probability distribution that is frequently used for testing hypotheses on small sample data sets. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.INV.2T(Number; DegreesFreedom)

Number is the probability associated with the two-tailed t-distribution.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

#### Example

=T.INV.2T(0.25; 10) returns 1.221255395.

## T.TEST

Gir sannsynligheten som hører til en Student-t-test. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

T.TEST(Data1; Data2; Mode; Type)

Data1 is the dependent array or range of data for the first record.

Data2 is the dependent array or range of data for the second record.

Mode = 1 calculates the one-tailed test, Mode = 2 the two- tailed test.

Type is the kind of t-test to perform. Type 1 means paired. Type 2 means two samples, equal variance (homoscedastic). Type 3 means two samples, unequal variance (heteroscedastic).

## TDIST

Gir t-fordelinga.

#### Syntax

TDIST(Number; DegreesFreedom; Mode)

Number is the value for which the t-distribution is calculated.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

Mode = 1 returns the one-tailed test, Mode = 2 returns the two-tailed test.

## TILFELDIG (RAND på engelsk)

Gir rangen til et tall i et utvalg.

#### Syntax

RANK(Value; Data [; Type])

Value is the value, whose rank is to be determined.

Tekst er teksten som tilsvarer et romertall.

Type (optional) is the sequence order.

Type = 0 means descending from the last item of the array to the first (this is the default),

Type = 1 means ascending from the first item of the range to the last. 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.

#### Example

=RANK(A10;A1:A50) returns the ranking of the value in A10 in value range A1:A50. If Value does not exist within the range an error message is displayed.

## TINV

Gir inversverdien til t-fordelinga.

#### Syntax

TINV(Number; DegreesFreedom)

Number is the probability associated with the two-tailed t-distribution.

DegreesFreedom is the number of degrees of freedom for the t-distribution.

#### Example

=ELLER(A; B) gir SANN

## TTEST

Gir sannsynligheten som hører til en Student-t-test.

#### Syntax

TTEST(Data1; Data2; Mode; Type)

Data1 is the dependent array or range of data for the first record.

Data2 is the dependent array or range of data for the second record.

Mode = 1 calculates the one-tailed test, Mode = 2 the two- tailed test.

Type is the kind of t-test to perform. Type 1 means paired. Type 2 means two samples, equal variance (homoscedastic). Type 3 means two samples, unequal variance (heteroscedastic).

## VARIANS

Estimerer variansen basert på et utvalg.

#### Syntax

VAR(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values. 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.

## VARIANS

Beregn en varians basert på et utfall. Tekst får verdien 0.

#### Syntax

VARA(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values.

## VARIANSP (VARP på engelsk)

>Estimerer variansen basert på et utvalg. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

VAR.S(Number 1 [; Number 2 [; … [; Number 255]]])

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

The parameters should specify at least two values.

## VARIANSP (VARP på engelsk)

Beregn variansen basert på hele populasjonen.

#### Syntax

VARP(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1, Number 2, … , Number 255 are numbers, references to cells or to cell ranges of numbers. 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.

## VARIANSP (VARP på engelsk)

Beregn variansen basert på hele populasjonen. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

VAR.P(Number 1 [; Number 2 [; … [; Number 255]]])

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

## VARIANSP (VARP på engelsk)

Regner ut variansen basert på hele populasjonen. Tekst får verdien 0.

#### Syntax

VARPA(Number 1 [; Number 2 [; … [; Number 255]]])

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

## WEIBULL

Gir verdiene for Weibull-fordelinga.

The Weibull distribution is a continuous probability distribution, with parameters Alpha > 0 (shape) and Beta > 0 (scale).

If C is 0, WEIBULL calculates the probability density function.

If C is 1, WEIBULL calculates the cumulative distribution function.

#### Syntax

WEIBULL(Number; Alpha; Beta; C)

Number is the value at which to calculate the Weibull distribution.

Alpha is the shape parameter of the Weibull distribution.

Beta is the scale parameter of the Weibull distribution.

C indicates the type of function.

## WEIBULL.DIST

Gir verdiene for Weibull-fordelinga.

The Weibull distribution is a continuous probability distribution, with parameters Alpha > 0 (shape) and Beta > 0 (scale).

If C is 0, WEIBULL.DIST calculates the probability density function.

If C is 1, WEIBULL.DIST calculates the cumulative distribution function. Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

WEIBULL.DIST(Number; Alpha; Beta; C)

Number is the value at which to calculate the Weibull distribution.

Alpha is the shape parameter of the Weibull distribution.

Beta is the scale parameter of the Weibull distribution.

C indicates the type of function.