Take the 2-minute tour ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

SO I have an outcome from a biological experiment, where I have counted the number of dead cells upon a mutation. For example, in once case - out of 120 cells we saw 16% of the dead cells, but our expectations were around 10%. So to check the difference is significant I have performed 'Z-test for changes in proportions'.

But my question is, whether is it possible to do ch-squared test on a single experiment like the above ? I have googled a lot, but all examples I see use a contingency table or involve multiple variables.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Yes, it's possible to do a chi-square test on this.

Specifically, this is the chi-square goodness of fit test. To do it correctly you set up two cells (one for dead, one for not dead), like so:

       Dead   NotDead  Total
Obs     19      101     120
Exp     12      108     120

The chi-square is $\sum_i (O_i-E_i)^2/E_i$ and has $k-1$ df, where $k$ is the number of categories (k=2 in this case, meaning 1 df).

If you use the same information/approximations in both (including the same continuity corrections), the chi-square statistic will be the square of the two-tailed one-sample proportions Z statistic and will reject exactly the same cases. (Sometimes the p-values differ a little because different approximations/statistics are used.)

share|improve this answer
Hi Glen, Thank you very much. This was really helpful. –  poison Alien Jul 20 at 4:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.