I am trying to create an algorithm that could calculate the p-value given the chi-square statistic a

Wade Bullock

Wade Bullock

Answered question

2022-07-07

I am trying to create an algorithm that could calculate the p-value given the chi-square statistic and the degrees of freedom. Can anyone please point me in the right direction on how I could go about to evaluate the formula and what prerequisites I need to learn before I could do it.

Answer & Explanation

razdiralem

razdiralem

Beginner2022-07-08Added 15 answers

e t 2 t d 2 1 d t = 2 d 2 Γ ( d 2 , t 2 )
χ 2 e t 2 t d 2 1 d t = 2 d 2 Γ ( d 2 , χ 2 2 )
Q χ 2 , d = Γ ( d 2 , χ 2 2 ) Γ ( d 2 )
where appear the complete and incomplete gamma functions.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in College Statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?