Is it possible to calculate the tail probablitlies of the chi-square distribution in MATLAB 7.11 (R2010b)?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to compute 1-chi2cdf(x,d) and the tail probability of a chi-square PDF. The function CHI2CDF cancels its value when its value is close to 1. In many cases I would like to have this value as I desire to set a threshold that is less than eps, machine epsilon.
댓글 수: 0
답변 (1개)
Michael
2011년 1월 18일
You can get the upper tail probablities for the chi-square distribution uisng the code below:
chi2pval = @(x,nu) gammainc(x/2,v/2,'upper');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Hypothesis Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!