summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/01/04060181.xhp
blob: 2dd591ea4b2b028e412ea97d0eab452ce3bd23bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textscalc0104060181xml" indexer="include">
    <title id="tit" xml-lang="en-US">Statistical Functions Part One</title>
    <filename>/text/scalc/01/04060181.xhp</filename>
  </topic>
</meta>

<body>


<h1 id="hd_id3146320"><variable id="ae"><link href="text/scalc/01/04060181.xhp">Statistical Functions Part One</link></variable></h1>
<sort order="asc">

<section id="intercept">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145632">
  <bookmark_value>INTERCEPT function</bookmark_value>
  <bookmark_value>points of intersection</bookmark_value>
  <bookmark_value>intersections</bookmark_value>
</bookmark>
<comment>mw added two entries</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ACHSENABSCHNITT" id="bm_id3153018" localize="false"/>

<h2 id="hd_id3145632">INTERCEPT</h2>
<paragraph id="par_id3146887" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ACHSENABSCHNITT">Calculates the point at which a line will intersect the y-values by using known x-values and y-values.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149718" role="code" xml-lang="en-US">INTERCEPT(DataY; DataX)</paragraph>
<paragraph id="par_id3149947" role="paragraph" xml-lang="en-US"><emph>DataY</emph> is the dependent set of observations or data.</paragraph>
<paragraph id="par_id3147412" role="paragraph" xml-lang="en-US"><emph>DataX</emph> is the independent set of observations or data.</paragraph>
<paragraph id="par_id3152983" role="paragraph" xml-lang="en-US">Names, arrays or references containing numbers must be used here. Numbers can also be entered directly.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3148728" role="paragraph" xml-lang="en-US">To calculate the intercept, use cells D3:D9 as the y value and C3:C9 as the x value from the example spreadsheet. Input will be as follows:</paragraph>
<paragraph id="par_id3149013" role="paragraph" xml-lang="en-US"><item type="input">=INTERCEPT(D3:D9;C3:C9)</item> = 2.15.</paragraph>
</section>

<section id="count">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148437">
  <bookmark_value>COUNT function</bookmark_value>
  <bookmark_value>numbers;counting</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ANZAHL" id="bm_id3153040" localize="false"/>

<h2 id="hd_id3148437"><variable id="count_head"><link href="text/scalc/01/04060181.xhp#count">COUNT</link></variable></h2>
<paragraph id="par_id3150700" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ANZAHL">Counts how many numbers are in the list of arguments.</ahelp> Text entries are ignored.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3148585" role="code" xml-lang="en-US">COUNT(<embedvar href="text/scalc/01/ful_func.xhp#number255_1" markup="keep"/>)</paragraph>
<embed href="text/scalc/01/ful_func.xhp#number255"/>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3149953" role="paragraph" xml-lang="en-US">The entries 2, 4, 6 and eight in the Value 1-4 fields are to be counted.</paragraph>
<paragraph id="par_id3154558" role="paragraph" xml-lang="en-US"><item type="input">=COUNT(2;4;6;"eight")</item> = 3. The count of numbers is therefore 3.</paragraph>
</section>

<section id="counta">
<bookmark xml-lang="en-US" branch="index" id="bm_id3149729">
  <bookmark_value>COUNTA function</bookmark_value>
  <bookmark_value>number of entries</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ANZAHL2" id="bm_id3148738" localize="false"/>

<h2 id="hd_id3149729"><variable id="counta_head"><link href="text/scalc/01/04060181.xhp#counta">COUNTA</link></variable></h2>
<paragraph id="par_id3150142" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ANZAHL2">Counts how many values are in the list of arguments.</ahelp> Text entries are also counted, even when they contain an empty string of length 0. If an argument is an array or reference, empty cells within the array or reference are ignored.<comment>UFI: fix to #i35888#</comment></paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3153111" role="code" xml-lang="en-US">COUNTA(<embedvar href="text/scalc/01/ful_func.xhp#number255_1" markup="keep"/>)</paragraph>
<embed href="text/scalc/01/ful_func.xhp#number255"/>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3154508" role="paragraph" xml-lang="en-US">The entries 2, 4, 6 and eight in the Value 1-4 fields are to be counted.</paragraph>
<paragraph id="par_id3158000" role="paragraph" xml-lang="en-US"><item type="input">=COUNTA(2;4;6;"eight")</item> = 4. The count of values is therefore 4.</paragraph>
</section>

<section id="countblank">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150896">
  <bookmark_value>COUNTBLANK function</bookmark_value>
  <bookmark_value>counting;empty cells</bookmark_value>
  <bookmark_value>empty cells;counting</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ANZAHLLEEREZELLEN" id="bm_id3149730" localize="false"/>

<h2 id="hd_id3150896"><variable id="countblank_head"><link href="text/scalc/01/04060181.xhp#countblank">COUNTBLANK</link></variable></h2>
<paragraph id="par_id3155260" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ANZAHLLEEREZELLEN">Returns the number of empty cells.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3153931" role="code" xml-lang="en-US">COUNTBLANK(Range)</paragraph>
<paragraph id="par_id3149512" role="paragraph" xml-lang="en-US">Returns the number of empty cells in the cell range <emph>Range</emph>.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3148586" role="paragraph" xml-lang="en-US"><item type="input">=COUNTBLANK(A1:B2)</item> returns 4 if cells A1, A2, B1, and B2 are all empty.</paragraph><comment>see also COUNTIF</comment>
</section>

<section id="countif">
<bookmark xml-lang="en-US" branch="index" id="bm_id3164897">
  <bookmark_value>COUNTIF function</bookmark_value>
  <bookmark_value>counting;specified cells</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZAEHLENWENN" id="bm_id3164909" localize="false"/>

<h2 id="hd_id3164897"><variable id="countif_head"><link href="text/scalc/01/04060181.xhp#countif">COUNTIF</link></variable></h2>
<paragraph id="par_id3164926" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ZAEHLENWENN">Returns the number of cells that meet with certain criteria within a cell range.</ahelp></paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3164967" role="code" xml-lang="en-US">COUNTIF(Range; Criteria)</paragraph>
<paragraph id="par_id3164980" role="paragraph" xml-lang="en-US"><emph>Range</emph> is the range to which the criteria are to be applied.</paragraph>
<paragraph id="par_id3165000" role="paragraph" xml-lang="en-US"><emph>Criteria</emph> indicates the criteria in the form of a number, an expression or a character string. These criteria determine which cells are counted.</paragraph>
<embed href="text/shared/00/00000001.xhp#regulaer"/>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3166505" role="paragraph" xml-lang="en-US">A1:A10 is a cell range containing the numbers <item type="input">2000</item> to <item type="input">2009</item>. Cell B1 contains the number <item type="input">2006</item>. In cell B2, you enter a formula:</paragraph>
<paragraph id="par_id3581652" role="paragraph" xml-lang="en-US"><item type="input">=COUNTIF(A1:A10;2006)</item> - this returns 1.</paragraph>
<paragraph id="par_id708639" role="paragraph" xml-lang="en-US"><item type="input">=COUNTIF(A1:A10;B1)</item> - this returns 1.</paragraph>
<paragraph id="par_id5169225" role="paragraph" xml-lang="en-US"><item type="input">=COUNTIF(A1:A10;"&gt;=2006")</item> - this returns 4.</paragraph>
<paragraph id="par_id2118594" role="paragraph" xml-lang="en-US"><item type="input">=COUNTIF(A1:A10;"&lt;"&amp;B1)</item> - when B1 contains <item type="input">2006</item>, this returns 6.</paragraph>
<paragraph id="par_id166020" role="paragraph" xml-lang="en-US"><item type="input">=COUNTIF(A1:A10;C2)</item> where cell C2 contains the text <item type="input">&gt;2006</item> counts the number of cells in the range A1:A10 which are &gt;2006.</paragraph>
<paragraph id="par_id6386913" role="paragraph" xml-lang="en-US">To count only negative numbers: <item type="input">=COUNTIF(A1:A10;"&lt;0")</item></paragraph>
</section>

<section id="countifs">

<h2 localize="false" id="hd_id224412044220134"><embedvar href="text/scalc/01/func_countifs.xhp#countifs_head"/></h2>
<paragraph id="par_id16399242326772" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/01/func_countifs.xhp#countifs_des"/></paragraph>
</section>

<section id="b">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150267">
  <bookmark_value>B function</bookmark_value>
  <bookmark_value>probabilities of samples with binomial distribution</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_B" id="bm_id3153044" localize="false"/>

<h2 id="hd_id3150267">B</h2>
<paragraph id="par_id3156061" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_B">Returns the probability of a sample with binomial distribution.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3148392" role="code" xml-lang="en-US">B(Trials; SP; T1 [; T2])</paragraph>
<paragraph id="par_id3149002" role="paragraph" xml-lang="en-US"><emph>Trials</emph> is the number of independent trials.</paragraph>
<paragraph id="par_id3148875" role="paragraph" xml-lang="en-US"><emph>SP</emph> is the probability of success on each trial.</paragraph>
<paragraph id="par_id3145352" role="paragraph" xml-lang="en-US"><emph>T1</emph> defines the lower limit for the number of trials.</paragraph>
<paragraph id="par_id3149538" role="paragraph" xml-lang="en-US"><emph>T2</emph> (optional) defines the upper limit for the number of trials.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3154633" role="paragraph" xml-lang="en-US">What is the probability with ten throws of the dice, that a six will come up exactly twice? The probability of a six (or any other number) is 1/6. The following formula combines these factors:</paragraph>
<paragraph id="par_id3149393" role="paragraph" xml-lang="en-US"><item type="input">=B(10;1/6;2)</item> returns a probability of 29%.</paragraph>
</section>

<section id="rsq">
<bookmark xml-lang="en-US" branch="index" id="bm_id3158416">
  <bookmark_value>RSQ function</bookmark_value>
  <bookmark_value>determination coefficients</bookmark_value>
  <bookmark_value>regression analysis</bookmark_value>
</bookmark>
<comment>mw added regression analysis</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BESTIMMTHEITSMASS" id="bm_id3153228" localize="false"/>

<h2 id="hd_id3158416">RSQ</h2>
<paragraph id="par_id3154949" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BESTIMMTHEITSMASS">Returns the square of the Pearson correlation coefficient based on the given values.</ahelp> RSQ (also called determination coefficient) is a measure for the accuracy of an adjustment and can be used to produce a regression analysis.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3155822" role="code" xml-lang="en-US">RSQ(DataY; DataX)</paragraph>
<paragraph id="par_id3150470" role="paragraph" xml-lang="en-US"><emph>DataY</emph> is an array or range of data points.</paragraph>
<paragraph id="par_id3153181" role="paragraph" xml-lang="en-US"><emph>DataX</emph> is an array or range of data points.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3155991" role="paragraph" xml-lang="en-US"><item type="input">=RSQ(A1:A20;B1:B20)</item> calculates the determination coefficient for both data sets in columns A and B.</paragraph>
</section>

<section id="betainv">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145620">
  <bookmark_value>BETAINV function</bookmark_value>
  <bookmark_value>cumulative probability density function;inverse of</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BETAINV" id="bm_id3146154" localize="false"/>

<h2 id="hd_id3145620">BETAINV</h2>
<paragraph id="par_id3149825" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BETAINV">Returns the inverse of the cumulative beta probability density function.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3156300" role="code" xml-lang="en-US">BETAINV(Number; Alpha; Beta [; Start [; End]])</paragraph>
<paragraph id="par_id3149266" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value between <emph>Start</emph> and <emph>End</emph> at which to evaluate the function.</paragraph>
<paragraph id="par_id3149710" role="paragraph" xml-lang="en-US"><emph>Alpha</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id3156306" role="paragraph" xml-lang="en-US"><emph>Beta</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id3150960" role="paragraph" xml-lang="en-US"><emph>Start</emph> (optional) is the lower bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_id3151268" role="paragraph" xml-lang="en-US"><emph>End</emph> (optional) is the upper bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_idN109DF" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3146859" role="paragraph" xml-lang="en-US"><item type="input">=BETAINV(0.5;5;10)</item> returns the value 0.33.</paragraph>
</section>

<section id="betadotinv">
<bookmark xml-lang="en-US" branch="index" id="bm_id2945620">
  <bookmark_value>BETA.INV function</bookmark_value>
  <bookmark_value>cumulative probability density function;inverse of</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BETAINV_MS" id="bm_id2946154" localize="false"/>

<h2 id="hd_id2945620">BETA.INV</h2>
<paragraph id="par_id2949825" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BETAINV_MS">Returns the inverse of the cumulative beta probability density function.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2956300" role="code" xml-lang="en-US">BETA.INV(Number; Alpha; Beta [; Start [; End]])</paragraph>
<paragraph id="par_id2949266" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value between <emph>Start</emph> and <emph>End</emph> at which to evaluate the function.</paragraph>
<paragraph id="par_id2949710" role="paragraph" xml-lang="en-US"><emph>Alpha</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id2956306" role="paragraph" xml-lang="en-US"><emph>Beta</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id2950960" role="paragraph" xml-lang="en-US"><emph>Start</emph> (optional) is the lower bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_id2951268" role="paragraph" xml-lang="en-US"><emph>End</emph> (optional) is the upper bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_idN109DFms" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2946859" role="paragraph" xml-lang="en-US"><item type="input">=BETA.INV(0.5;5;10)</item> returns the value 0.3257511553.</paragraph>
</section>

<section id="betadist">
<bookmark xml-lang="en-US" branch="index" id="bm_id3156096">
  <bookmark_value>BETADIST function</bookmark_value>
  <bookmark_value>cumulative probability density function;calculating</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BETAVERT" id="bm_id3153213" localize="false"/>

<h2 id="hd_id3156096">BETADIST</h2>
<paragraph id="par_id3150880" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BETAVERT">Returns the beta function.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3147571" role="code" xml-lang="en-US">BETADIST(Number; Alpha; Beta [; Start [; End [; Cumulative]]])</paragraph>
<paragraph id="par_id3156317" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value between <emph>Start</emph> and <emph>End</emph> at which to evaluate the function.</paragraph>
<paragraph id="par_id3156107" role="paragraph" xml-lang="en-US"><emph>Alpha</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id3153619" role="paragraph" xml-lang="en-US"><emph>Beta</emph> is a parameter to the distribution.</paragraph>
<paragraph id="par_id3150254" role="paragraph" xml-lang="en-US"><emph>Start</emph> (optional) is the lower bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_id3149138" role="paragraph" xml-lang="en-US"><emph>End</emph> (optional) is the upper bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_id012020091254453" role="paragraph" xml-lang="en-US"><emph>Cumulative</emph> (optional) can be 0 or False to calculate the probability density function. It can be any other value or True or omitted to calculate the cumulative distribution function.</paragraph>
<paragraph id="par_idN10AB3" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3156118" role="paragraph" xml-lang="en-US"><item type="input">=BETADIST(0.75;3;4)</item> returns the value 0.96.</paragraph>
</section>

<section id="betadotdist">
<bookmark xml-lang="en-US" branch="index" id="bm_id2956096">
  <bookmark_value>BETA.DIST function</bookmark_value>
  <bookmark_value>cumulative probability density function;calculating</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BETADIST_MS" id="bm_id2953213" localize="false"/>

<h2 id="hd_id2956096">BETA.DIST</h2>
<paragraph id="par_id2950880" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BETADIST_MS">Returns the beta function.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2947571" role="code" xml-lang="en-US">BETA.DIST(Number; Alpha; Beta; Cumulative [; Start [; End]])</paragraph>
<paragraph id="par_id2956317" role="paragraph" xml-lang="en-US"><emph>Number</emph> (required) is the value between <emph>Start</emph> and <emph>End</emph> at which to evaluate the function.</paragraph>
<paragraph id="par_id2956107" role="paragraph" xml-lang="en-US"><emph>Alpha</emph> (required) is a parameter to the distribution.</paragraph>
<paragraph id="par_id2953619" role="paragraph" xml-lang="en-US"><emph>Beta</emph> (required) is a parameter to the distribution.</paragraph>
<paragraph id="par_id062920141254453" role="paragraph" xml-lang="en-US"><emph>Cumulative</emph> (required) can be 0 or False to calculate the probability density function. It can be any other value or True to calculate the cumulative distribution function.</paragraph>
<paragraph id="par_id2950254" role="paragraph" xml-lang="en-US"><emph>Start</emph> (optional) is the lower bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_id2949138" role="paragraph" xml-lang="en-US"><emph>End</emph> (optional) is the upper bound for <emph>Number</emph>.</paragraph>
<paragraph id="par_idN10AB3ms" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2956118" role="paragraph" xml-lang="en-US"><item type="input">=BETA.DIST(2;8;10;1;1;3)</item> returns the value 0.6854706</paragraph>
<paragraph id="par_id2956119" role="paragraph" xml-lang="en-US"><item type="input">=BETA.DIST(2;8;10;0;1;3)</item> returns the value 1.4837646</paragraph>
</section>

<section id="binomdist">
<bookmark xml-lang="en-US" branch="index" id="bm_id3143228">
  <bookmark_value>BINOMDIST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BINOMVERT" id="bm_id3150146" localize="false"/>

<h2 id="hd_id3143228">BINOMDIST</h2>
<paragraph id="par_id3146897" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BINOMVERT">Returns the individual term binomial distribution probability.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3156009" role="code" xml-lang="en-US">BINOMDIST(X; Trials; SP; C)</paragraph>
<paragraph id="par_id3154304" role="paragraph" xml-lang="en-US"><emph>X</emph> is the number of successes in a set of trials.</paragraph>
<paragraph id="par_id3147492" role="paragraph" xml-lang="en-US"><emph>Trials</emph> is the number of independent trials.</paragraph>
<paragraph id="par_id3146085" role="paragraph" xml-lang="en-US"><emph>SP</emph> is the probability of success on each trial.</paragraph>
<paragraph id="par_id3149760" role="paragraph" xml-lang="en-US"><emph>C</emph> = 0 calculates the probability of a single event and <emph>C</emph> = 1 calculates the cumulative probability.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3145666" role="paragraph" xml-lang="en-US"><item type="input">=BINOMDIST(A1;12;0.5;0)</item> shows (if the values <item type="input">0</item> to <item type="input">12</item> are entered in A1) the probabilities for 12 flips of a coin that <emph>Heads</emph> will come up exactly the number of times entered in A1.</paragraph>
<paragraph id="par_id3150120" role="paragraph" xml-lang="en-US"><item type="input">=BINOMDIST(A1;12;0.5;1)</item> shows the cumulative probabilities for the same series. For example, if A1 = <item type="input">4</item>, the cumulative probability of the series is 0, 1, 2, 3 or 4 times <emph>Heads</emph> (non-exclusive OR).</paragraph>
</section>

<section id="binomdotdist">
<bookmark xml-lang="en-US" branch="index" id="bm_id2943228">
  <bookmark_value>BINOM.DIST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BINOM_DIST_MS" id="bm_id2950146" localize="false"/>

<h2 id="hd_id2943228">BINOM.DIST</h2>
<paragraph id="par_id2946897" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BINOM_DIST_MS">Returns the individual term binomial distribution probability.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2956009" role="code" xml-lang="en-US">BINOM.DIST(X; Trials; SP; C)</paragraph>
<paragraph id="par_id2954304" role="paragraph" xml-lang="en-US"><emph>X</emph> is the number of successes in a set of trials.</paragraph>
<paragraph id="par_id2947492" role="paragraph" xml-lang="en-US"><emph>Trials</emph> is the number of independent trials.</paragraph>
<paragraph id="par_id2946085" role="paragraph" xml-lang="en-US"><emph>SP</emph> is the probability of success on each trial.</paragraph>
<paragraph id="par_id299760" role="paragraph" xml-lang="en-US"><emph>C</emph> = 0 calculates the probability of a single event and <emph>C</emph> = 1 calculates the cumulative probability.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id295666" role="paragraph" xml-lang="en-US"><item type="input">=BINOM.DIST(A1;12;0.5;0)</item> shows (if the values <item type="input">0</item> to <item type="input">12</item> are entered in A1) the probabilities for 12 flips of a coin that <emph>Heads</emph> will come up exactly the number of times entered in A1.</paragraph>
<paragraph id="par_id290120" role="paragraph" xml-lang="en-US"><item type="input">=BINOM.DIST(A1;12;0.5;1)</item> shows the cumulative probabilities for the same series. For example, if A1 = <item type="input">4</item>, the cumulative probability of the series is 0, 1, 2, 3 or 4 times <emph>Heads</emph> (non-exclusive OR).</paragraph>
</section>

<section id="binomdotinv">
<bookmark xml-lang="en-US" branch="index" id="bm_id2843228">
  <bookmark_value>BINOM.INV function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BINOM_INV_MS" id="bm_id2850146" localize="false"/>

<h2 id="hd_id2843228">BINOM.INV</h2>
<paragraph id="par_id2846897" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_BINOM_INV_MS">Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2856009" role="code" xml-lang="en-US">BINOM.INV(Trials; SP; Alpha)</paragraph>
<paragraph id="par_id2847492" role="paragraph" xml-lang="en-US"><emph>Trials</emph> The total number of trials.</paragraph>
<paragraph id="par_id2846085" role="paragraph" xml-lang="en-US"><emph>SP</emph> is the probability of success on each trial.</paragraph>
<paragraph id="par_id289760" role="paragraph" xml-lang="en-US"><emph>Alpha</emph> The border probability that is attained or exceeded.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id285666" role="paragraph" xml-lang="en-US"><item type="input">=BINOM.INV(8;0.6;0.9)</item> returns 7, the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.</paragraph>
</section>

<section id="chisqinv">
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHISQINV" id="bm_id0119200902430717" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id0119200902432928">
  <bookmark_value>CHISQINV function</bookmark_value>
</bookmark>

<h2 id="hd_id0119200902421451">CHISQINV</h2>
<paragraph id="par_id0119200902421449" role="paragraph" xml-lang="en-US"><ahelp hid=".">Returns the inverse of CHISQDIST.</ahelp></paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id21585771564740" role="code" xml-lang="en-US">CHISQINV(Probability; Degrees of Freedom)</paragraph>
<paragraph id="par_id0119200902475286" role="paragraph" xml-lang="en-US"><emph>Probability</emph> is the probability value for which the inverse of the chi-square distribution is to be calculated.</paragraph>
<paragraph id="par_id0119200902475282" role="paragraph" xml-lang="en-US"><emph>Degrees Of Freedom</emph> is the degrees of freedom for the chi-square function.</paragraph>
</section>

<section id="chisqdotinv">
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHISQINV_MS" id="bm_id2919200902430717" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id2919200902432928">
  <bookmark_value>CHISQ.INV function</bookmark_value>
</bookmark>


<h2 id="hd_id2919200902421451">CHISQ.INV</h2>
<paragraph id="par_id2919200902421449" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHISQINV_MS">Returns the inverse of the left-tailed probability of the chi-square distribution.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id1150504" role="code" xml-lang="en-US">CHISQ.INV(Probability; DegreesFreedom)</paragraph>
<paragraph id="par_id2919200902475286" role="paragraph" xml-lang="en-US"><emph>Probability</emph> is the probability value for which the inverse of the chi-square distribution is to be calculated.</paragraph>
<paragraph id="par_id2919200902475282" role="paragraph" xml-lang="en-US"><emph>Degrees Of Freedom</emph> is the degrees of freedom for the chi-square function.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id275666" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.INV(0,5;1)</item> returns 0.4549364231.</paragraph>
</section>

<section id="chiinv">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148835">
  <bookmark_value>CHIINV function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHIINV" id="bm_id3148823" localize="false"/>

<h2 id="hd_id3148835">CHIINV</h2>
<paragraph id="par_id3149906" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHIINV">Returns the inverse of the one-tailed probability of the chi-squared distribution.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3150504" role="code" xml-lang="en-US">CHIINV(Number; DegreesFreedom)</paragraph>
<paragraph id="par_id3154898" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value of the error probability.</paragraph>
<paragraph id="par_id3154294" role="paragraph" xml-lang="en-US"><emph>DegreesFreedom</emph> is the degrees of freedom of the experiment.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3150777" role="paragraph" xml-lang="en-US">A die is thrown 1020 times. The numbers on the die 1 through 6 come up 195, 151, 148, 189, 183 and 154 times (observation values). The hypothesis that the die is not fixed is to be tested.</paragraph>
<paragraph id="par_id3153062" role="paragraph" xml-lang="en-US">The Chi square distribution of the random sample is determined by the formula given above. Since the expected value for a given number on the die for n throws is n times 1/6, thus 1020/6 = 170, the formula returns a Chi square value of 13.27.</paragraph>
<paragraph id="par_id3148806" role="paragraph" xml-lang="en-US">If the (observed) Chi square is greater than or equal to the (theoretical) Chi square CHIINV, the hypothesis will be discarded, since the deviation between theory and experiment is too great. If the observed Chi square is less that CHIINV, the hypothesis is confirmed with the indicated probability of error.</paragraph>
<paragraph id="par_id3149763" role="paragraph" xml-lang="en-US"><item type="input">=CHIINV(0.05;5)</item> returns 11.07.</paragraph>
<paragraph id="par_id3159142" role="paragraph" xml-lang="en-US"><item type="input">=CHIINV(0.02;5)</item> returns 13.39.</paragraph>
<paragraph id="par_id3158401" role="paragraph" xml-lang="en-US">If the probability of error is 5%, the die is not true. If the probability of error is 2%, there is no reason to believe it is fixed.</paragraph>
</section>

<section id="chisqdotinvdotrt">
<bookmark xml-lang="en-US" branch="index" id="bm_id2948835">
  <bookmark_value>CHISQ.INV.RT function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHIINV_MS" id="bm_id2948823" localize="false"/>

<h2 id="hd_id2948835">CHISQ.INV.RT</h2>
<paragraph id="par_id2949906" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHIINV_MS">Returns the inverse of the one-tailed probability of the chi-squared distribution.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2950504" role="code" xml-lang="en-US">CHISQ.INV.RT(Number; DegreesFreedom)</paragraph>
<paragraph id="par_id2954898" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value of the error probability.</paragraph>
<paragraph id="par_id2954294" role="paragraph" xml-lang="en-US"><emph>DegreesFreedom</emph> is the degrees of freedom of the experiment.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2950777" role="paragraph" xml-lang="en-US">A die is thrown 1020 times. The numbers on the die 1 through 6 come up 195, 151, 148, 189, 183 and 154 times (observation values). The hypothesis that the die is not fixed is to be tested.</paragraph>
<paragraph id="par_id2953062" role="paragraph" xml-lang="en-US">The Chi square distribution of the random sample is determined by the formula given above. Since the expected value for a given number on the die for n throws is n times 1/6, thus 1020/6 = 170, the formula returns a Chi square value of 13.27.</paragraph>
<paragraph id="par_id2948806" role="paragraph" xml-lang="en-US">If the (observed) Chi square is greater than or equal to the (theoretical) Chi square CHIINV, the hypothesis will be discarded, since the deviation between theory and experiment is too great. If the observed Chi square is less that CHIINV, the hypothesis is confirmed with the indicated probability of error.</paragraph>
<paragraph id="par_id2949763" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.INV.RT(0.05;5)</item> returns 11.0704976935.</paragraph>
<paragraph id="par_id2959142" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.INV.RT(0.02;5)</item> returns 13.388222599.</paragraph>
<paragraph id="par_id2958401" role="paragraph" xml-lang="en-US">If the probability of error is 5%, the die is not true. If the probability of error is 2%, there is no reason to believe it is fixed.</paragraph>
</section>

<section id="chitest">
<bookmark xml-lang="en-US" branch="index" id="bm_id3154260">
  <bookmark_value>CHITEST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHITEST" id="bm_id3155355" localize="false"/>

<h2 id="hd_id3154260">CHITEST</h2>
<paragraph id="par_id3151052" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHITEST">Returns the probability of a deviance from a random distribution of two test series based on the chi-squared test for independence.</ahelp> CHITEST returns the chi-squared distribution of the data.</paragraph>
<paragraph id="par_id3148925" role="paragraph" xml-lang="en-US">The probability determined by CHITEST can also be determined with CHIDIST, in which case the Chi square of the random sample must then be passed as a parameter instead of the data row.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149162" role="code" xml-lang="en-US">CHITEST(DataB; DataE)</paragraph>
<paragraph id="par_id3158421" role="paragraph" xml-lang="en-US"><emph>DataB</emph> is the array of the observations.</paragraph>
<paragraph id="par_id3166453" role="paragraph" xml-lang="en-US"><emph>DataE</emph> is the range of the expected values.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>

<table id="tbl_id3153233">
  <tablerow>
    <tablecell>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3154096" role="paragraph" xml-lang="en-US">Data_B (observed)</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3152948" role="paragraph" xml-lang="en-US">Data_E (expected)</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3152876" role="paragraph" xml-lang="en-US">1</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3159279" role="paragraph" xml-lang="en-US"><item type="input">195</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149105" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3149922" role="paragraph" xml-lang="en-US">2</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148621" role="paragraph" xml-lang="en-US"><item type="input">151</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148987" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3149417" role="paragraph" xml-lang="en-US">3</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148661" role="paragraph" xml-lang="en-US"><item type="input">148</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3151128" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3148467" role="paragraph" xml-lang="en-US">4</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149237" role="paragraph" xml-lang="en-US"><item type="input">189</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3145304" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3149927" role="paragraph" xml-lang="en-US">5</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3150630" role="paragraph" xml-lang="en-US"><item type="input">183</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3150423" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3143275" role="paragraph" xml-lang="en-US">6</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3144750" role="paragraph" xml-lang="en-US"><item type="input">154</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3153947" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
</table>

<paragraph id="par_id3149481" role="paragraph" xml-lang="en-US"><item type="input">=CHITEST(A1:A6;B1:B6)</item> equals 0.02. This is the probability which suffices the observed data of the theoretical Chi-square distribution.</paragraph>
</section>

<section id="chidottest">
<bookmark xml-lang="en-US" branch="index" id="bm_id2954260">
  <bookmark_value>CHISQ.TEST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHITEST_MS" id="bm_id2955355" localize="false"/>

<h2 id="hd_id2954260">CHISQ.TEST</h2>
<paragraph id="par_id2951052" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHITEST_MS">Returns the probability of a deviance from a random distribution of two test series based on the chi-squared test for independence.</ahelp> CHISQ.TEST returns the chi-squared distribution of the data.</paragraph>
<paragraph id="par_id2948925" role="paragraph" xml-lang="en-US">The probability determined by CHISQ.TEST can also be determined with CHISQ.DIST, in which case the Chi square of the random sample must then be passed as a parameter instead of the data row.</paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2949162" role="code" xml-lang="en-US">CHISQ.TEST(DataB; DataE)</paragraph>
<paragraph id="par_id2958421" role="paragraph" xml-lang="en-US"><emph>DataB</emph> is the array of the observations.</paragraph>
<paragraph id="par_id2966453" role="paragraph" xml-lang="en-US"><emph>DataE</emph> is the range of the expected values.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>

<table id="tbl_id2953233">
  <tablerow>
    <tablecell>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2954096" role="paragraph" xml-lang="en-US">Data_B (observed)</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2952948" role="paragraph" xml-lang="en-US">Data_E (expected)</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2952876" role="paragraph" xml-lang="en-US">1</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2959279" role="paragraph" xml-lang="en-US"><item type="input">195</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2949105" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2949922" role="paragraph" xml-lang="en-US">2</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2948621" role="paragraph" xml-lang="en-US"><item type="input">151</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2948987" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2949417" role="paragraph" xml-lang="en-US">3</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2948661" role="paragraph" xml-lang="en-US"><item type="input">148</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2951128" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2948467" role="paragraph" xml-lang="en-US">4</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2949237" role="paragraph" xml-lang="en-US"><item type="input">189</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2945304" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2949927" role="paragraph" xml-lang="en-US">5</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2950630" role="paragraph" xml-lang="en-US"><item type="input">183</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2950423" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id2943275" role="paragraph" xml-lang="en-US">6</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2944750" role="paragraph" xml-lang="en-US"><item type="input">154</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id2953947" role="paragraph" xml-lang="en-US"><item type="input">170</item></paragraph>
    </tablecell>
  </tablerow>
</table>

<paragraph id="par_id2949481" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.TEST(A1:A6;B1:B6)</item> equals 0.0209708029. This is the probability which suffices the observed data of the theoretical Chi-square distribution.</paragraph>
</section>

<section id="chidist">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148690">
  <bookmark_value>CHIDIST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHIVERT" id="bm_id3147521" localize="false"/>

<h2 id="hd_id3148690">CHIDIST</h2>
<paragraph id="par_id3156338" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHIVERT">Returns the probability value from the indicated Chi square that a hypothesis is confirmed.</ahelp> 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.</paragraph>
<paragraph id="par_id3151316" role="paragraph" xml-lang="en-US">The probability determined by CHIDIST can also be determined by CHITEST.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3158439" role="code" xml-lang="en-US">CHIDIST(Number; DegreesFreedom)</paragraph>
<paragraph id="par_id3148675" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the chi-square value of the random sample used to determine the error probability.</paragraph>
<paragraph id="par_id3155615" role="paragraph" xml-lang="en-US"><emph>DegreesFreedom</emph> are the degrees of freedom of the experiment.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3145774" role="paragraph" xml-lang="en-US"><item type="input">=CHIDIST(13.27; 5)</item> equals 0.02.</paragraph>
<paragraph id="par_id3156141" role="paragraph" xml-lang="en-US">If the Chi square value of the random sample is 13.27 and if the experiment has 5 degrees of freedom, then the hypothesis is assured with a probability of error of 2%.</paragraph>
</section>

<section id="chisqdotdist">
<bookmark xml-lang="en-US" branch="index" id="bm_id2848690">
  <bookmark_value>CHISQ.DIST function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHISQDIST_MS" id="bm_id2947521" localize="false"/>

<h2 id="hd_id2848690">CHISQ.DIST</h2>
<paragraph id="par_id2856338" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHISQDIST_MS">Returns the probability density function or the cumulative distribution function for the chi-square distribution.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2858439" role="code" xml-lang="en-US">CHISQ.DIST(Number; DegreesFreedom; Cumulative)</paragraph>
<paragraph id="par_id2848675" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the chi-square value of the random sample used to determine the error probability.</paragraph>
<paragraph id="par_id2855615" role="paragraph" xml-lang="en-US"><emph>DegreesFreedom</emph> are the degrees of freedom of the experiment.</paragraph>
<paragraph id="par_id282020091254453" role="paragraph" xml-lang="en-US"><emph>Cumulative</emph> can be 0 or False to calculate the probability density function. It can be any other value or True to calculate the cumulative distribution function.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2845774" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.DIST(3; 2; 0) </item>equals 0.1115650801, the probability density function with 2 degrees of freedom, at x = 3.</paragraph>
<paragraph id="par_id2745774" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.DIST(3; 2; 1) </item>equals 0.7768698399, the cumulative chi-square distribution with 2 degrees of freedom, at the value x = 3.</paragraph>
</section>

<section id="chisqdotdistdotrt">
<bookmark xml-lang="en-US" branch="index" id="bm_id2948690">
  <bookmark_value>CHISQ.DIST.RT function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHIVERT_MS" id="bm_id2947522" localize="false"/>

<h2 id="hd_id2948690">CHISQ.DIST.RT</h2>
<paragraph id="par_id2956338" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_CHIVERT_MS">Returns the probability value from the indicated Chi square that a hypothesis is confirmed.</ahelp> CHISQ.DIST.RT 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.</paragraph>
<paragraph id="par_id2951316" role="paragraph" xml-lang="en-US">The probability determined by CHISQ.DIST.RT can also be determined by CHITEST.</paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2958439" role="code" xml-lang="en-US">CHISQ.DIST.RT(Number; DegreesFreedom)</paragraph>
<paragraph id="par_id2948675" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the chi-square value of the random sample used to determine the error probability.</paragraph>
<paragraph id="par_id2955615" role="paragraph" xml-lang="en-US"><emph>DegreesFreedom</emph> are the degrees of freedom of the experiment.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2945774" role="paragraph" xml-lang="en-US"><item type="input">=CHISQ.DIST.RT(13.27; 5)</item> equals 0.0209757694.</paragraph>
<paragraph id="par_id2956141" role="paragraph" xml-lang="en-US">If the Chi square value of the random sample is 13.27 and if the experiment has 5 degrees of freedom, then the hypothesis is assured with a probability of error of 2%.</paragraph>
</section>

<section id="chisqdist">
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CHISQDIST" id="bm_id0119200902213671" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id0119200902231887">
  <bookmark_value>CHISQDIST function</bookmark_value>
  <bookmark_value>chi-square distribution</bookmark_value>
</bookmark>


<h2 id="hd_id0119200901583452">CHISQDIST</h2>
<paragraph id="par_id0119200901583471" role="paragraph" xml-lang="en-US"><ahelp hid=".">Returns the value of the probability density function or the cumulative distribution function for the chi-square distribution.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id0119200902395679" role="code" xml-lang="en-US">CHISQDIST(Number; Degrees Of Freedom [; Cumulative])</paragraph>
<paragraph id="par_id011920090239564" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the number for which the function is to be calculated.</paragraph>
<paragraph id="par_id0119200902395660" role="paragraph" xml-lang="en-US"><emph>Degrees Of Freedom</emph> is the degrees of freedom for the chi-square function.</paragraph>
<paragraph id="par_id0119200902395623" role="paragraph" xml-lang="en-US"><emph>Cumulative</emph> (optional): 0 or False calculates the probability density function. Other values or True or omitted calculates the cumulative distribution function.</paragraph>
</section>

<section id="expondist">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150603">
  <bookmark_value>EXPONDIST function</bookmark_value>
  <bookmark_value>exponential distributions</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EXPONVERT" id="bm_id3152962" localize="false"/>

<h2 id="hd_id3150603">EXPONDIST</h2>
<paragraph id="par_id3149563" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_EXPONVERT">Returns the exponential distribution.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3150987" role="code" xml-lang="en-US">EXPONDIST(Number; Lambda; C)</paragraph>
<paragraph id="par_id3154663" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value of the function.</paragraph>
<paragraph id="par_id3154569" role="paragraph" xml-lang="en-US"><emph>Lambda</emph> is the parameter value.</paragraph><comment>UFI removed a double bookmark</comment>
<paragraph id="par_id3147332" role="paragraph" xml-lang="en-US"><emph>C</emph> is a logical value that determines the form of the function. <emph>C = 0</emph> calculates the density function, and <emph>C = 1</emph> calculates the distribution.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3150357" role="paragraph" xml-lang="en-US"><item type="input">=EXPONDIST(3;0.5;1)</item> returns 0.78.</paragraph>
</section>

<section id="expondotdist">
<bookmark xml-lang="en-US" branch="index" id="bm_id2950603">
  <bookmark_value>EXPON.DIST function</bookmark_value>
  <bookmark_value>exponential distributions</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EXP_DIST_MS" id="bm_id2952962" localize="false"/>

<h2 id="hd_id2950603">EXPON.DIST</h2>
<paragraph id="par_id2949563" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_EXP_DIST_MS">Returns the exponential distribution.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#4.2"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id2950987" role="code" xml-lang="en-US">EXPON.DIST(Number; Lambda; C)</paragraph>
<paragraph id="par_id2954663" role="paragraph" xml-lang="en-US"><emph>Number</emph> is the value of the function.</paragraph>
<paragraph id="par_id2954569" role="paragraph" xml-lang="en-US"><emph>Lambda</emph> is the parameter value.</paragraph><comment>UFI removed a double bookmark</comment>
<paragraph id="par_id2947332" role="paragraph" xml-lang="en-US"><emph>C</emph> is a logical value that determines the form of the function. <emph>C = 0</emph> calculates the density function, and <emph>C = 1</emph> calculates the distribution.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id2950357" role="paragraph" xml-lang="en-US"><item type="input">=EXPON.DIST(3;0.5;1)</item> returns 0.7768698399.</paragraph>
</section>
</sort>

<section id="relatedtopics">
<embed href="text/scalc/01/04060100.xhp#drking"/>
</section>
</body>

</helpdocument>