Difference between revisions of "Documentation/How Tos/Calc: B function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:B function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_VARPA_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_BETADIST_function | ||
+ | }}__NOTOC__ | ||
== B == | == B == | ||
− | + | Calculates probabilities for a binomial distribution. | |
=== Syntax: === | === Syntax: === | ||
− | <tt>'''B(n; p; | + | <tt>'''B(n; p; k; k2)'''</tt> |
− | : With <tt>'''n'''</tt> independent trials, each with a probability <tt>'''p'''</tt> of success, <tt>'''B'''</tt> returns the probability that the number of successes will be between <tt>''' | + | : With <tt>'''n'''</tt> independent trials, each with a probability <tt>'''p'''</tt> of success, <tt>'''B'''</tt> returns the probability that the number of successes will be between <tt>'''k'''</tt> and <tt>'''k2'''</tt> inclusive, or if <tt>'''k2'''</tt> is omitted the probability that the number of successes will be exactly <tt>'''k'''</tt>. |
+ | |||
+ | : The probability is calculated as: | ||
+ | :: [[Image:Calc_b_equation.png]] (where <tt>'''k2'''</tt> = <tt>'''k'''</tt> if <tt>'''k2'''</tt> is omitted). | ||
=== Example: === | === Example: === | ||
<tt>'''B(10; 1/6; 2) '''</tt> | <tt>'''B(10; 1/6; 2) '''</tt> | ||
− | : returns approximately 29%, the probability that the number four will be thrown exactly twice in 10 throws of a die. | + | : returns approximately 0.29 (29%), the probability that the number four will be thrown exactly twice in 10 throws of a die. |
+ | |||
+ | === Issues: === | ||
+ | * Excel does not have this function. | ||
+ | |||
+ | |||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: BINOMDIST function|BINOMDIST]] | ||
− | + | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] | |
− | [[Documentation/How_Tos/Calc: | ||
− | [[Documentation/How_Tos/Calc: | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Statistical functions]] |
Latest revision as of 13:37, 2 February 2024
Spreadsheet Lookup functions
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Arrays Functions category); GROWTH, LINEST, LOGEST, TREND
Ranking
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
B
Calculates probabilities for a binomial distribution.
Syntax:
B(n; p; k; k2)
- With n independent trials, each with a probability p of success, B returns the probability that the number of successes will be between k and k2 inclusive, or if k2 is omitted the probability that the number of successes will be exactly k.
Example:
B(10; 1/6; 2)
- returns approximately 0.29 (29%), the probability that the number four will be thrown exactly twice in 10 throws of a die.
Issues:
- Excel does not have this function.
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}