1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir<helpdocument version="1.0"> 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir<!-- 5*cdf0e10cSrcweir*********************************************************************** 6*cdf0e10cSrcweir* 7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 12*cdf0e10cSrcweir * 13*cdf0e10cSrcweir * This file is part of OpenOffice.org. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 17*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 18*cdf0e10cSrcweir * 19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 24*cdf0e10cSrcweir * 25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 26*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 28*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 29*cdf0e10cSrcweir * 30*cdf0e10cSrcweir************************************************************************ 31*cdf0e10cSrcweir--> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir<meta> 35*cdf0e10cSrcweir<topic id="textscalc0104060184xml" indexer="include"> 36*cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Statistical Functions Part Four</title> 37*cdf0e10cSrcweir<filename>/text/scalc/01/04060184.xhp</filename> 38*cdf0e10cSrcweir</topic> 39*cdf0e10cSrcweir</meta> 40*cdf0e10cSrcweir<body> 41*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153415" role="heading" level="1" l10n="U" oldref="1"><variable id="mq"><link href="text/scalc/01/04060184.xhp" name="Statistical Functions Part Four">Statistical Functions Part Four</link> 42*cdf0e10cSrcweir</variable></paragraph> 43*cdf0e10cSrcweir<sort order="asc"> 44*cdf0e10cSrcweir<section id="max"> 45*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154511"><bookmark_value>MAX function</bookmark_value> 46*cdf0e10cSrcweir</bookmark> 47*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MAX" id="bm_id3146972" localize="false"/> 48*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154511" role="heading" level="2" l10n="U" oldref="2">MAX</paragraph> 49*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153709" role="paragraph" l10n="U" oldref="3"><ahelp hid="HID_FUNC_MAX">Returns the maximum value in a list of arguments.</ahelp></paragraph> 50*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9282509" role="paragraph" l10n="NEW">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.</paragraph> 51*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154256" role="heading" level="3" l10n="U" oldref="4">Syntax</paragraph> 52*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147340" role="code" l10n="U" oldref="5">MAX(Number1; Number2; ...Number30)</paragraph> 53*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149568" role="paragraph" l10n="CHG" oldref="6"><emph>Number1; Number2;...Number30</emph> are numerical values or ranges. </paragraph> 54*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153963" role="heading" level="3" l10n="U" oldref="7">Example</paragraph> 55*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147343" role="paragraph" l10n="U" oldref="8"> 56*cdf0e10cSrcweir<item type="input">=MAX(A1;A2;A3;50;100;200)</item> returns the largest value from the list.</paragraph> 57*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148485" role="paragraph" l10n="U" oldref="9"> 58*cdf0e10cSrcweir<item type="input">=MAX(A1:B100)</item> returns the largest value from the list.</paragraph> 59*cdf0e10cSrcweir</section> 60*cdf0e10cSrcweir<section id="maxa"> 61*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3166426"><bookmark_value>MAXA function</bookmark_value> 62*cdf0e10cSrcweir</bookmark> 63*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MAXA" id="bm_id3150304" localize="false"/> 64*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3166426" role="heading" level="2" l10n="U" 65*cdf0e10cSrcweiroldref="139">MAXA</paragraph> 66*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150363" role="paragraph" l10n="U" oldref="140"><ahelp hid="HID_FUNC_MAXA">Returns the maximum value in a list of arguments. In opposite to MAX, here you can enter text. The value of the text is 0.</ahelp></paragraph> 67*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7689443" role="paragraph" l10n="NEW">The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.</paragraph> 68*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150516" role="heading" level="3" l10n="U" 69*cdf0e10cSrcweiroldref="141">Syntax</paragraph> 70*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166431" role="code" l10n="U" oldref="142">MAXA(Value1; Value2; ... Value30)</paragraph> 71*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150202" role="paragraph" l10n="CHG" oldref="143"><emph>Value1; Value2;...Value30</emph> are values or ranges. Text has the value of 0.</paragraph> 72*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156290" role="heading" level="3" l10n="U" 73*cdf0e10cSrcweiroldref="144">Example</paragraph> 74*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156446" role="paragraph" l10n="CHG" oldref="145"> 75*cdf0e10cSrcweir<item type="input">=MAXA(A1;A2;A3;50;100;200;"Text")</item> returns the largest value from the list.</paragraph> 76*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149404" role="paragraph" l10n="U" oldref="146"> 77*cdf0e10cSrcweir<item type="input">=MAXA(A1:B100)</item> returns the largest value from the list.</paragraph> 78*cdf0e10cSrcweir</section> 79*cdf0e10cSrcweir<section id="median"> 80*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153820"><bookmark_value>MEDIAN function</bookmark_value> 81*cdf0e10cSrcweir</bookmark> 82*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MEDIAN" id="bm_id3153069" localize="false"/> 83*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153820" role="heading" level="2" l10n="U" 84*cdf0e10cSrcweiroldref="11">MEDIAN</paragraph> 85*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151241" role="paragraph" l10n="U" oldref="12"><ahelp hid="HID_FUNC_MEDIAN">Returns 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.</ahelp></paragraph> 86*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148871" role="heading" level="3" l10n="U" 87*cdf0e10cSrcweiroldref="13">Syntax</paragraph> 88*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155264" role="code" l10n="U" oldref="14">MEDIAN(Number1; Number2; ...Number30)</paragraph> 89*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150109" role="paragraph" l10n="CHG" oldref="15"><emph>Number1; Number2;...Number30</emph> are values or ranges, which represent a sample. Each number can also be replaced by a reference.</paragraph> 90*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144506" role="heading" level="3" l10n="U" 91*cdf0e10cSrcweiroldref="16">Example</paragraph> 92*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145078" role="paragraph" l10n="U" oldref="17">for an odd number: <item type="input">=MEDIAN(1;5;9;20;21)</item> returns 9 as the median value.</paragraph> 93*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149126" role="paragraph" l10n="U" oldref="165">for an even number: <item type="input">=MEDIAN(1;5;9;20)</item> returns the average of the two middle values 5 and 9, thus 7.</paragraph> 94*cdf0e10cSrcweir</section> 95*cdf0e10cSrcweir<section id="min"> 96*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154541"><bookmark_value>MIN function</bookmark_value> 97*cdf0e10cSrcweir</bookmark> 98*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MIN" id="bm_id3159226" localize="false"/> 99*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154541" role="heading" level="2" l10n="U" 100*cdf0e10cSrcweiroldref="19">MIN</paragraph> 101*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143222" role="paragraph" l10n="U" oldref="20"><ahelp hid="HID_FUNC_MIN">Returns the minimum value in a list of arguments.</ahelp></paragraph> 102*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2301400" role="paragraph" l10n="NEW">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.</paragraph> 103*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154651" role="heading" level="3" l10n="U" 104*cdf0e10cSrcweiroldref="21">Syntax</paragraph> 105*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146964" role="code" l10n="U" oldref="22">MIN(Number1; Number2; ...Number30)</paragraph> 106*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153486" role="paragraph" l10n="CHG" oldref="23"><emph>Number1; Number2;...Number30</emph> are numerical values or ranges.</paragraph> 107*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155523" role="heading" level="3" l10n="U" 108*cdf0e10cSrcweiroldref="24">Example</paragraph> 109*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154734" role="paragraph" l10n="U" oldref="25"> 110*cdf0e10cSrcweir<item type="input">=MIN(A1:B100)</item> returns the smallest value in the list.</paragraph> 111*cdf0e10cSrcweir</section> 112*cdf0e10cSrcweir<section id="mina"> 113*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147504"><bookmark_value>MINA function</bookmark_value> 114*cdf0e10cSrcweir</bookmark> 115*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MINA" id="bm_id3155752" localize="false"/> 116*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147504" role="heading" level="2" l10n="U" 117*cdf0e10cSrcweiroldref="148">MINA</paragraph> 118*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147249" role="paragraph" l10n="U" oldref="149"><ahelp hid="HID_FUNC_MINA">Returns the minimum value in a list of arguments. Here you can also enter text. The value of the text is 0.</ahelp></paragraph> 119*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id4294564" role="paragraph" l10n="NEW">The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.</paragraph> 120*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150435" role="heading" level="3" l10n="U" 121*cdf0e10cSrcweiroldref="150">Syntax</paragraph> 122*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153336" role="code" l10n="U" oldref="151">MINA(Value1; Value2; ... Value30)</paragraph> 123*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146098" role="paragraph" l10n="CHG" oldref="152"><emph>Value1; Value2;...Value30</emph> are values or ranges. Text has the value of 0.</paragraph> 124*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148743" role="heading" level="3" l10n="U" 125*cdf0e10cSrcweiroldref="153">Example</paragraph> 126*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147401" role="paragraph" l10n="CHG" oldref="154"> 127*cdf0e10cSrcweir<item type="input">=MINA(1;"Text";20)</item> returns 0.</paragraph> 128*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147295" role="paragraph" l10n="U" oldref="155"> 129*cdf0e10cSrcweir<item type="input">=MINA(A1:B100)</item> returns the smallest value in the list.</paragraph> 130*cdf0e10cSrcweir</section> 131*cdf0e10cSrcweir<section id="avedev"> 132*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3166465"><bookmark_value>AVEDEV function</bookmark_value> 133*cdf0e10cSrcweir<bookmark_value>averages;statistical functions</bookmark_value> 134*cdf0e10cSrcweir</bookmark><comment>mw added "averages;"</comment> 135*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MITTELABW" id="bm_id3156396" localize="false"/> 136*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3166465" xml-lang="en-US" level="2" l10n="U" oldref="27">AVEDEV</paragraph> 137*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150373" xml-lang="en-US" l10n="U" oldref="28"><ahelp hid="HID_FUNC_MITTELABW">Returns the average of the absolute deviations of data points from their mean.</ahelp> Displays the diffusion in a data set.</paragraph> 138*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3150038" xml-lang="en-US" level="3" l10n="U" oldref="29">Syntax</paragraph> 139*cdf0e10cSrcweir<paragraph role="code" id="par_id3145636" xml-lang="en-US" l10n="U" oldref="30">AVEDEV(Number1; Number2; ...Number30)</paragraph> 140*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3157871" xml-lang="en-US" l10n="U" oldref="31"><emph>Number1, Number2,...Number30</emph> are values or ranges that represent a sample. Each number can also be replaced by a reference.</paragraph> 141*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149725" xml-lang="en-US" level="3" l10n="U" oldref="32">Example</paragraph> 142*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153122" xml-lang="en-US" l10n="U" oldref="33"> 143*cdf0e10cSrcweir <item type="input">=AVEDEV(A1:A50)</item> 144*cdf0e10cSrcweir </paragraph> 145*cdf0e10cSrcweir</section> 146*cdf0e10cSrcweir<section id="average"> 147*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145824"><bookmark_value>AVERAGE function</bookmark_value> 148*cdf0e10cSrcweir</bookmark> 149*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MITTELWERT" id="bm_id3146878" localize="false"/> 150*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145824" role="heading" level="2" l10n="U" 151*cdf0e10cSrcweiroldref="35">AVERAGE</paragraph> 152*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150482" role="paragraph" l10n="U" oldref="36"><ahelp hid="HID_FUNC_MITTELWERT">Returns the average of the arguments.</ahelp></paragraph> 153*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3146943" role="heading" level="3" l10n="U" 154*cdf0e10cSrcweiroldref="37">Syntax</paragraph> 155*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154679" role="code" l10n="U" oldref="38">AVERAGE(Number1; Number2; ...Number30)</paragraph> 156*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150741" role="paragraph" l10n="CHG" oldref="39"><emph>Number1; Number2;...Number 0</emph> are numerical values or ranges.</paragraph> 157*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153039" role="heading" level="3" l10n="U" 158*cdf0e10cSrcweiroldref="40">Example</paragraph> 159*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151232" role="paragraph" l10n="U" oldref="41"> 160*cdf0e10cSrcweir<item type="input">=AVERAGE(A1:A50)</item> 161*cdf0e10cSrcweir</paragraph> 162*cdf0e10cSrcweir</section> 163*cdf0e10cSrcweir<section id="averagea"> 164*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148754"><bookmark_value>AVERAGEA function</bookmark_value> 165*cdf0e10cSrcweir</bookmark> 166*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MITTELWERTA" id="bm_id3149690" localize="false"/> 167*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148754" role="heading" level="2" l10n="U" 168*cdf0e10cSrcweiroldref="157">AVERAGEA</paragraph> 169*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145138" role="paragraph" l10n="U" oldref="158"><ahelp hid="HID_FUNC_MITTELWERTA">Returns the average of the arguments. The value of a text is 0.</ahelp></paragraph> 170*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153326" role="heading" level="3" l10n="U" 171*cdf0e10cSrcweiroldref="159">Syntax</paragraph> 172*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149734" role="code" l10n="U" oldref="160">AVERAGEA(Value1; Value2; ... Value30)</paragraph> 173*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155260" role="paragraph" l10n="CHG" oldref="161"><emph>Value1; Value2;...Value30</emph> are values or ranges. Text has the value of 0.</paragraph> 174*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149504" role="heading" level="3" l10n="U" 175*cdf0e10cSrcweiroldref="162">Example</paragraph> 176*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150864" role="paragraph" l10n="U" oldref="163"> 177*cdf0e10cSrcweir<item type="input">=AVERAGEA(A1:A50)</item> 178*cdf0e10cSrcweir</paragraph> 179*cdf0e10cSrcweir</section> 180*cdf0e10cSrcweir<section id="mode"> 181*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153933"><bookmark_value>MODE function</bookmark_value> 182*cdf0e10cSrcweir<bookmark_value>most common value</bookmark_value> 183*cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment> 184*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MODALWERT" id="bm_id3149253" localize="false"/> 185*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153933" role="heading" level="2" l10n="U" 186*cdf0e10cSrcweiroldref="43">MODE</paragraph> 187*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153085" role="paragraph" l10n="U" oldref="44"><ahelp hid="HID_FUNC_MODALWERT">Returns the most common value in a data set.</ahelp> If there are several values with the same frequency, it returns the smallest value. An error occurs when a value doesn't appear twice.</paragraph> 188*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153003" role="heading" level="3" l10n="U" 189*cdf0e10cSrcweiroldref="45">Syntax</paragraph> 190*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155950" role="code" l10n="U" oldref="46">MODE(Number1; Number2; ...Number30)</paragraph> 191*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150337" role="paragraph" l10n="CHG" oldref="47"><emph>Number1; Number2;...Number30</emph> are numerical values or ranges.</paragraph> 192*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153571" role="heading" level="3" l10n="U" 193*cdf0e10cSrcweiroldref="48">Example</paragraph> 194*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153733" role="paragraph" l10n="U" oldref="49"> 195*cdf0e10cSrcweir<item type="input">=MODE(A1:A50)</item> 196*cdf0e10cSrcweir</paragraph> 197*cdf0e10cSrcweir</section> 198*cdf0e10cSrcweir<section id="negbinomdist"> 199*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149879"><bookmark_value>NEGBINOMDIST function</bookmark_value> 200*cdf0e10cSrcweir<bookmark_value>negative binomial distribution</bookmark_value> 201*cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment> 202*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NEGBINOMVERT" id="bm_id3159135" localize="false"/> 203*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149879" role="heading" level="2" l10n="U" 204*cdf0e10cSrcweiroldref="51">NEGBINOMDIST</paragraph> 205*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155437" role="paragraph" l10n="U" oldref="52"><ahelp hid="HID_FUNC_NEGBINOMVERT">Returns the negative binomial distribution.</ahelp></paragraph> 206*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145351" role="heading" level="3" l10n="U" 207*cdf0e10cSrcweiroldref="53">Syntax</paragraph> 208*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150935" role="code" l10n="U" oldref="54">NEGBINOMDIST(X; R; SP)</paragraph> 209*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153044" role="paragraph" l10n="U" oldref="55"><emph>X</emph> represents the value returned for unsuccessful tests.</paragraph> 210*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151018" role="paragraph" l10n="U" oldref="56"><emph>R</emph> represents the value returned for successful tests.</paragraph> 211*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148878" role="paragraph" l10n="U" oldref="57"><emph>SP</emph> is the probability of the success of an attempt.</paragraph> 212*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149539" role="heading" level="3" l10n="U" 213*cdf0e10cSrcweiroldref="58">Example</paragraph> 214*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148770" role="paragraph" l10n="U" oldref="59"> 215*cdf0e10cSrcweir<item type="input">=NEGBINOMDIST(1;1;0.5)</item> returns 0.25.</paragraph> 216*cdf0e10cSrcweir</section> 217*cdf0e10cSrcweir<section id="norminv"> 218*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155516"><bookmark_value>NORMINV function</bookmark_value> 219*cdf0e10cSrcweir<bookmark_value>normal distribution;inverse of</bookmark_value> 220*cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment> 221*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NORMINV" id="bm_id3149396" localize="false"/> 222*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155516" role="heading" level="2" l10n="U" 223*cdf0e10cSrcweiroldref="61">NORMINV</paragraph> 224*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154634" role="paragraph" l10n="U" oldref="62"><ahelp hid="HID_FUNC_NORMINV">Returns the inverse of the normal cumulative distribution.</ahelp></paragraph> 225*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153227" role="heading" level="3" l10n="U" 226*cdf0e10cSrcweiroldref="63">Syntax</paragraph> 227*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147534" role="code" l10n="U" oldref="64">NORMINV(Number; Mean; StDev)</paragraph> 228*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154950" role="paragraph" l10n="U" oldref="65"><emph>Number</emph> represents the probability value used to determine the inverse normal distribution.</paragraph> 229*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150690" role="paragraph" l10n="U" oldref="66"><emph>Mean</emph> represents the mean value in the normal distribution.</paragraph> 230*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148594" role="paragraph" l10n="U" oldref="67"><emph>StDev</emph> represents the standard deviation of the normal distribution.</paragraph> 231*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155822" role="heading" level="3" l10n="U" 232*cdf0e10cSrcweiroldref="68">Example</paragraph> 233*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153921" role="paragraph" l10n="CHG" oldref="69"> 234*cdf0e10cSrcweir<item type="input">=NORMINV(0.9;63;5)</item> 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.</paragraph> 235*cdf0e10cSrcweir</section> 236*cdf0e10cSrcweir<section id="normdist"> 237*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153722"><bookmark_value>NORMDIST function</bookmark_value> 238*cdf0e10cSrcweir<bookmark_value>density function</bookmark_value> 239*cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment> 240*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NORMVERT" id="bm_id3147484" localize="false"/> 241*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153722" role="heading" level="2" l10n="U" 242*cdf0e10cSrcweiroldref="71">NORMDIST</paragraph> 243*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150386" role="paragraph" l10n="CHG" oldref="72"><ahelp hid="HID_FUNC_NORMVERT">Returns the density function or the normal cumulative distribution.</ahelp></paragraph> 244*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3083282" role="heading" level="3" l10n="U" 245*cdf0e10cSrcweiroldref="73">Syntax</paragraph> 246*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150613" role="code" l10n="U" oldref="74">NORMDIST(Number; Mean; StDev; C)</paragraph> 247*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149820" role="paragraph" l10n="U" oldref="75"><emph>Number</emph> is the value of the distribution based on which the normal distribution is to be calculated.</paragraph> 248*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146063" role="paragraph" l10n="U" oldref="76"><emph>Mean</emph> is the mean value of the distribution.</paragraph> 249*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156295" role="paragraph" l10n="U" oldref="77"><emph>StDev</emph> is the standard deviation of the distribution.</paragraph> 250*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145080" role="paragraph" l10n="U" oldref="78"><emph>C</emph> is optional. <emph>C</emph> = 0 calculates the density function, <emph>C</emph> = 1 calculates the distribution.</paragraph> 251*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152972" role="heading" level="3" l10n="U" 252*cdf0e10cSrcweiroldref="79">Example</paragraph> 253*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149283" role="paragraph" l10n="CHG" oldref="80"> 254*cdf0e10cSrcweir<item type="input">=NORMDIST(70;63;5;0)</item> returns 0.03.</paragraph> 255*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149448" role="paragraph" l10n="CHG" oldref="81"> 256*cdf0e10cSrcweir<item type="input">=NORMDIST(70;63;5;1)</item> returns 0.92.</paragraph> 257*cdf0e10cSrcweir</section> 258*cdf0e10cSrcweir<section id="pearson"> 259*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152934"><bookmark_value>PEARSON function</bookmark_value> 260*cdf0e10cSrcweir</bookmark> 261*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PEARSON" id="bm_id3156103" localize="false"/> 262*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152934" role="heading" level="2" l10n="U" 263*cdf0e10cSrcweiroldref="83">PEARSON</paragraph> 264*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153216" role="paragraph" l10n="U" oldref="84"><ahelp hid="HID_FUNC_PEARSON">Returns the Pearson product moment correlation coefficient r.</ahelp></paragraph> 265*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147081" role="heading" level="3" l10n="U" 266*cdf0e10cSrcweiroldref="85">Syntax</paragraph> 267*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156133" role="code" l10n="U" oldref="86">PEARSON(Data1; Data2)</paragraph> 268*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151272" role="paragraph" l10n="U" oldref="87"><emph>Data1</emph> represents the array of the first data set.</paragraph> 269*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153279" role="paragraph" l10n="U" oldref="88"><emph>Data2</emph> represents the array of the second data set.</paragraph> 270*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147567" role="heading" level="3" l10n="U" 271*cdf0e10cSrcweiroldref="89">Example</paragraph> 272*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151187" role="paragraph" l10n="U" oldref="90"> 273*cdf0e10cSrcweir<item type="input">=PEARSON(A1:A30;B1:B30)</item> returns the Pearson correlation coefficient of both data sets.</paragraph> 274*cdf0e10cSrcweir</section> 275*cdf0e10cSrcweir<section id="phi"> 276*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152806"><bookmark_value>PHI function</bookmark_value> 277*cdf0e10cSrcweir</bookmark> 278*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PHI" id="bm_id3153757" localize="false"/> 279*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152806" role="heading" level="2" l10n="U" 280*cdf0e10cSrcweiroldref="92">PHI</paragraph> 281*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150254" role="paragraph" l10n="U" oldref="93"><ahelp hid="HID_FUNC_PHI">Returns the values of the distribution function for a standard normal distribution.</ahelp></paragraph> 282*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154748" role="heading" level="3" l10n="U" 283*cdf0e10cSrcweiroldref="94">Syntax</paragraph> 284*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149976" role="code" l10n="U" oldref="95">PHI(Number)</paragraph> 285*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156108" role="paragraph" l10n="U" oldref="96"><emph>Number</emph> represents the value based on which the standard normal distribution is calculated.</paragraph> 286*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153621" role="heading" level="3" l10n="U" 287*cdf0e10cSrcweiroldref="97">Example</paragraph> 288*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155849" role="paragraph" l10n="CHG" oldref="98"> 289*cdf0e10cSrcweir<item type="input">=PHI(2.25) </item>= 0.03</paragraph> 290*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143236" role="paragraph" l10n="CHG" oldref="99"> 291*cdf0e10cSrcweir<item type="input">=PHI(-2.25)</item> = 0.03</paragraph> 292*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149286" role="paragraph" l10n="CHG" oldref="100"> 293*cdf0e10cSrcweir<item type="input">=PHI(0)</item> = 0.4</paragraph> 294*cdf0e10cSrcweir</section> 295*cdf0e10cSrcweir<section id="poisson"> 296*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153985"><bookmark_value>POISSON function</bookmark_value> 297*cdf0e10cSrcweir</bookmark> 298*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_POISSON" id="bm_id3156011" localize="false"/> 299*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153985" role="heading" level="2" oldref="102">POISSON</paragraph> 300*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154298" role="paragraph" l10n="U" oldref="103"><ahelp hid="HID_FUNC_POISSON">Returns the Poisson distribution.</ahelp></paragraph> 301*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159183" role="heading" level="3" l10n="U" 302*cdf0e10cSrcweiroldref="104">Syntax</paragraph> 303*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146093" role="code" l10n="U" oldref="105">POISSON(Number; Mean; C)</paragraph> 304*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147253" role="paragraph" l10n="U" oldref="106"><emph>Number</emph> represents the value based on which the Poisson distribution is calculated.</paragraph> 305*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151177" role="paragraph" l10n="U" oldref="107"><emph>Mean</emph> represents the middle value of the Poisson distribution.</paragraph> 306*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149200" role="paragraph" l10n="CHG" oldref="108"><emph>C</emph> (optional) = 0 or False calculates the density function; <emph>C</emph> = 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.</paragraph> 307*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159347" role="heading" level="3" l10n="U" 308*cdf0e10cSrcweiroldref="109">Example</paragraph> 309*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150113" role="paragraph" l10n="U" oldref="110"> 310*cdf0e10cSrcweir<item type="input">=POISSON(60;50;1)</item> returns 0.93.</paragraph> 311*cdf0e10cSrcweir</section> 312*cdf0e10cSrcweir<section id="percentile"> 313*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153100"><bookmark_value>PERCENTILE function</bookmark_value> 314*cdf0e10cSrcweir</bookmark> 315*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_QUANTIL" id="bm_id3155394" localize="false"/> 316*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153100" role="heading" level="2" l10n="U" 317*cdf0e10cSrcweiroldref="112">PERCENTILE</paragraph> 318*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154940" role="paragraph" l10n="U" oldref="113"><ahelp hid="HID_FUNC_QUANTIL">Returns the alpha-percentile of data values in an array.</ahelp> 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 <item type="literal">Alpha</item> = 25%, the percentile means the first quartile; <item type="literal">Alpha</item> = 50% is the MEDIAN.</paragraph> 319*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150531" role="heading" level="3" l10n="U" 320*cdf0e10cSrcweiroldref="114">Syntax</paragraph> 321*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148813" role="code" l10n="U" oldref="115">PERCENTILE(Data; Alpha)</paragraph> 322*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153054" role="paragraph" l10n="U" oldref="116"><emph>Data</emph> represents the array of data.</paragraph> 323*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154212" role="paragraph" l10n="U" oldref="117"><emph>Alpha</emph> represents the percentage of the scale between 0 and 1.</paragraph> 324*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154290" role="heading" level="3" l10n="U" 325*cdf0e10cSrcweiroldref="118">Example</paragraph> 326*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159147" role="paragraph" l10n="CHG" oldref="119"> 327*cdf0e10cSrcweir<item type="input">=PERCENTILE(A1:A50;0.1)</item> represents the value in the data set, which equals 10% of the total data scale in A1:A50.</paragraph> 328*cdf0e10cSrcweir</section> 329*cdf0e10cSrcweir<section id="percentrank"> 330*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148807"><bookmark_value>PERCENTRANK function</bookmark_value> 331*cdf0e10cSrcweir</bookmark> 332*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_QUANTILSRANG" id="bm_id3154902" localize="false"/> 333*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148807" role="heading" level="2" l10n="U" 334*cdf0e10cSrcweiroldref="121">PERCENTRANK</paragraph> 335*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153573" role="paragraph" l10n="U" oldref="122"><ahelp hid="HID_FUNC_QUANTILSRANG">Returns the percentage rank of a value in a sample.</ahelp></paragraph> 336*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147512" role="heading" level="3" l10n="U" 337*cdf0e10cSrcweiroldref="123">Syntax</paragraph> 338*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147238" role="code" l10n="U" oldref="124">PERCENTRANK(Data; Value)</paragraph> 339*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154266" role="paragraph" l10n="U" oldref="125"><emph>Data</emph> represents the array of data in the sample.</paragraph> 340*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148475" role="paragraph" l10n="U" oldref="126"><emph>Value</emph> represents the value whose percentile rank must be determined.</paragraph> 341*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155364" role="heading" level="3" l10n="U" 342*cdf0e10cSrcweiroldref="127">Example</paragraph> 343*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149163" role="paragraph" l10n="U" oldref="128"> 344*cdf0e10cSrcweir<item type="input">=PERCENTRANK(A1:A50;50)</item> 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.</paragraph> 345*cdf0e10cSrcweir</section> 346*cdf0e10cSrcweir<section id="quartile"> 347*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3166442"><bookmark_value>QUARTILE function</bookmark_value> 348*cdf0e10cSrcweir</bookmark> 349*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_QUARTILE" id="bm_id3150709" localize="false"/> 350*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3166442" role="heading" level="2" l10n="U" 351*cdf0e10cSrcweiroldref="130">QUARTILE</paragraph> 352*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146958" role="paragraph" l10n="U" oldref="131"><ahelp hid="HID_FUNC_QUARTILE">Returns the quartile of a data set.</ahelp></paragraph> 353*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152942" role="heading" level="3" l10n="U" 354*cdf0e10cSrcweiroldref="132">Syntax</paragraph> 355*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153684" role="code" l10n="U" oldref="133">QUARTILE(Data; Type)</paragraph> 356*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153387" role="paragraph" l10n="U" oldref="134"><emph>Data</emph> represents the array of data in the sample.</paragraph> 357*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155589" role="paragraph" l10n="U" oldref="135"><emph>Type</emph> represents the type of quartile. (0 = MIN, 1 = 25%, 2 = 50% (MEDIAN), 3 = 75% and 4 = MAX.)</paragraph> 358*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149103" role="heading" level="3" l10n="U" 359*cdf0e10cSrcweiroldref="136">Example</paragraph> 360*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159276" role="paragraph" l10n="CHG" oldref="137"> 361*cdf0e10cSrcweir<item type="input">=QUARTILE(A1:A50;2)</item> returns the value of which 50% of the scale corresponds to the lowest to highest values in the range A1:A50.</paragraph> 362*cdf0e10cSrcweir</section> 363*cdf0e10cSrcweir</sort> 364*cdf0e10cSrcweir<section id="relatedtopics"> 365*cdf0e10cSrcweir<embed href="text/scalc/01/04060100.xhp#drking"/> 366*cdf0e10cSrcweir</section> 367*cdf0e10cSrcweir</body> 368*cdf0e10cSrcweir</helpdocument>