Difference between revisions of "Documentation/How Tos/Calc: BINOMDIST function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:BINOMDIST function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_BETAINV_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_CHIDIST_function | ||
+ | }}__NOTOC__ | ||
== BINOMDIST == | == BINOMDIST == | ||
Line 11: | Line 16: | ||
:: up to (and including) <tt>'''k'''</tt> if <tt>'''mode'''</tt> is <tt>'''1'''</tt>. | :: up to (and including) <tt>'''k'''</tt> if <tt>'''mode'''</tt> is <tt>'''1'''</tt>. | ||
− | : <tt>'''BINOMDIST(k; n; p; 0)'''</tt> is equivalent to <tt>'''B(n; p; k)'''</tt>; <tt>'''BINOMDIST(k; n; p; 1)'''</tt> is equivalent to <tt>'''B(n; p; 0; k)'''</tt>. | + | : In other words, <tt>'''BINOMDIST'''</tt> returns the probability mass function if <tt>'''mode'''</tt> is <tt>'''0'''</tt>, and the cumulative probability function if <tt>'''mode'''</tt> is <tt>'''1'''</tt>. |
+ | |||
+ | : <tt>'''BINOMDIST(k; n; p; 0)'''</tt> is equivalent to <tt>'''B(n; p; k)'''</tt>; <tt>'''BINOMDIST(k; n; p; 1)'''</tt> is equivalent to <tt>'''B(n; p; 0; k)'''</tt>. See * [[Documentation/How_Tos/Calc: B function|B]] for more details. | ||
=== Example: === | === Example: === | ||
Line 20: | Line 27: | ||
: returns approximately 0.07 (7%), the probability that heads will come up 0, 1, 2 or 3 times in 12 flips of a coin. | : returns approximately 0.07 (7%), the probability that heads will come up 0, 1, 2 or 3 times in 12 flips of a coin. | ||
− | + | {{SeeAlso|EN| | |
− | [[Documentation/How_Tos/Calc: B function| | + | * [[Documentation/How_Tos/Calc: B function|B]] |
+ | |||
+ | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] | ||
− | [[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:40, 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
BINOMDIST
Calculates probabilities for a binomial distribution.
Syntax:
BINOMDIST(k; n; p; mode)
- With n independent trials, each with a probability p of success, BINOMDIST returns the probability that the number of successes will be
- exactly k if mode is 0.
- up to (and including) k if mode is 1.
- In other words, BINOMDIST returns the probability mass function if mode is 0, and the cumulative probability function if mode is 1.
- BINOMDIST(k; n; p; 0) is equivalent to B(n; p; k); BINOMDIST(k; n; p; 1) is equivalent to B(n; p; 0; k). See * B for more details.
Example:
BINOMDIST(3; 12; 0.5; 0)
- returns approximately 0.05 (5%), the probability that heads will come up exactly 3 times in 12 flips of a coin.
BINOMDIST(3; 12; 0.5; 1)
- returns approximately 0.07 (7%), the probability that heads will come up 0, 1, 2 or 3 times in 12 flips of a coin.
See Also