| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''NEGBINOMDIST(nf,ns,ps)'''</div><br/> | + | <div style="font-size:30px">'''NEGBINOMDIST(x,r,p)'''</div><br/> |
| − | *<math>nf</math> is the number of failures. | + | *<math>x</math> is the number of failures. |
| − | *<math>ns</math> is the number of successes on an individual trial | + | *<math>r</math> is the number of successes on an individual trial |
| − | *<math>ps</math> is the probability of a success. | + | *<math>p</math> is the probability of a success. |
| | + | |
| | ==Description== | | ==Description== |
| | *This function gives the Negative Binomial Distribution. | | *This function gives the Negative Binomial Distribution. |
| Line 24: |
Line 25: |
| | #If <math>ps<0</math> or <math>ps>1</math> | | #If <math>ps<0</math> or <math>ps>1</math> |
| | #If <math>nf<0</math> or <math>ns<1</math> | | #If <math>nf<0</math> or <math>ns<1</math> |
| | + | |
| | + | ==ZOS Section== |
| | + | *The syntax is to calculate NEGBINOMDIST in ZOS is <math>NEGBINOMDIST(x,r,p)</math>. |
| | + | **where *<math>x</math> is the number of failures. |
| | + | **<math>r</math> is the number of successes on an individual trial |
| | + | **<math>p</math> is the probability of a success. |
| | + | *For e.g.,NEGBINOMDIST(8..9,5..7,0.5). |
| | | | |
| | ==Examples== | | ==Examples== |