| New Reply |
Binomial Distribution: Find p, given CDF |
Share Thread | Thread Tools |
| May17-12, 09:16 AM | #1 |
|
|
Binomial Distribution: Find p, given CDF
I have a question about binomial distribution
There is a random var X follows Binomial distribution ~B(n,p), where n is known but p is UNKNOWN. It is also known that a for known value of x, CDF(x) = Pr(X<=x) = 0.9 Is there anyway to estimate p? To give a concrete example, if n=8, CDF(5) = 0.9, can I find p? |
| May17-12, 09:31 AM | #2 |
|
|
Hi arup,
The CDF for the binomial would be [tex] P(X≤x)=\sum_{k=0}^x {n\choose k}p^k(1-p)^{n-k}[/tex] so in your example you would have [tex] 0.9=\sum_{k=0}^5 {8\choose k}p^k(1-p)^{8-k}[/tex] which is a simple equation with p as unknown variable. So yeah, you can find p.
|
| May17-12, 11:08 AM | #3 |
|
|
Thanks for the reply.
But from the equation [tex] P(X≤x)=0.9 =\sum_{k=0}^x {n\choose k}p^k(1-p)^{n-k}[/tex] how do I solve for p? i.e., how do I express p as a function of (0.9,x,n)? I am not sure how to do that using algebraic manipulation? |
| May17-12, 03:30 PM | #4 |
|
Recognitions:
|
Binomial Distribution: Find p, given CDF |
| May17-12, 03:55 PM | #5 |
|
|
I see. Thank you.
I am not familiar with numerical techniques to solve polynomial f(x) A quick look at wikipedia/wolfram shows that there are many different root finding algorithms. Can anybody suggest what method should be used to solve the equation I noted earlier? and what tool should I use to solve this? |
| May17-12, 04:02 PM | #6 |
|
|
|
| May17-12, 04:11 PM | #7 |
|
|
My area of research is reliability of computer architecture.
The problem that I am trying to solve is the following: There is a data array consisting of n elements. Each of n elements can fail independently with probability p. The entire data array will fail if there are more than k failures (k < n). Now I know probability of data array failure. i.e., Prob{less than/equal to k failures} = 0.9. I also known n (typical value may be 8). How can I find out p? |
| May17-12, 04:53 PM | #8 |
|
|
I see, well, in this case probably you want to use some symbolic math package so that you can get simplified expressions for your particular problem, for example using Maxima for your problem with data n=8, and F(5)=0.9 the equation you need to solve is [tex] 1 = 210 p^8-480 p^7+280 p^6 [/tex] and solving it with Maxima you have [itex] p = 0.46178460348232 [/itex]
for more information about Maxima you can visit http://maxima.sourceforge.net/docs/t...n/Contents.htm Actually there are many many different ways to calculate p but since you're into computing you might also want to implement yourself the algorithm to calculate p, if this is the case I would recommend Newton's Method for your problem http://en.wikipedia.org/wiki/Newton%27s_method |
| May17-12, 04:56 PM | #9 |
|
|
Thanks! Appreciate it.
|
| May17-12, 05:04 PM | #10 |
|
|
|
| May22-12, 12:05 PM | #11 |
|
|
How do I use Maxima to solve the equation above?
This is what I get from Maxima: (%i25) solve(1=210*p^8 - 480*p^7 + 280*p^6,p); 8 7 6 (%o25) [0 = 210 p - 480 p + 280 p - 1] how do I get value of p? |
| May22-12, 12:29 PM | #12 |
|
|
In this case you need some numerical method like newton or other similar to this one. Look for numerical methods in Maxima, also a very handy command in Maxima is describe(command). Good Luck!
|
| New Reply |
| Tags |
| binomial ditribution, probability |
| Thread Tools | |
Similar Threads for: Binomial Distribution: Find p, given CDF
|
||||
| Thread | Forum | Replies | ||
| Casio fx-9860G - calculating binomial coefficients and binomial distribution | General Math | 3 | ||
| by using binomial distribution if two coin are tossed 4 times ,find? | Precalculus Mathematics Homework | 7 | ||
| Relationship binomial distribution and central limit theorem + poission distribution | Set Theory, Logic, Probability, Statistics | 1 | ||
| How is the negative binomial the inverse of the binomial distribution? | Set Theory, Logic, Probability, Statistics | 1 | ||