Re: questions about chi square and g test



On Tue, 15 Apr 2008 11:28:19 -0700 (PDT), ouyang.jie@xxxxxxxxx wrote:

Hi,
I am new to statistics. I got couple questions about chi square and g
independence test. For chi square test, how do I handle all zero
columns in cross tables? Should those columns be included in the
table? all zero columns will give zero expectation for cells in those
columns and cause divided by zero errors.. For g test, what to do if
some cells have zero observations? That will cause log of zero error.


For the ordinary contingency table, you drop
any rows or columns that total zero.

--
Rich Ulrich

http://www.pitt.edu/~wpilib/index.html
.



Relevant Pages

  • Re: chi-square test goodness of fit
    ... >tried it out this morning in my Excel worksheet. ... The results are the probability that the chi square ... In the even distribution case the chi square is zero. ...
    (sci.stat.math)
  • questions about chi square and g test
    ... I got couple questions about chi square and g ... how do I handle all zero ... all zero columns will give zero expectation for cells in those ... columns and cause divided by zero errors.. ...
    (sci.stat.edu)
  • Re: questions about chi square and g test
    ... I got couple questions about chi square and g ... how do I handle all zero ... all zero columns will give zero expectation for cells in those ... columns and cause divided by zero errors.. ...
    (sci.stat.edu)
  • Re: questions about chi square and g test
    ... I got couple questions about chi square and g ... how do I handle all zero ... all zero columns will give zero expectation for cells in those ... columns and cause divided by zero errors.. ...
    (sci.stat.edu)
  • Re: questions about chi square and g test
    ... I got couple questions about chi square and g ... how do I handle all zero ... all zero columns will give zero expectation for cells in those ... columns and cause divided by zero errors.. ...
    (sci.stat.edu)