How to find parameters of binomial distribution?
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all,
What code can I use in matlab to find the parameters of a binomial distribution? This question is very big. So I am restricting it to a specific situation.
X is binomiallly distributed with parameter n and fraction p. The parameter p is unknown.
What function in matlab can help me to find that parameter if for example it is known that X=randi(10,20,1); P(X<=4)=0.3?
Thank you in advance.
댓글 수: 0
채택된 답변
Star Strider
2019년 1월 31일
If you have the Statsitics and Machine Learning Toolbox, see if the binofit (link) function will do what you want.
댓글 수: 15
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!