This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm wondering if there is a way to find p-values when you have a chi-square value and the degrees of freedom? This would be similar to the function CHISQ.DIST.RT(x,df) in Excel or pchisq(chisq,df,lower.tail=FALSE) in R.
Business case is, I have a 2x2 contingency table that I needed to see if the phi coefficient were significant using chi-square. I manually calculated the chi-square but if you know of a way to easily calculate that over 100+ iterations I would be very grateful (or a method to get both chi-square/p-values in one-go).