How to find P value in chi2inv

조회 수: 1 (최근 30일)
Madania Nia
Madania Nia 2020년 6월 2일
답변: Jeff Miller 2020년 6월 2일
i have a trouble to find the P value of this function. I already have the result of the chi-square as seen below, but i dont know how to find the P value
chi2inv(P,2)=3.7920
can anyone give me the solution to find the P value with Matlab?? Thank You

답변 (1개)

Jeff Miller
Jeff Miller 2020년 6월 2일
Not sure what you are asking, but maybe
p = chi2cdf(3.7920,df,'upper')
where df is the degrees of freedom for your computed chi-square value of 3.7920

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by