Info

This question is closed. Reopen it to edit or answer.

How to find the parameters of a binomial distribution?

1 view (last 30 days)
Dear all,
X is the number of sucesses and is binomiallly distributed with parameter n=20 and fraction p. The fraction p is unknown.
Given:
n=20;
X=randi(10,n,1);
P(X<=4)=0.3
Find p.
What code can I use in matlab to find p?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!