My problem is that I don't see how I would get a positive number out of this since many of the values under the ln function are between 0 and 1 (leading to negative numbers). Do you see what I'm saying? To reject the null hypothesis, I need a positive test statistic and I'm getting a large negative one. For example,
one of the expected values is 388 for an actual value of 266
266*ln(266/388)= -100.417

Thanks for any clarification. There seems to be very little on the Internet about this statistic.

My problem is that I don't see how I would get a positive number out of this since many of the values under the ln function are between 0 and 1 (leading to negative numbers). Do you see what I'm saying? To reject the null hypothesis, I need a positive test statistic and I'm getting a large negative one. For example,
one of the expected values is 388 for an actual value of 266
266*ln(266/388)= -100.417

Thanks for any clarification. There seems to be very little on the Internet about this statistic.