| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''GAMMAINV(prob,alpha,beta)'''</div><br/> | + | <div style="font-size:30px">'''GAMMAINV (probability,alpha,beta,accuracy,somenumberofiterations)'''</div><br/> |
| − | *<math>prob</math> is the probability value associated with gamma distribution | + | *<math>probability</math> is the probability value associated with gamma distribution |
| − | *<math>alpha(\alpha)</math> & <math>beta(\beta)</math> are the values of the shape and rate parameters | + | *<math>alpha(\alpha)</math> & <math>beta(\beta)</math> are the values of the shape and rate parameters. |
| | + | *<math> accuracy </math> and <math> somenumberofiterations </math> are any positive integers. |
| | + | |
| | ==Description== | | ==Description== |
| | *This function gives the inverse value of Cumulative Gamma Probability Distribution. | | *This function gives the inverse value of Cumulative Gamma Probability Distribution. |
| | *This distribution is the Continuous Probability Distribution on the positive real line and it is of the reciprocal of a variable distributed according to the gamma distribution with two parameters <math>\alpha</math> & <math>\beta</math>. | | *This distribution is the Continuous Probability Distribution on the positive real line and it is of the reciprocal of a variable distributed according to the gamma distribution with two parameters <math>\alpha</math> & <math>\beta</math>. |
| | *It is used in Bayesian statistics. | | *It is used in Bayesian statistics. |
| − | *In <math>GAMMAINV(prob,alpha,beta)</math> , <math>prob</math> is the probability value associated with Gamma Distribution,<math>alpha</math> is called shape parameter and <math>beta</math> is the rate parameter of the distribution. | + | *In <math>GAMMAINV (probability,alpha,beta,accuracy,somenumberofiterations)</math> , <math> probability </math> is the probability value associated with Gamma Distribution,<math>alpha</math> is called shape parameter and <math>beta</math> is the rate parameter of the distribution. |
| − | *If <math>GAMMADIST(x,alpha,beta,TRUE)=prob</math>, then <math>GAMMAINV(prob,alpha,beta)= x</math>. | + | *If <math>GAMMADIST (x,alpha,beta,cumulative,accuracy)=prob</math>, then <math>GAMMAINV (probability,alpha,beta,accuracy,somenumberofiterations)= x</math>. |
| | *GAMMAINV use the iterating method to find the value of <math>x</math>. | | *GAMMAINV use the iterating method to find the value of <math>x</math>. |
| | *Suppose the iteration has not converged after 100 searches, then the function gives the error result. | | *Suppose the iteration has not converged after 100 searches, then the function gives the error result. |