Finansfunksjoner del en

Innhold
Innholdsliste 🔎︎

# Statistical Functions Part One

## COUNTIFS

Returns the count of cells that meet criteria in multiple ranges.

## B

Gir sannsynligheten til et utvalg med binomialfordelinga.

#### Syntax

B(Trials; SP; T1 [; T2])

Tekst er teksten som tilsvarer et romertall.

SP is the probability of success on each trial.

T1 defines the lower limit for the number of trials.

T2 (optional) defines the upper limit for the number of trials.

#### Example

What is the probability with ten throws of the dice, that a six will come up exactly twice? The probability of a six (or any other number) is 1/6. The following formula combines these factors:

=B(10;1/6;2) returns a probability of 29%.

## BETADIST

Returnerer betafunksjonen..

#### Syntax

BETADIST(Number; Alpha; Beta [; Start [; End [; Cumulative]]])

Number is the value between Start and End at which to evaluate the function.

Alpha is a parameter to the distribution.

Beta is a parameter to the distribution.

Start (optional) is the lower bound for Number.

End (optional) is the upper bound for Number.

Cumulative (optional) can be 0 or False to calculate the probability density function. It can be any other value or True or omitted to calculate the cumulative distribution function.

I LibreOffice Calc-funksjoner kan parametre merket som «valgfri» kun utelates hvis ingen parameter følger etter. For eksempel i en funksjon med fire parametre, hvor de siste to parametrene er merket som «valgfri», kan du utelade parameter 4 eller parametrene 3 og 4, men du kan ikke utelate parameter 3 alene.

#### Example

=BETADIST(0.75;3;4) returns the value 0.96.

## BETA.DIST

Returnerer beta funsjonen.

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

#### Syntax

BETA.DIST(Number; Alpha; Beta; Cumulative [; Start [; End]])

Number (required) is the value between Start and End at which to evaluate the function.

Alpha (required) is a parameter to the distribution.

Beta (required) is a parameter to the distribution.

Cumulative (required) can be 0 or False to calculate the probability density function. It can be any other value or True to calculate the cumulative distribution function.

Start (optional) is the lower bound for Number.

End (optional) is the upper bound for Number.

I LibreOffice Calc-funksjoner kan parametre merket som «valgfri» kun utelates hvis ingen parameter følger etter. For eksempel i en funksjon med fire parametre, hvor de siste to parametrene er merket som «valgfri», kan du utelade parameter 4 eller parametrene 3 og 4, men du kan ikke utelate parameter 3 alene.

#### Example

=ELLER(A; B) gir SANN

=ELLER(A; B) gir SANN

#### Technical information

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.BETA.DIST

## BETAINV

Returns the inverse of the cumulative Beta probability density function.

#### Syntax

BETAINV(Number; Alpha; Beta [; Start [; End]])

Number is the probability associated with the Beta distribution for the given arguments Alpha and Beta.

Alpha is a strictly positive parameter of the Beta distribution.

Beta is a strictly positive parameter of the Beta distribution.

Start (optional) is the lower bound of the output range of the function. If omitted, the default value is 0.

End (optional) is the upper bound of the output range of the function. If omitted, the default value is 1.

I LibreOffice Calc-funksjoner kan parametre merket som «valgfri» kun utelates hvis ingen parameter følger etter. For eksempel i en funksjon med fire parametre, hvor de siste to parametrene er merket som «valgfri», kan du utelade parameter 4 eller parametrene 3 og 4, men du kan ikke utelate parameter 3 alene.

#### Example

=BETAINV(0.5;5;10) returns the value 0.3257511553.

BETAINV Wiki page

## BETA.INV

Returns the inverse of the cumulative Beta probability density function.

#### Syntax

BETA.INV(Number; Alpha; Beta [; Start [; End]])

Number is the probability associated with the Beta distribution for the given arguments Alpha and Beta.

Alpha is a strictly positive parameter of the Beta distribution.

Beta is a strictly positive parameter of the Beta distribution.

Start (optional) is the lower bound of the output range of the function. If omitted, the default value is 0.

End (optional) is the upper bound of the output range of the function. If omitted, the default value is 1.

I LibreOffice Calc-funksjoner kan parametre merket som «valgfri» kun utelates hvis ingen parameter følger etter. For eksempel i en funksjon med fire parametre, hvor de siste to parametrene er merket som «valgfri», kan du utelade parameter 4 eller parametrene 3 og 4, men du kan ikke utelate parameter 3 alene.

#### Example

=BETA.INV(0.5;5;10) returns the value 0.3257511553.

BETA.INV Wiki page

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.BETA.INV

## BINOMDIST

Gir sannsynligheten for den enkelte periodes binomialfordeling.

#### Syntax

BINOMDIST(X; Trials; SP; C)

X is the number of successes in a set of trials.

Tekst er teksten som tilsvarer et romertall.

SP is the probability of success on each trial.

C = 0 calculates the probability of a single event and C = 1 calculates the cumulative probability.

#### Example

=BINOMDIST(A1;12;0.5;0) shows (if the values 0 to 12 are entered in A1) the probabilities for 12 flips of a coin that Heads will come up exactly the number of times entered in A1.

=BINOMDIST(A1;12;0.5;1) shows the cumulative probabilities for the same series. For example, if A1 = 4, the cumulative probability of the series is 0, 1, 2, 3 or 4 times Heads (non-exclusive OR).

## BINOM.DIST

Gir sannsynligheten for den enkelte periodes binomialfordeling.

#### Syntax

BINOM.DIST(X; Trials; SP; C)

X is the number of successes in a set of trials.

Tekst er teksten som tilsvarer et romertall.

SP is the probability of success on each trial.

C = 0 calculates the probability of a single event and C = 1 calculates the cumulative probability.

#### Example

=BINOM.DIST(A1;12;0.5;0) shows (if the values 0 to 12 are entered in A1) the probabilities for 12 flips of a coin that Heads will come up exactly the number of times entered in A1.

=BINOM.DIST(A1;12;0.5;1) shows the cumulative probabilities for the same series. For example, if A1 = 4, the cumulative probability of the series is 0, 1, 2, 3 or 4 times Heads (non-exclusive OR).

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.BINOM.DIST

## BINOM.INV

Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.

#### Syntax

BINOM.INV(Trials; SP; Alpha)

Trials The total number of trials.

SP is the probability of success on each trial.

Alpha The border probability that is attained or exceeded.

#### Example

=BINOM.INV(8;0.6;0.9) returns 7, the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.BINOM.INV

## CHIDIST

Gir sannsynligheten for bekreftelse av en hypotese fra den oppgitte kjikvadratverdien. Kji-kvadratverdien som skal gis for et tilfeldig utvalg som er beregnet fra summen av (observert verdi-forventet verdi)^2/forventet verdi for alle verdier, blir sammenlignet med den teoretiske Kji-kvadratfordelinga og bestemmer på bakgrunn av denne sannsynligheten for feil for hypotesen som blir testet.

The probability determined by CHIDIST can also be determined by CHITEST.

#### Syntax

CHIDIST(Number; DegreesFreedom)

Number is the chi-square value of the random sample used to determine the error probability.

DegreesFreedom are the degrees of freedom of the experiment.

#### Example

=OG(A; B) gir USANN

If the Chi square value of the random sample is 13.27 and if the experiment has 5 degrees of freedom, then the hypothesis is assured with a probability of error of 2%.

## CHIINV

Gir inversverdien av den enhalede (ensidige) sannsynligheten til kjikvadratfordelinga.

#### Syntax

CHIINV(Number; DegreesFreedom)

Tekst er teksten som tilsvarer et romertall.

DegreesFreedom is the degrees of freedom of the experiment.

#### Example

A die is thrown 1020 times. The numbers on the die 1 through 6 come up 195, 151, 148, 189, 183 and 154 times (observation values). The hypothesis that the die is not fixed is to be tested.

The Chi square distribution of the random sample is determined by the formula given above. Since the expected value for a given number on the die for n throws is n times 1/6, thus 1020/6 = 170, the formula returns a Chi square value of 13.27.

If the (observed) Chi square is greater than or equal to the (theoretical) Chi square CHIINV, the hypothesis will be discarded, since the deviation between theory and experiment is too great. If the observed Chi square is less that CHIINV, the hypothesis is confirmed with the indicated probability of error.

=OG(A; B) gir USANN

=OG(A; B) gir USANN

If the probability of error is 5%, the die is not true. If the probability of error is 2%, there is no reason to believe it is fixed.

## CHISQDIST

Returns the value of the probability density function or the cumulative distribution function for the chi-square distribution.

#### Syntax

CHISQDIST(Number; Degrees Of Freedom [; Cumulative])

Number is the number for which the function is to be calculated.

Degrees Of Freedom is the degrees of freedom for the chi-square function.

Cumulative (optional): 0 or False calculates the probability density function. Other values or True or omitted calculates the cumulative distribution function.

## CHISQ.DIST

Returns the probability density function or the cumulative distribution function for the chi-square distribution.

#### Syntax

CHISQ.DIST(Number; DegreesFreedom; Cumulative)

Number is the chi-square value of the random sample used to determine the error probability.

DegreesFreedom are the degrees of freedom of the experiment.

Cumulative can be 0 or False to calculate the probability density function. It can be any other value or True to calculate the cumulative distribution function.

#### Example

=CHISQ.DIST(3; 2; 0) equals 0.1115650801, the probability density function with 2 degrees of freedom, at x = 3.

=CHISQ.DIST(3; 2; 1) equals 0.7768698399, the cumulative chi-square distribution with 2 degrees of freedom, at the value x = 3.

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.CHISQ.DIST

## CHISQ.DIST.RT

Gir sannsynligheten for bekreftelse av en hypotese fra den oppgitte kjikvadratverdien. Kji-kvadratverdien som skal gis for et tilfeldig utvalg som er beregnet fra summen av (observert verdi-forventet verdi)^2/forventet verdi for alle verdier, blir sammenlignet med den teoretiske Kji-kvadratfordelinga og bestemmer på bakgrunn av denne sannsynligheten for feil for hypotesen som blir testet.

The probability determined by CHISQ.DIST.RT can also be determined by CHITEST.

#### Syntax

CHISQ.DIST.RT(Number; DegreesFreedom)

Number is the chi-square value of the random sample used to determine the error probability.

DegreesFreedom are the degrees of freedom of the experiment.

#### Example

=OG(A; B) gir USANN

If the Chi square value of the random sample is 13.27 and if the experiment has 5 degrees of freedom, then the hypothesis is assured with a probability of error of 2%.

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.CHISQ.DIST.RT

## CHISQINV

Returns the inverse of CHISQDIST.

#### Syntax

CHISQINV(Probability; Degrees of Freedom)

Probability is the probability value for which the inverse of the chi-square distribution is to be calculated.

Degrees Of Freedom is the degrees of freedom for the chi-square function.

## CHISQ.INV

Gir inversverdien av den enhalede (ensidige) sannsynligheten til kjikvadratfordelinga.

#### Syntax

CHISQ.INV(Probability; DegreesFreedom)

Probability is the probability value for which the inverse of the chi-square distribution is to be calculated.

Degrees Of Freedom is the degrees of freedom for the chi-square function.

#### Example

=OG(A; B) gir USANN

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.CHISQ.INV

## CHISQ.INV.RT

Gir inversverdien av den enhalede (ensidige) sannsynligheten til kjikvadratfordelinga.

#### Syntax

CHISQ.INV.RT(Number; DegreesFreedom)

Tekst er teksten som tilsvarer et romertall.

DegreesFreedom is the degrees of freedom of the experiment.

#### Example

A die is thrown 1020 times. The numbers on the die 1 through 6 come up 195, 151, 148, 189, 183 and 154 times (observation values). The hypothesis that the die is not fixed is to be tested.

The Chi square distribution of the random sample is determined by the formula given above. Since the expected value for a given number on the die for n throws is n times 1/6, thus 1020/6 = 170, the formula returns a Chi square value of 13.27.

If the (observed) Chi square is greater than or equal to the (theoretical) Chi square CHIINV, the hypothesis will be discarded, since the deviation between theory and experiment is too great. If the observed Chi square is less that CHIINV, the hypothesis is confirmed with the indicated probability of error.

=OG(A; B) gir USANN

=OG(A; B) gir USANN

If the probability of error is 5%, the die is not true. If the probability of error is 2%, there is no reason to believe it is fixed.

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.CHISQ.INV.RT

## CHISQ.TEST

Gir sannsynligheten for et avvik fra en tilfeldig fordeling av to testserier basert på kjikvadratstesten for uavhengighet. KJITEST gir kjikvadratfordelinga til dataene.

The probability determined by CHISQ.TEST can also be determined with CHISQ.DIST, in which case the Chi square of the random sample must then be passed as a parameter instead of the data row.

#### Syntax

CHISQ.TEST(DataB; DataE)

Tekst er teksten som tilsvarer et romertall.

DataE is the range of the expected values.

#### Example

| Data_B (observed) | Data_E (expected)
1 | 195 | 170
2 | 151 | 170
3 | 148 | 170
4 | 189 | 170
5 | 183 | 170
6 | 154 | 170

=CHISQ.TEST(A1:A6;B1:B6) equals 0.0209708029. This is the probability which suffices the observed data of the theoretical Chi-square distribution.

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.CHISQ.TEST

## CHITEST

Gir sannsynligheten for et avvik fra en tilfeldig fordeling av to testserier basert på kjikvadratstesten for uavhengighet. KJITEST gir kjikvadratfordelinga til dataene.

The probability determined by CHITEST can also be determined with CHIDIST, in which case the Chi square of the random sample must then be passed as a parameter instead of the data row.

#### Syntax

CHITEST(DataB; DataE)

Tekst er teksten som tilsvarer et romertall.

DataE is the range of the expected values.

#### Example

| Data_B (observed) | Data_E (expected)
1 | 195 | 170
2 | 151 | 170
3 | 148 | 170
4 | 189 | 170
5 | 183 | 170
6 | 154 | 170

=CHITEST(A1:A6;B1:B6) equals 0.02. This is the probability which suffices the observed data of the theoretical Chi-square distribution.

## COUNT

Teller hvor mange tall som finnes i listen over argumenter. Tekststrenger blir ignorert.

#### Syntax

COUNT(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

Elementene 2, 4, 6 og åtte i Verdifeltene 1 - 4 skal telles.

=COUNT(2;4;6;"eight") = 3. The count of numbers is therefore 3.

## COUNTA

Teller hvor mange verdier som finnes i listen over argumenter. Teller også tekststrenger (selv om de inneholder en tom streng med lengde 0). Tomme celler blir ignorert hvis argumentet er en matrise eller referanse.

#### Syntax

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

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

#### Example

Elementene 2, 4, 6 og åtte i Verdifeltene 1 - 4 skal telles.

=COUNTA(2;4;6;"eight") = 4. The count of values is therefore 4.

## COUNTBLANK

Gir antall tomme celler.

#### Syntax

TELLBLANKE(område)

Returns the number of empty cells in the cell range Range.

#### Example

=COUNTBLANK(A1:B2) returns 4 if cells A1, A2, B1, and B2 are all empty.

## COUNTIF

Gir antall celler som oppfyller bestemte kriterier inne i et celleområde.

#### Syntax

COUNTIF(Range; Criterion)

Range is the range to which the criteria are to be applied.

Criterion: A criterion is a single cell Reference, Number or Text. It is used in comparisons with cell contents.

A reference to an empty cell is interpreted as the numeric value 0.

A matching expression can be:

- A Number or Logical value. A matching cell content equals the Number or Logical value.

- A value beginning with a comparator (<, <=, =, >, >=, <>).

  For =, if the value is empty it matches empty cells.

  For <>, if the value is empty it matches non-empty cells.

  For <>, if the value is not empty it matches any cell content except the value, including empty cells.

  Note: "=0" does not match empty cells.

  For = and <>, if the value is not empty and can not be interpreted as a Number type or one of its subtypes and the property Search criteria = and <> must apply to whole cells is checked, comparison is against the entire cell contents, if unchecked, comparison is against any subpart of the field that matches the criteria. For = and <>, if the value is not empty and can not be interpreted as a Number type or one of its subtypes applies.

- Other Text value. If the property Search criteria = and <> must apply to whole cells is true, the comparison is against the entire cell contents, if false, comparison is against any subpart of the field that matches the criteria. The expression can contain text, numbers, regular expressions or wildcards (if enabled in calculation options).

Søket støtter jokertegn eller regular expressions. Med regulære uttrykk aktivert , kan du skrive "alle.*", for eksempel for å finne den første forekomsten av "alle" fulgt av villkårlge tegn. Hvis du vil søke etter en tekst som også er et vanlig uttrykk, må du enten foran hvert tegn med et "\" -tegn, eller vedlegge teksten til \ Q ... \ E. Du kan slå automatisk evaluering av jokertegn eller vanlig uttrykk av og på i LibreOffice - EgenskaperVerktøy - Alternativer - LibreOffice Calc - Kalkuler.

Når du bruker funksjoner der ett eller flere argumenter er søkekriterier, som representerer et regulært uttrykk, er det første forsøket å konvertere strengkriteriene til tall. For eksempel vil ".0" konverteres til 0.0 og så videre. Hvis det lykkes, vil matchingen ikke være et vanlig uttrykk, men en numerisk match. Imidlertid, når du bytter til et sted der desimalskilleren ikke er punktum, får det konvertering av regulære uttrykk å fungere. For å tvinge evalueringen av det regulære uttrykket i stedet for et numerisk uttrykk, bruker du et uttrykk som ikke kan feilleses som numerisk, for eksempel ". [0]" eller ". \ 0" eller "(? I) .0".

#### Example

A1:A10 is a cell range containing the numbers 2000 to 2009. Cell B1 contains the number 2006. In cell B2, you enter a formula:

=COUNTIF(A1:A10;2006) - this returns 1.

=COUNTIF(A1:A10;B1) - this returns 1.

=COUNTIF(A1:A10;">=2006") - this returns 4.

=COUNTIF(A1:A10;"<"&B1) - when B1 contains 2006, this returns 6.

=COUNTIF(A1:A10;C2) where cell C2 contains the text >2006 counts the number of cells in the range A1:A10 which are >2006.

To count only negative numbers: =COUNTIF(A1:A10;"<0")

## EXPONDIST

Gir eksponentialfordelinga.

#### Syntax

EXPONDIST(Number; Lambda; C)

Tekst er teksten som tilsvarer et romertall.

Lambda is the parameter value.

C is a logical value that determines the form of the function. C = 0 calculates the density function, and C = 1 calculates the distribution.

#### Example

=ELLER(A; B) gir SANN

## EXPON.DIST

Gir eksponentialfordelinga.

#### Syntax

EXPON.DIST(Number; Lambda; C)

Tekst er teksten som tilsvarer et romertall.

Lambda is the parameter value.

C is a logical value that determines the form of the function. C = 0 calculates the density function, and C = 1 calculates the distribution.

#### Example

=ELLER(A; B) gir SANN

#### Technical information

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.2.

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.EXPON.DIST

## INTERCEPT

Beregn punktet der en linje skjærer y-verdiene ved å bruke kjente x-verdier (kjent_x) og y-verdier (kjent_y).

#### Syntax

INTERCEPT(DataY; DataX)

DataY is the dependent set of observations or data.

DataX is the independent set of observations or data.

Names, arrays or references containing numbers must be used here. Numbers can also be entered directly.

#### Example

To calculate the intercept, use cells D3:D9 as the y value and C3:C9 as the x value from the example spreadsheet. Input will be as follows:

=INTERCEPT(D3:D9;C3:C9) = 2.15.

## RSQ

Gir kvadratet av Pearsons korrelasjonskoeffisient basert på de oppgitte verdiene. RKVADRAT (også kalt determinasjonskoeffisient) er et mål på hvor nøyaktig en justering er og kan brukes til å lage en regresjonsanalyse.

#### Syntax

RSQ(DataY; DataX)

Tekst er teksten som tilsvarer et romertall.

Tekst er teksten som tilsvarer et romertall.

#### Example

=RSQ(A1:A20;B1:B20) calculates the determination coefficient for both data sets in columns A and B.

Lignende emner

Funksjoner etter kategori