How to find the parameters of a binomial distribution?

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)

This question is closed.

Asked:

on 31 Jan 2019

Closed:

on 31 Jan 2019

Community Treasure Hunt

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

Start Hunting!