|
Home > Statistics Every Writer Should Know > The Stats Board > Discusssion
About Chi square analysis and P value Iam a doctor.I need to know how chi square and P value can be calculated in two groups and the result is to be compared to find which one is significant?Is there any formula which related chi square and P value.After finding chi square how can we find P-value using that resultant of chi value.Is there any table to calculate P-value.Please explain me.
READERS RESPOND: Re: About Chi square analysis and P value
Re: About Chi square analysis and P value In a hospital during last year the total number of patients treated were 394.In that 30 patients are having complications and in the next year 192 patients were treated and 12 were having complications.We have to compare this and statistically determine both the years.can we calculate it using 1. chi square analysis
Re: About Chi square analysis and P value x1 ~ Bin(394,p1) We observe that x1 = 30 and x2 = 12. We want to test the null hypothesis H: p1 = p2 against the alternative hypothesis K: p1 \= p2. The test statsitic is based on the hypergeometric distribution. Calculate S = Sum C(394,x)*C(192, 42-x) / C(586,42), where the sum is over x from 30 to 42 and C(m,n) = m!(m-n)!/m!. The test statistic for the two-sided test is P = 2*min(S, 1-S). Reject the null hypothesis H if P > 0.05. You can use Excel to calculate the hypergeometric probabilities.
Your $5 contribution helps cover part the $500 annual cost of keeping this site online.
|
|||||||||
|