Difference between revisions of "Documentation/How Tos/Calc: BINOMDIST function"
From Apache OpenOffice Wiki
< Documentation | How Tos
Javier Lopez (talk | contribs) |
Javier Lopez (talk | contribs) |
||
Line 3: | Line 3: | ||
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | |booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | ||
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Statistical_functions|<div style="font-size: 140%;">Statistical Functions]] | |ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Statistical_functions|<div style="font-size: 140%;">Statistical Functions]] | ||
− | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc: | + | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_CHIDIST_function |
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_BETAINV_function | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_BETAINV_function | ||
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Spreadsheet_functions | |ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Spreadsheet_functions |
Revision as of 23:08, 1 June 2013
CALC FUNCTIONS
Measures of Central Tendency
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Array Function 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.