Warning, /office/calligra/sheets/functions/statistical.xml is written in an unsupported language. File is not indexed.
0001 <!DOCTYPE KSpreadFunctions> 0002 <KSpreadFunctions> 0003 0004 <Group> 0005 <GroupName>Statistical</GroupName> 0006 0007 <Function> 0008 <Name>AVEDEV</Name> 0009 <Type>Float</Type> 0010 <Parameter optional="true"> 0011 <Comment>Floating point values</Comment> 0012 <Type range="true">Float</Type> 0013 </Parameter> 0014 <Parameter optional="true"> 0015 <Comment>Floating point values</Comment> 0016 <Type range="true">Float</Type> 0017 </Parameter> 0018 <Parameter optional="true"> 0019 <Comment>Floating point values</Comment> 0020 <Type range="true">Float</Type> 0021 </Parameter> 0022 <Parameter optional="true"> 0023 <Comment>Floating point values</Comment> 0024 <Type range="true">Float</Type> 0025 </Parameter> 0026 <Parameter optional="true"> 0027 <Comment>Floating point values</Comment> 0028 <Type range="true">Float</Type> 0029 </Parameter> 0030 <Help> 0031 <Text>The AVEDEV() function calculates the average of the absolute deviations of a data set from their mean.</Text> 0032 <Syntax>AVEDEV(value;value;...)</Syntax> 0033 <Example>AVEDEV(11.4;17.3;21.3;25.9;40.1) returns 7.84</Example> 0034 <Example>AVEDEV(A1:A5) ...</Example> 0035 </Help> 0036 </Function> 0037 0038 <Function> 0039 <Name>AVERAGE</Name> 0040 <Type>Float</Type> 0041 <Parameter optional="true"> 0042 <Comment>Floating point values</Comment> 0043 <Type range="true">Float</Type> 0044 </Parameter> 0045 <Parameter optional="true"> 0046 <Comment>Floating point values</Comment> 0047 <Type range="true">Float</Type> 0048 </Parameter> 0049 <Parameter optional="true"> 0050 <Comment>Floating point values</Comment> 0051 <Type range="true">Float</Type> 0052 </Parameter> 0053 <Parameter optional="true"> 0054 <Comment>Floating point values</Comment> 0055 <Type range="true">Float</Type> 0056 </Parameter> 0057 <Parameter optional="true"> 0058 <Comment>Floating point values</Comment> 0059 <Type range="true">Float</Type> 0060 </Parameter> 0061 <Help> 0062 <Text>The AVERAGE() function calculates the average of all the values given as parameters. You can calculate the average of a range AVERAGE(A1:B5) or a list of values like AVERAGE(12;5;12.5).</Text> 0063 <Syntax>AVERAGE(value;value;...)</Syntax> 0064 <Example>AVERAGE(12;5;7) equals 8</Example> 0065 <Example>AVERAGE(12.5;2) equals 7.25</Example> 0066 </Help> 0067 </Function> 0068 0069 <Function> 0070 <Name>AVERAGEA</Name> 0071 <Type>Float</Type> 0072 <Parameter optional="true"> 0073 <Comment>Floating point values</Comment> 0074 <Type range="true">Float</Type> 0075 </Parameter> 0076 <Parameter optional="true"> 0077 <Comment>String values</Comment> 0078 <Type>String</Type> 0079 </Parameter> 0080 <Help> 0081 <Text>The AVERAGEA() calculates the average of the given arguments. Numbers, text and logical values are included in the calculation too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0). If the argument evaluates to TRUE, it is counted as one (1). Note that empty cells are not counted.</Text> 0082 <Syntax>AVERAGEA(value;value;...)</Syntax> 0083 <Example>AVERAGEA(11.4;17.3;"sometext";25.9;40.1) equals 18.94</Example> 0084 </Help> 0085 </Function> 0086 0087 <Function> 0088 <Name>BETADIST</Name> 0089 <Type>Float</Type> 0090 <Parameter> 0091 <Comment>Number</Comment> 0092 <Type>Float</Type> 0093 </Parameter> 0094 <Parameter> 0095 <Comment>Alpha parameter</Comment> 0096 <Type>Float</Type> 0097 </Parameter> 0098 <Parameter> 0099 <Comment>Beta parameter</Comment> 0100 <Type>Float</Type> 0101 </Parameter> 0102 <Parameter optional="true"> 0103 <Comment>Start</Comment> 0104 <Type>Float</Type> 0105 </Parameter> 0106 <Parameter optional="true"> 0107 <Comment>End</Comment> 0108 <Type>Float</Type> 0109 </Parameter> 0110 <Parameter optional="true"> 0111 <Comment>Cumulative</Comment> 0112 <Type>Boolean</Type> 0113 </Parameter> 0114 <Help> 0115 <Text>The BETADIST() function returns the cumulative beta probability density function.</Text> 0116 <Text>The third and fourth parameters are optional. They set the lower and upper bounds, otherwise defaulting to 0.0 and 1.0 respectively.</Text> 0117 <Syntax>BETADIST(number;alpha;beta;start;end;[cumulative=TRUE])</Syntax> 0118 <Example>BETADIST(0.2859;0.2606;0.8105) equals 0.675444</Example> 0119 <Example>BETADIST(0.2859;0.2606;0.8105;0.2;0.9) equals 0.537856</Example> 0120 </Help> 0121 </Function> 0122 0123 <Function> 0124 <Name>BETAINV</Name> 0125 <Type>Float</Type> 0126 <Parameter> 0127 <Comment>Number</Comment> 0128 <Type>Float</Type> 0129 </Parameter> 0130 <Parameter> 0131 <Comment>Alpha parameter</Comment> 0132 <Type>Float</Type> 0133 </Parameter> 0134 <Parameter> 0135 <Comment>Beta parameter</Comment> 0136 <Type>Float</Type> 0137 </Parameter> 0138 <Parameter optional="true"> 0139 <Comment>Start</Comment> 0140 <Type>Float</Type> 0141 </Parameter> 0142 <Parameter optional="true"> 0143 <Comment>End</Comment> 0144 <Type>Float</Type> 0145 </Parameter> 0146 <Help> 0147 <Text>The BETAINV() function returns the inverse of BETADIST(x;alpha;beta;a;b;TRUE()).</Text> 0148 <Text>The start and end parameters are optional. They set the lower and upper bounds, otherwise defaulting to 0.0 and 1.0 respectively.</Text> 0149 <Syntax>BETAINV(number;alpha;beta [; start=0 [; end=1]])</Syntax> 0150 <Example>BETADIST(BETAINV(0.1;3;4);3;4) equals 0.1</Example> 0151 <Example>BETADIST(BETAINV(0.3;3;4);3;4) equals 0.3</Example> 0152 </Help> 0153 <Related>BETADIST</Related> 0154 </Function> 0155 0156 <Function> 0157 <Name>CHIDIST</Name> 0158 <Type>Float</Type> 0159 <Parameter> 0160 <Comment>Number</Comment> 0161 <Type>Float</Type> 0162 </Parameter> 0163 <Parameter> 0164 <Comment>Degrees of freedom</Comment> 0165 <Type>Int</Type> 0166 </Parameter> 0167 <Help> 0168 <Text>The CHIDIST() function returns the probability value from the indicated Chi square that a hypothesis is confirmed.</Text> 0169 <Text>CHIDIST compares the Chi square value to be given for a random sample that is calculated from the sum of (observed value-expected value)^2/expected value for all values with the theoretical Chi square distribution and determines from this the probability of error for the hypothesis to be tested.</Text> 0170 <Syntax>CHIDIST(number;degrees_freedom)</Syntax> 0171 <Example>CHIDIST(13.27;5) returns 0.021</Example> 0172 </Help> 0173 </Function> 0174 0175 <Function> 0176 <Name>COMBIN</Name> 0177 <Type>Int</Type> 0178 <Parameter> 0179 <Comment>Total number of elements</Comment> 0180 <Type>Int</Type> 0181 </Parameter> 0182 <Parameter> 0183 <Comment>Number of elements to choose</Comment> 0184 <Type>Int</Type> 0185 </Parameter> 0186 <Help> 0187 <Text>The COMBIN() function calculates the count of possible combinations. The first parameter is the total count of elements. The second parameter is the count of elements to choose. Both parameters should be positive and the first parameter should not be less than the second. Otherwise the function returns an error.</Text> 0188 <Syntax>COMBIN(total;chosen)</Syntax> 0189 <Example>COMBIN(12;5) returns 792</Example> 0190 <Example>COMBIN(5;5) returns 1</Example> 0191 </Help> 0192 </Function> 0193 0194 <Function> 0195 <Name>COMBINA</Name> 0196 <Type>Int</Type> 0197 <Parameter> 0198 <Comment>Total number of elements</Comment> 0199 <Type>Int</Type> 0200 </Parameter> 0201 <Parameter> 0202 <Comment>Number of elements to choose</Comment> 0203 <Type>Int</Type> 0204 </Parameter> 0205 <Help> 0206 <Text>The COMBINA() function calculates the count of possible combinations allowing repetition. The first parameter is the total count of elements. The second parameter is the count of elements to choose allowing repetition. Both parameters should be positive and the first parameter should not be less than the second. Otherwise the function returns an error.</Text> 0207 <Syntax>COMBINA(total;chosen)</Syntax> 0208 <Example>COMBINA(12;5) returns 4368</Example> 0209 <Example>COMBINA(5;5) returns 126</Example> 0210 </Help> 0211 </Function> 0212 0213 <Function> 0214 <Name>CONFIDENCE</Name> 0215 <Type>Float</Type> 0216 <Parameter> 0217 <Comment>Level of the confidence interval</Comment> 0218 <Type>Float</Type> 0219 </Parameter> 0220 <Parameter> 0221 <Comment>Standard deviation for the total population</Comment> 0222 <Type>Float</Type> 0223 </Parameter> 0224 <Parameter> 0225 <Comment>Size of the total population</Comment> 0226 <Type>Int</Type> 0227 </Parameter> 0228 <Help> 0229 <Text>The CONFIDENCE() function returns the confidence interval for a population mean.</Text> 0230 <Text>The alpha parameter must be between 0 and 1 (non-inclusive), stddev must be positive and size must be greater or equal to 1.</Text> 0231 <Syntax>CONFIDENCE(alpha;stddev;size)</Syntax> 0232 <Example>CONFIDENCE(0.05;1.5;100) equals 0.294059</Example> 0233 </Help> 0234 </Function> 0235 0236 <Function> 0237 <Name>CORREL</Name> 0238 <Type>Float</Type> 0239 <Parameter> 0240 <Comment>Cell range of values</Comment> 0241 <Type range="true">Double</Type> 0242 </Parameter> 0243 <Parameter> 0244 <Comment>Second cell range of values</Comment> 0245 <Type range="true">Double</Type> 0246 </Parameter> 0247 <Help> 0248 <Text>The CORREL() function calculates the correlation coefficient of two cell ranges.</Text> 0249 <Syntax>CORREL(range1; range2)</Syntax> 0250 <Example>CORREL(A1:A3; B1:B3)</Example> 0251 <Related>PEARSON</Related> 0252 </Help> 0253 </Function> 0254 0255 <Function> 0256 <Name>COVAR</Name> 0257 <Type>Float</Type> 0258 <Parameter> 0259 <Comment>Cell range of values</Comment> 0260 <Type range="true">Double</Type> 0261 </Parameter> 0262 <Parameter> 0263 <Comment>Second cell range of values</Comment> 0264 <Type range="true">Double</Type> 0265 </Parameter> 0266 <Help> 0267 <Text>The COVAR() function calculates the covariance of two cell ranges.</Text> 0268 <Syntax>COVAR(range1; range2)</Syntax> 0269 <Example>COVAR(A1:A3; B1:B3)</Example> 0270 </Help> 0271 </Function> 0272 0273 <Function> 0274 <Name>DEVSQ</Name> 0275 <Type>Float</Type> 0276 <Parameter> 0277 <Comment>Floating point values</Comment> 0278 <Type range="true">Double</Type> 0279 </Parameter> 0280 <Parameter> 0281 <Comment>Floating point values</Comment> 0282 <Type range="true">Double</Type> 0283 </Parameter> 0284 <Parameter> 0285 <Comment>Floating point values</Comment> 0286 <Type range="true">Double</Type> 0287 </Parameter> 0288 <Parameter> 0289 <Comment>Floating point values</Comment> 0290 <Type range="true">Double</Type> 0291 </Parameter> 0292 <Parameter> 0293 <Comment>Floating point values</Comment> 0294 <Type range="true">Double</Type> 0295 </Parameter> 0296 <Help> 0297 <Text>The DEVSQ() function calculates the sum of squares of deviations.</Text> 0298 <Syntax>DEVSQ(value; value;...)</Syntax> 0299 <Example>DEVSQ(A1:A5)</Example> 0300 <Example>DEVSQ(21; 33; 54; 23) returns 684.75</Example> 0301 </Help> 0302 </Function> 0303 0304 <Function> 0305 <Name>EXPONDIST</Name> 0306 <Type>Float</Type> 0307 <Parameter> 0308 <Comment>Number</Comment> 0309 <Type>Float</Type> 0310 </Parameter> 0311 <Parameter> 0312 <Comment>Lambda parameter</Comment> 0313 <Type>Float</Type> 0314 </Parameter> 0315 <Parameter> 0316 <Comment>0 = density, 1 = distribution</Comment> 0317 <Type>Int</Type> 0318 </Parameter> 0319 <Help> 0320 <Text>The EXPONDIST() function returns the exponential distribution.</Text> 0321 <Text>The lambda parameter must be positive.</Text> 0322 <Text>Cumulative = 0 calculates the density function; cumulative = 1 calculates the distribution.</Text> 0323 <Syntax>EXPONDIST(number;lambda;cumulative)</Syntax> 0324 <Example>EXPONDIST(3;0.5;0) equals 0.111565</Example> 0325 <Example>EXPONDIST(3;0.5;1) equals 0.776870</Example> 0326 </Help> 0327 </Function> 0328 0329 <Function> 0330 <Name>FDIST</Name> 0331 <Type>Float</Type> 0332 <Parameter> 0333 <Comment>Number</Comment> 0334 <Type>Float</Type> 0335 </Parameter> 0336 <Parameter> 0337 <Comment>Degrees of freedom 1</Comment> 0338 <Type>Int</Type> 0339 </Parameter> 0340 <Parameter> 0341 <Comment>Degrees of freedom 2</Comment> 0342 <Type>Int</Type> 0343 </Parameter> 0344 <Help> 0345 <Text>The FDIST() function returns the f-distribution.</Text> 0346 <Syntax>FDIST(number;degrees_freedom_1;degrees_freedom_2)</Syntax> 0347 <Example>FDIST(0.8;8;12) yields 0.61</Example> 0348 </Help> 0349 </Function> 0350 0351 <Function> 0352 <Name>FINV</Name> 0353 <Type>Float</Type> 0354 <Parameter> 0355 <Comment>Number</Comment> 0356 <Type>Float</Type> 0357 </Parameter> 0358 <Parameter> 0359 <Comment>Number r1</Comment> 0360 <Type>Int</Type> 0361 </Parameter> 0362 <Parameter> 0363 <Comment>Number r2</Comment> 0364 <Type>Int</Type> 0365 </Parameter> 0366 <Help> 0367 <Text>The FINV() function returns the unique non-negative number x such that FDIST(x;r1;r2) = p.</Text> 0368 <Syntax>FINV(number; r1; r2)</Syntax> 0369 <Example>FDIST(FINV(0.1;3;4);3;4) equals 0.1</Example> 0370 </Help> 0371 </Function> 0372 0373 <Function> 0374 <Name>FISHER</Name> 0375 <Type>Float</Type> 0376 <Parameter> 0377 <Comment>Number</Comment> 0378 <Type>Float</Type> 0379 </Parameter> 0380 <Help> 0381 <Text>The FISHER() function returns the Fisher transformation for x and creates a function close to a normal distribution.</Text> 0382 <Syntax>FISHER(number)</Syntax> 0383 <Example>FISHER(0.2859) equals 0.294096</Example> 0384 <Example>FISHER(0.8105) equals 1.128485</Example> 0385 </Help> 0386 </Function> 0387 0388 <Function> 0389 <Name>FISHERINV</Name> 0390 <Type>Float</Type> 0391 <Parameter> 0392 <Comment>Number</Comment> 0393 <Type>Float</Type> 0394 </Parameter> 0395 <Help> 0396 <Text>The FISHERINV() function returns the inverse of the Fisher transformation for x and creates a function close to a normal distribution.</Text> 0397 <Syntax>FISHERINV(number)</Syntax> 0398 <Example>FISHERINV(0.2859) equals 0.278357</Example> 0399 <Example>FISHERINV(0.8105) equals 0.669866</Example> 0400 </Help> 0401 </Function> 0402 0403 <Function> 0404 <Name>FREQUENCY</Name> 0405 <Type>Float</Type> 0406 <Parameter> 0407 <Comment>Floating point values, that should be counted.</Comment> 0408 <Type range="true">Float</Type> 0409 </Parameter> 0410 <Parameter> 0411 <Comment>Floating point values, representing the upper boundaries of the intervals.</Comment> 0412 <Type range="true">Float</Type> 0413 </Parameter> 0414 <Help> 0415 <Text>Counts the number of values for each interval given by the border values in the second parameter.</Text> 0416 <Text>The values in the second parameter determine the upper boundaries of the intervals. 0417 The intervals include the upper boundaries. 0418 The returned array is a column vector and has one more element than the second parameter; 0419 the last element represents the number of all elements greater than the last value in second parameter. 0420 If the second parameter is empty, all values in the first parameter are counted.</Text> 0421 <Text>Note that the data must be in columns and since the result is a column-array, use Ctrl+Alt+Enter (instead of just Enter) to display the array elements in separate cells. </Text> 0422 <Syntax>FREQUENCY(Range data; Range bins)</Syntax> 0423 </Help> 0424 </Function> 0425 0426 <Function> 0427 <Name>GAMMADIST</Name> 0428 <Type>Float</Type> 0429 <Parameter> 0430 <Comment>Number</Comment> 0431 <Type>Float</Type> 0432 </Parameter> 0433 <Parameter> 0434 <Comment>Alpha parameter</Comment> 0435 <Type>Float</Type> 0436 </Parameter> 0437 <Parameter> 0438 <Comment>Beta parameter</Comment> 0439 <Type>Float</Type> 0440 </Parameter> 0441 <Parameter> 0442 <Comment>Cumulated flag</Comment> 0443 <Type>Int</Type> 0444 </Parameter> 0445 <Help> 0446 <Text>The GAMMADIST() function returns the gamma distribution.</Text> 0447 <Text>If the last parameter (cumulated) is 0, it calculates the density function; if it's 1, the distribution is returned.</Text> 0448 <Text>The first three parameters must be positive.</Text> 0449 <Syntax>GAMMADIST(number;alpha;beta;cumulated)</Syntax> 0450 <Example>GAMMADIST(0.758;0.1;0.35;1) equals 0.995450</Example> 0451 <Example>GAMMADIST(0.758;0.1;0.35;0) equals 0.017179</Example> 0452 </Help> 0453 </Function> 0454 0455 <Function> 0456 <Name>GAMMAINV</Name> 0457 <Type>Float</Type> 0458 <Parameter> 0459 <Comment>Number</Comment> 0460 <Type>Float</Type> 0461 </Parameter> 0462 <Parameter> 0463 <Comment>Alpha parameter</Comment> 0464 <Type>Float</Type> 0465 </Parameter> 0466 <Parameter> 0467 <Comment>Beta parameter</Comment> 0468 <Type>Float</Type> 0469 </Parameter> 0470 <Help> 0471 <Text>The GAMMAINV() function returns the unique number x >= 0 such that GAMMAINV(x;alpha;beta;TRUE()) = p.</Text> 0472 <Syntax>GAMMAINV(number;alpha;beta)</Syntax> 0473 <Example>GAMMADIST(GAMMAINV(0.1;3;4);3;4) equals 0.1</Example> 0474 <Example>GAMMADIST(GAMMAINV(0.3;3;4);3;4) equals 0.3</Example> 0475 </Help> 0476 <Related>GAMMADIST</Related> 0477 </Function> 0478 0479 <Function> 0480 <Name>GAUSS</Name> 0481 <Type>Float</Type> 0482 <Parameter> 0483 <Comment>The number for which the integral value of standard normal distribution is to be calculated</Comment> 0484 <Type>Float</Type> 0485 </Parameter> 0486 <Help> 0487 <Text>The GAUSS() function returns the integral values for the standard normal cumulative distribution.</Text> 0488 <Syntax>GAUSS(value)</Syntax> 0489 <Example>GAUSS(0.25) equals 0.098706</Example> 0490 </Help> 0491 </Function> 0492 0493 <Function> 0494 <Name>GEOMEAN</Name> 0495 <Type>Float</Type> 0496 <Parameter> 0497 <Comment>Floating point values</Comment> 0498 <Type range="true">Double</Type> 0499 </Parameter> 0500 <Parameter> 0501 <Comment>Floating point values</Comment> 0502 <Type range="true">Double</Type> 0503 </Parameter> 0504 <Parameter> 0505 <Comment>Floating point values</Comment> 0506 <Type range="true">Double</Type> 0507 </Parameter> 0508 <Parameter> 0509 <Comment>Floating point values</Comment> 0510 <Type range="true">Double</Type> 0511 </Parameter> 0512 <Parameter> 0513 <Comment>Floating point values</Comment> 0514 <Type range="true">Double</Type> 0515 </Parameter> 0516 <Help> 0517 <Text>The GEOMEAN() function returns the geometric mean of the given arguments. This is equal to the Nth root of the product of the terms.</Text> 0518 <Syntax>GEOMEAN(value; value;...)</Syntax> 0519 <Example>GEOMEAN(A1:A5)</Example> 0520 <Example>GEOMEAN(21; 33; 54; 23) returns 30.45886</Example> 0521 <Related>HARMEAN</Related> 0522 </Help> 0523 </Function> 0524 0525 <Function> 0526 <Name>HARMEAN</Name> 0527 <Type>Float</Type> 0528 <Parameter> 0529 <Comment>Floating point values</Comment> 0530 <Type range="true">Double</Type> 0531 </Parameter> 0532 <Parameter> 0533 <Comment>Floating point values</Comment> 0534 <Type range="true">Double</Type> 0535 </Parameter> 0536 <Parameter> 0537 <Comment>Floating point values</Comment> 0538 <Type range="true">Double</Type> 0539 </Parameter> 0540 <Parameter> 0541 <Comment>Floating point values</Comment> 0542 <Type range="true">Double</Type> 0543 </Parameter> 0544 <Parameter> 0545 <Comment>Floating point values</Comment> 0546 <Type range="true">Double</Type> 0547 </Parameter> 0548 <Help> 0549 <Text>The HARMEAN() function returns the harmonic mean of the N data points (N divided by the sum of the inverses of the data points).</Text> 0550 <Syntax>HARMEAN(value; value;...)</Syntax> 0551 <Example>HARMEAN(A1:A5)</Example> 0552 <Example>HARMEAN(21; 33; 54; 23) returns 28.588</Example> 0553 <Related>GEOMEAN</Related> 0554 </Help> 0555 </Function> 0556 0557 <Function> 0558 <Name>HYPGEOMDIST</Name> 0559 <Type>Float</Type> 0560 <Parameter> 0561 <Comment>Number of success in the sample</Comment> 0562 <Type>Int</Type> 0563 </Parameter> 0564 <Parameter> 0565 <Comment>Number of trials</Comment> 0566 <Type>Int</Type> 0567 </Parameter> 0568 <Parameter> 0569 <Comment>Number of success overall</Comment> 0570 <Type>Int</Type> 0571 </Parameter> 0572 <Parameter> 0573 <Comment>Population size</Comment> 0574 <Type>Int</Type> 0575 </Parameter> 0576 <Help> 0577 <Text>The HYPGEOMDIST() function returns the hypergeometric distribution.</Text> 0578 <Syntax>HYPGEOMDIST(x; n; M; N)</Syntax> 0579 <Example>HYPGEOMDIST(2; 5; 6; 20) returns 0.3522</Example> 0580 </Help> 0581 </Function> 0582 0583 <Function> 0584 <Name>INTERCEPT</Name> 0585 <Type>Float</Type> 0586 <Parameter> 0587 <Comment>y values (array)</Comment> 0588 <Type>Float</Type> 0589 </Parameter> 0590 <Parameter> 0591 <Comment>x values (array)</Comment> 0592 <Type>Float</Type> 0593 </Parameter> 0594 <Help> 0595 <Text>The INTERCEPT() function calculates the interception of the linear regression line with the y axis.</Text> 0596 <Syntax>INTERCEPT(y;x)</Syntax> 0597 </Help> 0598 </Function> 0599 0600 <Function> 0601 <Name>KURT</Name> 0602 <Type>Float</Type> 0603 <Parameter> 0604 <Comment>Floating point values</Comment> 0605 <Type range="true">Double</Type> 0606 </Parameter> 0607 <Parameter> 0608 <Comment>Floating point values</Comment> 0609 <Type range="true">Double</Type> 0610 </Parameter> 0611 <Parameter> 0612 <Comment>Floating point values</Comment> 0613 <Type range="true">Double</Type> 0614 </Parameter> 0615 <Parameter> 0616 <Comment>Floating point values</Comment> 0617 <Type range="true">Double</Type> 0618 </Parameter> 0619 <Parameter> 0620 <Comment>Floating point values</Comment> 0621 <Type range="true">Double</Type> 0622 </Parameter> 0623 <Help> 0624 <Text>The KURT() function calculates an unbiased estimate of the kurtosis of a data set. You have to provide at least 4 values, otherwise an error is returned.</Text> 0625 <Syntax>KURT(value; value;...)</Syntax> 0626 <Example>KURT(A1:A5)</Example> 0627 <Example>KURT(21; 33; 54; 23) returns 1.344239</Example> 0628 <Related>KURTP</Related> 0629 </Help> 0630 </Function> 0631 0632 <Function> 0633 <Name>KURTP</Name> 0634 <Type>Float</Type> 0635 <Parameter> 0636 <Comment>Floating point values</Comment> 0637 <Type range="true">Double</Type> 0638 </Parameter> 0639 <Parameter> 0640 <Comment>Floating point values</Comment> 0641 <Type range="true">Double</Type> 0642 </Parameter> 0643 <Parameter> 0644 <Comment>Floating point values</Comment> 0645 <Type range="true">Double</Type> 0646 </Parameter> 0647 <Parameter> 0648 <Comment>Floating point values</Comment> 0649 <Type range="true">Double</Type> 0650 </Parameter> 0651 <Parameter> 0652 <Comment>Floating point values</Comment> 0653 <Type range="true">Double</Type> 0654 </Parameter> 0655 <Help> 0656 <Text>The KURTP() function calculates an population kurtosis of a data set. You have to provide at least 4 values, otherwise an error is returned.</Text> 0657 <Syntax>KURTP(value; value;...)</Syntax> 0658 <Example>KURTP(A1:A5)</Example> 0659 <Example>KURTP(21; 33; 54; 23) returns -1.021</Example> 0660 <Related>KURT</Related> 0661 </Help> 0662 </Function> 0663 0664 <Function> 0665 <Name>LARGE</Name> 0666 <Type>Float</Type> 0667 <Parameter> 0668 <Comment>Cell range of values</Comment> 0669 <Type range="true">Double</Type> 0670 </Parameter> 0671 <Parameter> 0672 <Comment>Position (from the largest)</Comment> 0673 <Type>Int</Type> 0674 </Parameter> 0675 <Help> 0676 <Text>The LARGE() function returns the k-th largest value from the data set.</Text> 0677 <Syntax>LARGE(range; k)</Syntax> 0678 <Example>A1: 3, A2: 1, A3: 5 => LARGE(A1:A3; 2) returns 3</Example> 0679 </Help> 0680 </Function> 0681 0682 <Function> 0683 <Name>LEGACYFDIST</Name> 0684 <Type>Float</Type> 0685 <Parameter> 0686 <Comment>Number</Comment> 0687 <Type>Float</Type> 0688 </Parameter> 0689 <Parameter> 0690 <Comment>Degrees of freedom 1</Comment> 0691 <Type>Int</Type> 0692 </Parameter> 0693 <Parameter> 0694 <Comment>Degrees of freedom 2</Comment> 0695 <Type>Int</Type> 0696 </Parameter> 0697 <Help> 0698 <Text>The LEGACYFDIST() function returns the f-distribution.</Text> 0699 <Syntax>LEGACYFDIST(number;degrees_freedom_1;degrees_freedom_2)</Syntax> 0700 <Example>LEGACYFDIST(0.8;8;12) yields 0.61</Example> 0701 </Help> 0702 </Function> 0703 0704 <Function> 0705 <Name>LOGINV</Name> 0706 <Type>Float</Type> 0707 <Parameter> 0708 <Comment>Probability</Comment> 0709 <Type>Float</Type> 0710 </Parameter> 0711 <Parameter> 0712 <Comment>Mean value of the standard logarithmic distribution</Comment> 0713 <Type>Float</Type> 0714 </Parameter> 0715 <Parameter> 0716 <Comment>Standard deviation of the standard logarithmic distribution</Comment> 0717 <Type>Float</Type> 0718 </Parameter> 0719 <Help> 0720 <Text>The LOGINV() function returns the inverse of the lognormal cumulative distribution.</Text> 0721 <Syntax>LOGINV(p; mean; stdev)</Syntax> 0722 <Example>LOGINV(0.1;0;1) equals 0.2776</Example> 0723 </Help> 0724 </Function> 0725 0726 <Function> 0727 <Name>LOGNORMDIST</Name> 0728 <Type>Float</Type> 0729 <Parameter> 0730 <Comment>Probability value for which the standard logarithmic distribution is to be calculated</Comment> 0731 <Type>Float</Type> 0732 </Parameter> 0733 <Parameter> 0734 <Comment>Mean value of the standard logarithmic distribution</Comment> 0735 <Type>Float</Type> 0736 </Parameter> 0737 <Parameter> 0738 <Comment>Standard deviation of the standard logarithmic distribution</Comment> 0739 <Type>Float</Type> 0740 </Parameter> 0741 <Help> 0742 <Text>The LOGNORMDIST() function returns the cumulative lognormal distribution.</Text> 0743 <Syntax>LOGNORMDIST(Number;MV;STD)</Syntax> 0744 <Example>LOGNORMDIST(0.1;0;1) equals 0.01</Example> 0745 </Help> 0746 </Function> 0747 0748 <Function> 0749 <Name>MEDIAN</Name> 0750 <Type>Float</Type> 0751 <Parameter optional="true"> 0752 <Comment>Floating point value or range of values</Comment> 0753 <Type range="true">Float</Type> 0754 </Parameter> 0755 <Parameter optional="true"> 0756 <Comment>Floating point values or range of values</Comment> 0757 <Type range="true">Float</Type> 0758 </Parameter> 0759 <Parameter optional="true"> 0760 <Comment>Floating point values or range of values</Comment> 0761 <Type range="true">Float</Type> 0762 </Parameter> 0763 <Parameter optional="true"> 0764 <Comment>Floating point values or range of values</Comment> 0765 <Type range="true">Float</Type> 0766 </Parameter> 0767 <Parameter optional="true"> 0768 <Comment>Floating point values or range of values</Comment> 0769 <Type range="true">Float</Type> 0770 </Parameter> 0771 <Help> 0772 <Text>The MEDIAN() function calculates the median of all the values given as parameters. You can calculate the median of a range like MEDIAN(A1:B5) or a list of values like MEDIAN(12; 5; 12.5). Blank cells will be considered as a zero, and cells with text will be ignored.</Text> 0773 <Syntax>MEDIAN(value;value;...)</Syntax> 0774 <Example>MEDIAN(12; 5; 5.5) equals 5.5</Example> 0775 <Example>MEDIAN(12; 7; 8;2) equals 7.5</Example> 0776 </Help> 0777 </Function> 0778 0779 <Function> 0780 <Name>MODE</Name> 0781 <Type>Float</Type> 0782 <Parameter> 0783 <Comment>Float</Comment> 0784 <Type range="true">Double</Type> 0785 </Parameter> 0786 <Parameter> 0787 <Comment>Float</Comment> 0788 <Type range="true">Double</Type> 0789 </Parameter> 0790 <Parameter> 0791 <Comment>Float</Comment> 0792 <Type range="true">Double</Type> 0793 </Parameter> 0794 <Parameter> 0795 <Comment>Float</Comment> 0796 <Type range="true">Double</Type> 0797 </Parameter> 0798 <Help> 0799 <Text>The MODE() function returns the most frequently occurring value in the data set.</Text> 0800 <Syntax>MODE(number; number2; ...)</Syntax> 0801 <Syntax>MODE(range)</Syntax> 0802 <Example>MODE(12; 14; 12; 15) returns 12</Example> 0803 </Help> 0804 </Function> 0805 0806 <Function> 0807 <Name>NEGBINOMDIST</Name> 0808 <Type>Float</Type> 0809 <Parameter> 0810 <Comment>Number of failures</Comment> 0811 <Type>Int</Type> 0812 </Parameter> 0813 <Parameter> 0814 <Comment>Number of successful trials</Comment> 0815 <Type>Int</Type> 0816 </Parameter> 0817 <Parameter> 0818 <Comment>Probability of success</Comment> 0819 <Type>Double</Type> 0820 </Parameter> 0821 <Help> 0822 <Text>The NEGBINOMDIST() function returns the negative binomial distribution.</Text> 0823 <Syntax>NEGBINOMDIST(failures; success; prob_of_success)</Syntax> 0824 <Example>NEGBINOMDIST(2;5;0.55) returns 0.152872629</Example> 0825 </Help> 0826 </Function> 0827 0828 <Function> 0829 <Name>NORMDIST</Name> 0830 <Type>Float</Type> 0831 <Parameter> 0832 <Comment>Number</Comment> 0833 <Type>Float</Type> 0834 </Parameter> 0835 <Parameter> 0836 <Comment>Linear middle of the distribution</Comment> 0837 <Type>Float</Type> 0838 </Parameter> 0839 <Parameter> 0840 <Comment>Standard deviation of the distribution</Comment> 0841 <Type>Float</Type> 0842 </Parameter> 0843 <Parameter> 0844 <Comment>0 = density, 1 = distribution</Comment> 0845 <Type>Int</Type> 0846 </Parameter> 0847 <Help> 0848 <Text>The NORMDIST() function returns the normal cumulative distribution.</Text> 0849 <Text>Number is the value of the distribution based on which the normal distribution is to be calculated.</Text> 0850 <Text>MV is the linear middle of the distribution.</Text> 0851 <Text>STD is the standard deviation of the distribution.</Text> 0852 <Text>K = 0 calculates the density function; K = 1 calculates the distribution.</Text> 0853 <Syntax>NORMDIST(Number;MV;STD;K)</Syntax> 0854 <Example>NORMDIST(0.859;0.6;0.258;0) equals 0.934236</Example> 0855 <Example>NORMDIST(0.859;0.6;0.258;1) equals 0.842281</Example> 0856 </Help> 0857 </Function> 0858 0859 <Function> 0860 <Name>NORMINV</Name> 0861 <Type>Float</Type> 0862 <Parameter> 0863 <Comment>Probability value for which the standard logarithmic distribution is to be calculated</Comment> 0864 <Type>Float</Type> 0865 </Parameter> 0866 <Parameter> 0867 <Comment>Middle value in the normal distribution</Comment> 0868 <Type>Float</Type> 0869 </Parameter> 0870 <Parameter> 0871 <Comment>Standard deviation of the normal distribution</Comment> 0872 <Type>Float</Type> 0873 </Parameter> 0874 <Help> 0875 <Text>The NORMINV() function returns the inverse of the normal cumulative distribution. The number must be between 0 and 1 (non-inclusive) and STD must be positive.</Text> 0876 <Syntax>NORMINV(number;MV;STD)</Syntax> 0877 <Example>NORMINV(0.9;63;5) equals 69.41</Example> 0878 </Help> 0879 </Function> 0880 0881 <Function> 0882 <Name>NORMSDIST</Name> 0883 <Type>Float</Type> 0884 <Parameter> 0885 <Comment>Value to which the standard normal distribution is calculated</Comment> 0886 <Type>Float</Type> 0887 </Parameter> 0888 <Help> 0889 <Text>The NORMSDIST() function returns the standard normal distribution.</Text> 0890 <Syntax>NORMSDIST(Number)</Syntax> 0891 <Example>NORMSDIST(1) equals 0.84</Example> 0892 </Help> 0893 </Function> 0894 0895 <Function> 0896 <Name>NORMSINV</Name> 0897 <Type>Float</Type> 0898 <Parameter> 0899 <Comment>Number</Comment> 0900 <Type>Float</Type> 0901 </Parameter> 0902 <Help> 0903 <Text>The NORMSINV() function returns the inverse of the standard normal cumulative distribution. The number must be between 0 and 1 (non-inclusive).</Text> 0904 <Syntax>NORMSINV(Number)</Syntax> 0905 <Example>NORMSINV(0.908789) returns 1.3333</Example> 0906 </Help> 0907 </Function> 0908 0909 <Function> 0910 <Name>PEARSON</Name> 0911 <Type>Float</Type> 0912 <Parameter> 0913 <Comment>Cell range of values</Comment> 0914 <Type range="true">Double</Type> 0915 </Parameter> 0916 <Parameter> 0917 <Comment>Second cell range of values</Comment> 0918 <Type range="true">Double</Type> 0919 </Parameter> 0920 <Help> 0921 <Text>The PEARSON() function calculates the correlation coefficient of two cell ranges. It is the same as the CORREL function.</Text> 0922 <Syntax>PEARSON(range1; range2)</Syntax> 0923 <Example>PEARSON(A1:A3; B1:B3)</Example> 0924 <Related>CORREL</Related> 0925 </Help> 0926 </Function> 0927 0928 <Function> 0929 <Name>PERMUT</Name> 0930 <Type>Int</Type> 0931 <Parameter> 0932 <Comment>Total number of elements</Comment> 0933 <Type>Int</Type> 0934 </Parameter> 0935 <Parameter> 0936 <Comment>Number of elements to permutate</Comment> 0937 <Type>Int</Type> 0938 </Parameter> 0939 <Help> 0940 <Text>The PERMUT() function returns the number of permutations. The first parameter is the number of elements, and the second parameter is the number of elements used in the permutation.</Text> 0941 <Syntax>PERMUT(total;permutated)</Syntax> 0942 <Example>PERMUT(8;5) equals 6720</Example> 0943 <Example>PERMUT(1;1) equals 1</Example> 0944 </Help> 0945 </Function> 0946 0947 <Function> 0948 <Name>PERMUTATIONA</Name> 0949 <Type>Int</Type> 0950 <Parameter> 0951 <Comment>Total number of elements</Comment> 0952 <Type>Int</Type> 0953 </Parameter> 0954 <Parameter> 0955 <Comment>Number of elements to choose</Comment> 0956 <Type>Int</Type> 0957 </Parameter> 0958 <Help> 0959 <Text>The PERMUTATIONA() function returns the number of ordered permutations when allowing repetition. The first parameter is the number of elements, and the second parameter is the number of elements to choose. Both parameters must be positive.</Text> 0960 <Syntax>PERMUTATIONA(total;chosen)</Syntax> 0961 <Example>PERMUTATIONA(2,3) returns 8</Example> 0962 <Example>PERMUTATIONA(0,0) returns 1</Example> 0963 </Help> 0964 </Function> 0965 0966 <Function> 0967 <Name>PERCENTILE</Name> 0968 <Type>Float</Type> 0969 <Parameter> 0970 <Comment>Range of values</Comment> 0971 <Type range="true">Float</Type> 0972 </Parameter> 0973 <Parameter> 0974 <Comment>The percentile value between 0 and 1, inclusive.</Comment> 0975 <Type>Float</Type> 0976 </Parameter> 0977 <Help> 0978 <Text>The PERCENTILE() function returns the x-th sample percentile of data values in Data. A percentile returns the scale value for a data series which goes from the smallest (alpha=0) to the largest value (alpha=1) of a data series. For alpha = 25%, the percentile means the first quartile; alpha = 50% is the MEDIAN. Blank cells will be considered as a zero, and cells with text will be ignored.</Text> 0979 <Syntax>PERCENTILE(data;alpha)</Syntax> 0980 <Related>MEDIAN</Related> 0981 <Related>QUARTILE</Related> 0982 </Help> 0983 </Function> 0984 0985 <Function> 0986 <Name>PHI</Name> 0987 <Type>Float</Type> 0988 <Parameter> 0989 <Comment>The number for which the standard normal distribution is to be calculated</Comment> 0990 <Type>Float</Type> 0991 </Parameter> 0992 <Help> 0993 <Text>The PHI() function returns value of the distribution function for a standard normal distribution.</Text> 0994 <Syntax>PHI(value)</Syntax> 0995 <Example>PHI(0.25) equals 0.386668</Example> 0996 </Help> 0997 </Function> 0998 0999 <Function> 1000 <Name>POISSON</Name> 1001 <Type>Float</Type> 1002 <Parameter> 1003 <Comment>Number</Comment> 1004 <Type>Float</Type> 1005 </Parameter> 1006 <Parameter> 1007 <Comment>Lambda parameter (the middle value)</Comment> 1008 <Type>Float</Type> 1009 </Parameter> 1010 <Parameter> 1011 <Comment>0 = density, 1 = distribution</Comment> 1012 <Type>Int</Type> 1013 </Parameter> 1014 <Help> 1015 <Text>The POISSON() function returns the Poisson distribution.</Text> 1016 <Text>The lambda and number parameters must be positive.</Text> 1017 <Text>Cumulative = 0 calculates the density function; cumulative = 1 calculates the distribution.</Text> 1018 <Syntax>POISSON(number;lambda;cumulative)</Syntax> 1019 <Example>POISSON(60;50;0) equals 0.020105</Example> 1020 <Example>POISSON(60;50;1) equals 0.927840</Example> 1021 </Help> 1022 </Function> 1023 1024 <Function> 1025 <Name>RANK</Name> 1026 <Type>Float</Type> 1027 <Parameter> 1028 <Comment>Value</Comment> 1029 <Type>Float</Type> 1030 </Parameter> 1031 <Parameter> 1032 <Comment>Data (array)</Comment> 1033 <Type>Float</Type> 1034 </Parameter> 1035 <Parameter optional="true"> 1036 <Comment>Order</Comment> 1037 <Type>Float</Type> 1038 </Parameter> 1039 <Help> 1040 <Text>The RANK() function returns the rank of a number in a list of numbers.</Text> 1041 <Text>Order specifies how to rank the numbers:</Text> 1042 <Text>If 0 or omitted, Data is ranked in descending order.</Text> 1043 <Text>If not 0, Data is ranked in ascending order.</Text> 1044 <Syntax>RANK(Value; Data; Order)</Syntax> 1045 <Example>RANK (2;{1;2;3}) equals 2</Example> 1046 </Help> 1047 </Function> 1048 1049 <Function> 1050 <Name>RSQ</Name> 1051 <Type>Float</Type> 1052 <Parameter> 1053 <Comment>known Y (array)</Comment> 1054 <Type>Float</Type> 1055 </Parameter> 1056 <Parameter> 1057 <Comment>known X (array)</Comment> 1058 <Type>Float</Type> 1059 </Parameter> 1060 <Help> 1061 <Text>The RSQ() function returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's.</Text> 1062 <Text>If "arrayY" and "arrayX" are empty or have a different number of data points, then #N/A is returned.</Text> 1063 <Syntax>RSQ(known Y; known X)</Syntax> 1064 </Help> 1065 </Function> 1066 1067 <Function> 1068 <Name>SKEW</Name> 1069 <Type>Float</Type> 1070 <Parameter> 1071 <Comment>Float</Comment> 1072 <Type range="true">Double</Type> 1073 </Parameter> 1074 <Parameter> 1075 <Comment>Float</Comment> 1076 <Type range="true">Double</Type> 1077 </Parameter> 1078 <Parameter> 1079 <Comment>Float</Comment> 1080 <Type range="true">Double</Type> 1081 </Parameter> 1082 <Parameter> 1083 <Comment>Float</Comment> 1084 <Type range="true">Double</Type> 1085 </Parameter> 1086 <Help> 1087 <Text>The SKEW() function returns an estimate for skewness of a distribution</Text> 1088 <Syntax>SKEW(number; number2; ...)</Syntax> 1089 <Syntax>SKEW(range)</Syntax> 1090 <Example>SKEW(11.4; 17.3; 21.3; 25.9; 40.1) returns 0.9768</Example> 1091 <Related>SKEWP</Related> 1092 </Help> 1093 </Function> 1094 1095 <Function> 1096 <Name>SKEWP</Name> 1097 <Type>Float</Type> 1098 <Parameter> 1099 <Comment>Float</Comment> 1100 <Type range="true">Double</Type> 1101 </Parameter> 1102 <Parameter> 1103 <Comment>Float</Comment> 1104 <Type range="true">Double</Type> 1105 </Parameter> 1106 <Parameter> 1107 <Comment>Float</Comment> 1108 <Type range="true">Double</Type> 1109 </Parameter> 1110 <Parameter> 1111 <Comment>Float</Comment> 1112 <Type range="true">Double</Type> 1113 </Parameter> 1114 <Help> 1115 <Text>The SKEWP() function returns the population skewness of a distribution</Text> 1116 <Syntax>SKEWP(number; number2; ...)</Syntax> 1117 <Syntax>SKEWP(range)</Syntax> 1118 <Example>SKEWP(11.4; 17.3; 21.3; 25.9; 40.1) returns 0.6552</Example> 1119 <Related>SKEW</Related> 1120 </Help> 1121 </Function> 1122 1123 <Function> 1124 <Name>SLOPE</Name> 1125 <Type>Float</Type> 1126 <Parameter> 1127 <Comment>y values (array)</Comment> 1128 <Type>Float</Type> 1129 </Parameter> 1130 <Parameter> 1131 <Comment>x values (array)</Comment> 1132 <Type>Float</Type> 1133 </Parameter> 1134 <Help> 1135 <Text>The SLOPE() function calculates the slope of the linear regression line.</Text> 1136 <Syntax>SLOPE(y;x)</Syntax> 1137 </Help> 1138 </Function> 1139 1140 <Function> 1141 <Name>SMALL</Name> 1142 <Type>Float</Type> 1143 <Parameter> 1144 <Comment>Cell range of values</Comment> 1145 <Type range="true">Double</Type> 1146 </Parameter> 1147 <Parameter> 1148 <Comment>Position (from the smallest)</Comment> 1149 <Type>Int</Type> 1150 </Parameter> 1151 <Help> 1152 <Text>The SMALL() function returns the k-th smallest value from the data set.</Text> 1153 <Syntax>SMALL(range; k)</Syntax> 1154 <Example>A1: 3, A2: 1, A3: 5 => SMALL(A1:A3; 1) returns 1</Example> 1155 </Help> 1156 </Function> 1157 1158 <Function> 1159 <Name>STANDARDIZE</Name> 1160 <Type>Float</Type> 1161 <Parameter> 1162 <Comment>Number to be normalized</Comment> 1163 <Type>Double</Type> 1164 </Parameter> 1165 <Parameter> 1166 <Comment>Mean of the distribution</Comment> 1167 <Type>Double</Type> 1168 </Parameter> 1169 <Parameter> 1170 <Comment>Standard deviation</Comment> 1171 <Type>Double</Type> 1172 </Parameter> 1173 <Help> 1174 <Text>The STANDARDIZE() function calculates a normalized value.</Text> 1175 <Syntax>STANDARDIZE(x; mean, stdev)</Syntax> 1176 <Example>STANDARDIZE(4; 3; 7) returns 0.1429</Example> 1177 </Help> 1178 </Function> 1179 1180 <Function> 1181 <Name>STDEV</Name> 1182 <Type>Float</Type> 1183 <Parameter optional="true"> 1184 <Comment>Floating point values</Comment> 1185 <Type range="true">Float</Type> 1186 </Parameter> 1187 <Parameter optional="true"> 1188 <Comment>Floating point values</Comment> 1189 <Type range="true">Float</Type> 1190 </Parameter> 1191 <Parameter optional="true"> 1192 <Comment>Floating point values</Comment> 1193 <Type range="true">Float</Type> 1194 </Parameter> 1195 <Parameter optional="true"> 1196 <Comment>Floating point values</Comment> 1197 <Type range="true">Float</Type> 1198 </Parameter> 1199 <Parameter optional="true"> 1200 <Comment>Floating point values</Comment> 1201 <Type range="true">Float</Type> 1202 </Parameter> 1203 <Help> 1204 <Text>The STDEV() function returns the estimate standard deviation based on a sample. The standard deviation is a measure of how widely values are dispersed from the average value.</Text> 1205 <Syntax>STDEV(value;value;...)</Syntax> 1206 <Example>STDEV(6;7;8) equals 1</Example> 1207 <Related>STDEVP</Related> 1208 </Help> 1209 </Function> 1210 1211 <Function> 1212 <Name>STDEVA</Name> 1213 <Type>Float</Type> 1214 <Parameter optional="true"> 1215 <Comment>Floating point values</Comment> 1216 <Type range="true">Float</Type> 1217 </Parameter> 1218 <Parameter optional="true"> 1219 <Comment>Floating point values</Comment> 1220 <Type range="true">Float</Type> 1221 </Parameter> 1222 <Parameter optional="true"> 1223 <Comment>Floating point values</Comment> 1224 <Type range="true">Float</Type> 1225 </Parameter> 1226 <Parameter optional="true"> 1227 <Comment>Floating point values</Comment> 1228 <Type range="true">Float</Type> 1229 </Parameter> 1230 <Parameter optional="true"> 1231 <Comment>Floating point values</Comment> 1232 <Type range="true">Float</Type> 1233 </Parameter> 1234 <Help> 1235 <Text>The STDEVA() function returns the estimate standard deviation based on a sample. The standard deviation is a measure of how widely values are dispersed from the average value. If a referenced cell contains text or contains the boolean value FALSE, it is counted as 0. If the boolean value is TRUE it is counted as 1.</Text> 1236 <Syntax>STDEVA(value;value;...)</Syntax> 1237 <Example>STDEVA(6; 7; A1; 8) equals 1, if A1 is empty</Example> 1238 <Example>STDEVA(6; 7; A1; 8) equals 3.109, if A1 is TRUE</Example> 1239 <Related>STDEV</Related> 1240 <Related>STDEVP</Related> 1241 </Help> 1242 </Function> 1243 1244 <Function> 1245 <Name>STDEVP</Name> 1246 <Type>Float</Type> 1247 <Parameter optional="true"> 1248 <Comment>Floating point values</Comment> 1249 <Type range="true">Float</Type> 1250 </Parameter> 1251 <Parameter optional="true"> 1252 <Comment>Floating point values</Comment> 1253 <Type range="true">Float</Type> 1254 </Parameter> 1255 <Parameter optional="true"> 1256 <Comment>Floating point values</Comment> 1257 <Type range="true">Float</Type> 1258 </Parameter> 1259 <Parameter optional="true"> 1260 <Comment>Floating point values</Comment> 1261 <Type range="true">Float</Type> 1262 </Parameter> 1263 <Parameter optional="true"> 1264 <Comment>Floating point values</Comment> 1265 <Type range="true">Float</Type> 1266 </Parameter> 1267 <Help> 1268 <Text>The STDEVP() function returns the standard deviation based on an entire population</Text> 1269 <Syntax>STDEVP(value;value;...)</Syntax> 1270 <Example>STDEVP(6;7;8) equals 0.816497...</Example> 1271 <Related>STDEV</Related> 1272 </Help> 1273 </Function> 1274 1275 <Function> 1276 <Name>STDEVPA</Name> 1277 <Type>Float</Type> 1278 <Parameter optional="true"> 1279 <Comment>Floating point values</Comment> 1280 <Type range="true">Float</Type> 1281 </Parameter> 1282 <Parameter optional="true"> 1283 <Comment>Floating point values</Comment> 1284 <Type range="true">Float</Type> 1285 </Parameter> 1286 <Parameter optional="true"> 1287 <Comment>Floating point values</Comment> 1288 <Type range="true">Float</Type> 1289 </Parameter> 1290 <Parameter optional="true"> 1291 <Comment>Floating point values</Comment> 1292 <Type range="true">Float</Type> 1293 </Parameter> 1294 <Parameter optional="true"> 1295 <Comment>Floating point values</Comment> 1296 <Type range="true">Float</Type> 1297 </Parameter> 1298 <Help> 1299 <Text>The STDEVPA() function returns standard deviation based on an entire population. If a referenced cell contains text or contains the boolean value FALSE, it is counted as 0. If the boolean value is TRUE it is counted as 1.</Text> 1300 <Syntax>STDEVPA(value;value;...)</Syntax> 1301 <Example>STDEVPA(6; 7; A1; 8) equals 0.816497..., if A1 is empty</Example> 1302 <Example>STDEVPA(6; 7; A1; 8) equals 2.69..., if A1 is TRUE</Example> 1303 <Example>STDEVPA(6; 7; A1; 8) equals 3.11..., if A1 is FALSE</Example> 1304 <Related>STDEV</Related> 1305 <Related>STDEVP</Related> 1306 </Help> 1307 </Function> 1308 1309 <Function> 1310 <Name>STEYX</Name> 1311 <Type>Float</Type> 1312 <Parameter> 1313 <Comment>y values (array)</Comment> 1314 <Type>Float</Type> 1315 </Parameter> 1316 <Parameter> 1317 <Comment>x values (array)</Comment> 1318 <Type>Float</Type> 1319 </Parameter> 1320 <Help> 1321 <Text>The STEYX() function calculates the standard error of the predicted y value for each x in the regression.</Text> 1322 <Syntax>STEYX(y;x)</Syntax> 1323 </Help> 1324 </Function> 1325 1326 <Function> 1327 <Name>SUM2XMY</Name> 1328 <!-- deprecated --> 1329 <Help> 1330 <Related>SUMXMY2</Related> 1331 </Help> 1332 </Function> 1333 1334 <Function> 1335 <Name>SUMPRODUCT</Name> 1336 <Type>Float</Type> 1337 <Parameter> 1338 <Comment>Value (array)</Comment> 1339 <Type>Double</Type> 1340 </Parameter> 1341 <Parameter> 1342 <Comment>Value (array)</Comment> 1343 <Type>Double</Type> 1344 </Parameter> 1345 <Help> 1346 <Text>The SUMPRODUCT() function (SUM(X*Y)) returns the sum of the product of these values. The number of values in the two arrays should be equal. Otherwise this function returns Err.</Text> 1347 <Syntax>SUMPRODUCT(array1;array2)</Syntax> 1348 <Example>SUMPRODUCT(A1:A2;B1:B2) with A1=2, A2=5, B1=3 and B2=5, returns 31</Example> 1349 </Help> 1350 </Function> 1351 1352 <Function> 1353 <Name>SUMX2PY2</Name> 1354 <Type>Float</Type> 1355 <Parameter> 1356 <Comment>Value (array)</Comment> 1357 <Type>Double</Type> 1358 </Parameter> 1359 <Parameter> 1360 <Comment>Value (array)</Comment> 1361 <Type>Double</Type> 1362 </Parameter> 1363 <Help> 1364 <Text>The SUMX2PY2() function (SUM(X^2+Y^2)) returns the sum of the squares of these values. The number of values in the two arrays should be equal. Otherwise this function returns Err.</Text> 1365 <Syntax>SUMX2PY2(array1;array2)</Syntax> 1366 <Example>SUMX2PY2(A1:A2;B1:B2) with A1=2, A2=5, B1=3 and B2=5, returns 63</Example> 1367 </Help> 1368 </Function> 1369 1370 <Function> 1371 <Name>SUMX2MY2</Name> 1372 <Type>Float</Type> 1373 <Parameter> 1374 <Comment>Value (array)</Comment> 1375 <Type>Double</Type> 1376 </Parameter> 1377 <Parameter> 1378 <Comment>Value (array)</Comment> 1379 <Type>Double</Type> 1380 </Parameter> 1381 <Help> 1382 <Text>The SUMX2MY2() function (SUM(X^2-Y^2)) returns the difference of the squares of these values. The number of values in the two arrays should be equal. Otherwise this function returns Err.</Text> 1383 <Syntax>SUMX2MY2(array1;array2)</Syntax> 1384 <Example>SUMX2MY2(A1:A2;B1:B2) with A1=2, A2=5, B1=3 and B2=5, returns -5</Example> 1385 </Help> 1386 </Function> 1387 1388 <Function> 1389 <Name>TDIST</Name> 1390 <Type>Float</Type> 1391 <Parameter> 1392 <Comment>Number</Comment> 1393 <Type>Float</Type> 1394 </Parameter> 1395 <Parameter> 1396 <Comment>Degrees of freedom for the t-distribution</Comment> 1397 <Type>Int</Type> 1398 </Parameter> 1399 <Parameter> 1400 <Comment>Mode (1 or 2)</Comment> 1401 <Type>Int</Type> 1402 </Parameter> 1403 <Help> 1404 <Text>The TDIST() function returns the t-distribution.</Text> 1405 <Text>Mode = 1 returns the one-tailed test, Mode = 2 returns the two-tailed test.</Text> 1406 <Syntax>TDIST(number;degrees_freedom;mode)</Syntax> 1407 <Example>TDIST(12;5;1) returns 0.000035</Example> 1408 </Help> 1409 </Function> 1410 1411 <Function> 1412 <Name>TREND</Name> 1413 <Type>Float</Type> 1414 <Parameter> 1415 <Comment>KnownY</Comment> 1416 <Type>Float</Type> 1417 </Parameter> 1418 <Parameter optional="true"> 1419 <Comment>KnownX</Comment> 1420 <Type>Float</Type> 1421 </Parameter> 1422 <Parameter optional="true"> 1423 <Comment>NumberSequence newX</Comment> 1424 <Type>Float</Type> 1425 </Parameter> 1426 <Parameter optional="true"> 1427 <Comment>allowOffset</Comment> 1428 <Type>Boolean</Type> 1429 </Parameter> 1430 <Help> 1431 <Text>The TREND() function calculates a sequence of Y-values based on a linear regression of known X- and Y-value pairs. For the input parameters, the user must firstly select a cell-range containing the Y-values, followed by the cell-range of the corresponding X-values. </Text> 1432 <Text>The line of best fit may be extrapolated to a different X-range, which is specified as the 3rd parameter. However, the input X-range should be given again if no extrapolation is required. </Text> 1433 <Text>The regression line can be forced to intersect the origin (X=0, Y=0) by setting the 4th parameter, allowOffset, to FALSE or 0. Setting this parameter to TRUE or 1 (the default) allows the best-fit line to intersect the vertical axis at a non-zero value of Y. </Text> 1434 <Text>Note that since the result of this function is a row of calculated Y-values, plotting the data will be facilitated if the X- and Y- values are also in rows, rather than columns.</Text> 1435 <Text>Constraints: COUNT(knownY) = COUNT(knownX).</Text> 1436 <Text>Since the result is an array, use Ctrl+Alt+Enter (instead of just Enter) to display the values in separate cells.</Text> 1437 <Syntax>TREND(known Y-range; [known X-range; [new X-range; [allowOffset=TRUE/FALSE]]])</Syntax> 1438 </Help> 1439 <Related>INTERSECTION</Related> 1440 <Related>SLOPE</Related> 1441 <Related>STEYX</Related> 1442 </Function> 1443 1444 <Function> 1445 <Name>TRIMMEAN</Name> 1446 <Type>Float</Type> 1447 <Parameter> 1448 <Comment>dataSet</Comment> 1449 <Type>Float</Type> 1450 </Parameter> 1451 <Parameter> 1452 <Comment>cutOffFraction</Comment> 1453 <Type>Float</Type> 1454 </Parameter> 1455 <Help> 1456 <Text>The TRIMMEAN() function calculates the mean of a data set with the smallest and largest values omitted to eliminate possible outliers. The total fraction of measurements which are to be excluded is set by the second parameter (cutOffFraction).</Text> 1457 <Syntax>TRIMMEAN(dataSet; cutOffFraction)</Syntax> 1458 </Help> 1459 <Related>AVERAGE</Related> 1460 <Related>GEOMEAN</Related> 1461 <Related>HARMEAN</Related> 1462 </Function> 1463 1464 <Function> 1465 <Name>TTEST</Name> 1466 <Type>Float</Type> 1467 <Parameter> 1468 <Comment>x (array) The set of observed data for the first condition.</Comment> 1469 <Type>Float</Type> 1470 </Parameter> 1471 <Parameter> 1472 <Comment>y (array) The set of observed data for the second condition.</Comment> 1473 <Type>Float</Type> 1474 </Parameter> 1475 <Parameter> 1476 <Comment>mode Whether to look up 1-tailed (mode = 1) or 2-tailed (mode = 2) probability for t.</Comment> 1477 <Type>Int</Type> 1478 </Parameter> 1479 <Parameter> 1480 <Comment>type The type of t-test to perform. Set this to 1 for a paired t-test, 2 or 3 for an unpaired t-test.</Comment> 1481 <Type>Int</Type> 1482 </Parameter> 1483 <Help> 1484 <Text>The TTEST() function calculates the probability of a t-test given two ranges of data to compare.</Text> 1485 <Text>A t-test compares two sets of data and establishes the likelihood that any difference between the two is caused by some variable having an effect. For example, given two sets of data, one containing the speed at which 30 tall people can run and the other containing the speed at which 30 short people can run, a t-test can tell you how likely it is that any speed difference between the two groups of people is due to their height.</Text> 1486 <Text>The mode parameter is used to indicate whether you require the difference between the two data sets to be in a specific direction or not. For example, if we are predicting that tall people will be able to run faster than short people, we would use a one-tailed test (mode = 1); however, if we are predicting that one group will be able to run faster than the other but not which one will actually be fastest, we would use a two-tailed test (mode = 2).</Text> 1487 <Text>Paired tests (type = 1, see Syntax below) are only suitable when both sets of data values are drawn from the same source (i.e. each source of data has provided an item in the first data range and an item in the second data range). In the running speed example, this is impossible since one person cannot be both short and tall: each person can only provide data for one group or the other. In such cases, where the values in each data set are drawn from different sources, an unpaired t-test is appropriate (type = 2 or type = 3). For unpaired t-tests, the two data ranges need not be equally sized; for paired t-tests the two ranges are required to contain the same number of cells.</Text> 1488 <Text>When your sets of data values are not drawn from the same source, choosing the appropriate type of unpaired test depends upon the variance within each of your two samples. If the variances of the two samples are similar, you can use an unpaired t-test for samples with similar variances (type = 2); where the variances are not sufficiently similar you must use an unpaired t-test for samples with differing variances (type = 3).</Text> 1489 <Syntax>TTEST(x; y; mode; type)</Syntax> 1490 </Help> 1491 <Related>TDIST</Related> 1492 </Function> 1493 1494 <Function> 1495 <Name>VAR</Name> 1496 <Type>Float</Type> 1497 <Parameter optional="true"> 1498 <Comment>Floating point values</Comment> 1499 <Type range="true">Float</Type> 1500 </Parameter> 1501 <Parameter optional="true"> 1502 <Comment>Floating point values</Comment> 1503 <Type range="true">Float</Type> 1504 </Parameter> 1505 <Parameter optional="true"> 1506 <Comment>Floating point values</Comment> 1507 <Type range="true">Float</Type> 1508 </Parameter> 1509 <Parameter optional="true"> 1510 <Comment>Floating point values</Comment> 1511 <Type range="true">Float</Type> 1512 </Parameter> 1513 <Parameter optional="true"> 1514 <Comment>Floating point values</Comment> 1515 <Type range="true">Float</Type> 1516 </Parameter> 1517 <Help> 1518 <Text>The VAR() function calculates the variance based on a sample.</Text> 1519 <Syntax>VAR(value;value;...)</Syntax> 1520 <Example>VAR(12;5;7) equals 13</Example> 1521 <Example>VAR(15;80;3) equals 1716.333...</Example> 1522 <Example>VAR(6;7;8) equals 1</Example> 1523 <Related>VARIANCE</Related> 1524 <Related>VARA</Related> 1525 <Related>VARP</Related> 1526 <Related>VARPA</Related> 1527 </Help> 1528 </Function> 1529 1530 <Function> 1531 <Name>VARA</Name> 1532 <Type>Float</Type> 1533 <Parameter optional="true"> 1534 <Comment>Floating point values</Comment> 1535 <Type range="true">Float</Type> 1536 </Parameter> 1537 <Parameter optional="true"> 1538 <Comment>Floating point values</Comment> 1539 <Type range="true">Float</Type> 1540 </Parameter> 1541 <Parameter optional="true"> 1542 <Comment>Floating point values</Comment> 1543 <Type range="true">Float</Type> 1544 </Parameter> 1545 <Parameter optional="true"> 1546 <Comment>Floating point values</Comment> 1547 <Type range="true">Float</Type> 1548 </Parameter> 1549 <Parameter optional="true"> 1550 <Comment>Floating point values</Comment> 1551 <Type range="true">Float</Type> 1552 </Parameter> 1553 <Help> 1554 <Text>The VARA() function calculates the variance based on a sample allowing numbers, text and logical values to be included in the calculation, too. If the cell contains text or the argument evaluates to FALSE, it is counted as value zero (0). If the argument evaluates to TRUE, it is counted as one (1). Note that empty cells are not counted.</Text> 1555 <Syntax>VARA(value;value;...)</Syntax> 1556 <Example>VARA(12;5;7) equals 13</Example> 1557 <Example>VARA(15;80;3) equals 1716.333...</Example> 1558 <Example>VARA(6;7;8) equals 1</Example> 1559 <Related>VAR</Related> 1560 <Related>VARP</Related> 1561 <Related>VARPA</Related> 1562 </Help> 1563 </Function> 1564 1565 <Function> 1566 <Name>VARIANCE</Name> 1567 <Type>Float</Type> 1568 <Parameter optional="true"> 1569 <Comment>Floating point values</Comment> 1570 <Type range="true">Float</Type> 1571 </Parameter> 1572 <Parameter optional="true"> 1573 <Comment>Floating point values</Comment> 1574 <Type range="true">Float</Type> 1575 </Parameter> 1576 <Parameter optional="true"> 1577 <Comment>Floating point values</Comment> 1578 <Type range="true">Float</Type> 1579 </Parameter> 1580 <Parameter optional="true"> 1581 <Comment>Floating point values</Comment> 1582 <Type range="true">Float</Type> 1583 </Parameter> 1584 <Parameter optional="true"> 1585 <Comment>Floating point values</Comment> 1586 <Type range="true">Float</Type> 1587 </Parameter> 1588 <Help> 1589 <Text>The VARIANCE() function calculates the variance based on a sample. It is the same as the VAR function.</Text> 1590 <Syntax>VARIANCE(value;value;...)</Syntax> 1591 <Example>VARIANCE(12;5;7) equals 13</Example> 1592 <Example>VARIANCE(15;80;3) equals 1716.333...</Example> 1593 <Example>VARIANCE(6;7;8) equals 1</Example> 1594 <Related>VAR</Related> 1595 <Related>VARA</Related> 1596 <Related>VARP</Related> 1597 <Related>VARPA</Related> 1598 </Help> 1599 </Function> 1600 1601 <Function> 1602 <Name>VARP</Name> 1603 <Type>Float</Type> 1604 <Parameter optional="true"> 1605 <Comment>Floating point values</Comment> 1606 <Type range="true">Float</Type> 1607 </Parameter> 1608 <Parameter optional="true"> 1609 <Comment>Floating point values</Comment> 1610 <Type range="true">Float</Type> 1611 </Parameter> 1612 <Parameter optional="true"> 1613 <Comment>Floating point values</Comment> 1614 <Type range="true">Float</Type> 1615 </Parameter> 1616 <Parameter optional="true"> 1617 <Comment>Floating point values</Comment> 1618 <Type range="true">Float</Type> 1619 </Parameter> 1620 <Parameter optional="true"> 1621 <Comment>Floating point values</Comment> 1622 <Type range="true">Float</Type> 1623 </Parameter> 1624 <Help> 1625 <Text>The VARP() function calculates the variance based on an entire population.</Text> 1626 <Syntax>VARP(value;value;...)</Syntax> 1627 <Example>VARP(12;5;7) equals 8.666...</Example> 1628 <Example>VARP(15;80;3) equals 1144.22...</Example> 1629 <Example>VARP(6;7;8) equals 0.6666667...</Example> 1630 <Related>VAR</Related> 1631 <Related>VARA</Related> 1632 <Related>VARPA</Related> 1633 </Help> 1634 </Function> 1635 1636 <Function> 1637 <Name>VARPA</Name> 1638 <Type>Float</Type> 1639 <Parameter optional="true"> 1640 <Comment>Floating point values</Comment> 1641 <Type range="true">Float</Type> 1642 </Parameter> 1643 <Parameter optional="true"> 1644 <Comment>Floating point values</Comment> 1645 <Type range="true">Float</Type> 1646 </Parameter> 1647 <Parameter optional="true"> 1648 <Comment>Floating point values</Comment> 1649 <Type range="true">Float</Type> 1650 </Parameter> 1651 <Parameter optional="true"> 1652 <Comment>Floating point values</Comment> 1653 <Type range="true">Float</Type> 1654 </Parameter> 1655 <Parameter optional="true"> 1656 <Comment>Floating point values</Comment> 1657 <Type range="true">Float</Type> 1658 </Parameter> 1659 <Help> 1660 <Text>The VARPA() function calculates the variance based on an entire population. Text and boolean values that evaluate to FALSE are counted as 0, boolean value that evaluate to TRUE are counted as 1. Empty cells are not counted.</Text> 1661 <Syntax>VARPA(value;value;...)</Syntax> 1662 <Example>VARPA(12;5;7) equals 8.666...</Example> 1663 <Example>VARPA(15;80;3) equals 1144.22...</Example> 1664 <Example>VARPA(6;7;8) equals 0.6666667...</Example> 1665 <Related>VAR</Related> 1666 <Related>VARA</Related> 1667 <Related>VARP</Related> 1668 </Help> 1669 </Function> 1670 1671 <Function> 1672 <Name>WEIBULL</Name> 1673 <Type>Float</Type> 1674 <Parameter> 1675 <Comment>Number</Comment> 1676 <Type>Float</Type> 1677 </Parameter> 1678 <Parameter> 1679 <Comment>Alpha parameter</Comment> 1680 <Type>Float</Type> 1681 </Parameter> 1682 <Parameter> 1683 <Comment>Beta parameter</Comment> 1684 <Type>Float</Type> 1685 </Parameter> 1686 <Parameter> 1687 <Comment>0 = density, 1 = distribution</Comment> 1688 <Type>Int</Type> 1689 </Parameter> 1690 <Help> 1691 <Text>The WEIBULL() function returns the Weibull distribution.</Text> 1692 <Text>The alpha and beta parameters must be positive, the number (first parameter) must be non-negative.</Text> 1693 <Text>Cumulative = 0 calculates the density function; cumulative = 1 calculates the distribution.</Text> 1694 <Syntax>WEIBULL(number;alpha;beta;cumulative)</Syntax> 1695 <Example>WEIBULL(2;1;1;0) equals 0.135335</Example> 1696 <Example>WEIBULL(2;1;1;1) equals 0.864665</Example> 1697 </Help> 1698 </Function> 1699 1700 <Function> 1701 <Name>ZTEST</Name> 1702 <Type>Float</Type> 1703 <Parameter> 1704 <Comment>x (array)</Comment> 1705 <Type>Float</Type> 1706 </Parameter> 1707 <Parameter> 1708 <Comment>mean</Comment> 1709 <Type>Float</Type> 1710 </Parameter> 1711 <Parameter> 1712 <Comment>standardDeviation</Comment> 1713 <Type>Float</Type> 1714 </Parameter> 1715 <Help> 1716 <Text>The ZTEST() function calculates the two tailed probability of a z-test with normal distribution.</Text> 1717 <Text>Performs a test of the null hypothesis, that the sample is a true sample of a normally distributed random variable with mean, mean, and standard deviation, sigma (standardDeviation). A return value of 1 indicates, that the null hypothesis is rejected, i.e. the sample is not a random sample of the normal distribution. If sigma is omitted, it is estimated from sample, using STDEV.</Text> 1718 1719 <Syntax>ZTEST(x; mean; standardDeviation)</Syntax> 1720 </Help> 1721 </Function> 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 <!-- Check this descriptions --> 1754 1755 1756 <Function> 1757 <Name>BINO</Name> 1758 <Type>Float</Type> 1759 <Parameter> 1760 <Comment>Number of trials</Comment> 1761 <Type>Int</Type> 1762 </Parameter> 1763 <Parameter> 1764 <Comment>Number of successful trials</Comment> 1765 <Type>Int</Type> 1766 </Parameter> 1767 <Parameter> 1768 <Comment>Probability of success</Comment> 1769 <Type>Double</Type> 1770 </Parameter> 1771 <Help> 1772 <Text>The BINO() function returns the binomial distribution.</Text> 1773 <Text>The first parameter is the number of trials, the second parameter is the number of successes, and the third is the probability of success. The number of trials should be greater than the number of successes and the probability should be smaller or equal to 1.</Text> 1774 <Syntax>BINO(trials;success;prob_of_success)</Syntax> 1775 <Example>BINO(12;9;0.8) returns 0.236223201</Example> 1776 </Help> 1777 </Function> 1778 1779 <Function> 1780 <Name>SUMXMY2</Name> 1781 <Type>Float</Type> 1782 <Parameter> 1783 <Comment>Value (array)</Comment> 1784 <Type>Double</Type> 1785 </Parameter> 1786 <Parameter> 1787 <Comment>Value (array)</Comment> 1788 <Type>Double</Type> 1789 </Parameter> 1790 <Help> 1791 <Text>The SUMXMY2() function (SUM((X-Y)^2)) returns the square of the differences of these values. The number of values in the two arrays should be equal. Otherwise this function returns Err.</Text> 1792 <Syntax>SUMXMY2(array1;array2)</Syntax> 1793 <Example>SUMXMY2(A1:A2;B1:B2) with A1=2, A2=5, B1=3 and B2=5, returns 1</Example> 1794 </Help> 1795 </Function> 1796 1797 <Function> 1798 <Name>INVBINO</Name> 1799 <Type>Float</Type> 1800 <Parameter> 1801 <Comment>Number of trials</Comment> 1802 <Type>Int</Type> 1803 </Parameter> 1804 <Parameter> 1805 <Comment>Number of failures</Comment> 1806 <Type>Int</Type> 1807 </Parameter> 1808 <Parameter> 1809 <Comment>Probability of failure</Comment> 1810 <Type>Double</Type> 1811 </Parameter> 1812 <Help> 1813 <Text>The INVBINO() function returns the negative binomial distribution. The first parameter is the number of trials, the second parameter is the number of failures, and the third is the probability of failure. The number of trials should be larger than the number of failures and the probability should be smaller or equal to 1.</Text> 1814 <Syntax>INVBINO(trials;failure;prob_of_failure)</Syntax> 1815 <Example>INVBINO(12;3;0.2) returns 0.236223201</Example> 1816 </Help> 1817 </Function> 1818 1819 <Function> 1820 <Name>GAMMALN</Name> 1821 <Type>Float</Type> 1822 <Parameter> 1823 <Comment>Number</Comment> 1824 <Type>Float</Type> 1825 </Parameter> 1826 <Help> 1827 <Text>The GAMMALN() function returns the natural logarithm of the gamma function: G(x). The number parameter must be positive.</Text> 1828 <Syntax>GAMMALN(Number)</Syntax> 1829 <Example>GAMMALN(2) returns 0</Example> 1830 </Help> 1831 </Function> 1832 1833 </Group> 1834 1835 </KSpreadFunctions>