I've found a variation of the $\chi^2$ statistic that looks like this:
$\chi^2 = \sum\limits_{i=1}^N\,\chi_i^2 = \sum\limits_{i=1}^N\,\frac{(\log m_{i}- \log n_{i})^2}{\sigma_{i}^2}$
where $\sigma_{i}^2=1/n_i$, $m_i$ is the modeled number of counts in bin $i$ and $n_i$ is the observed number (both are of course positive and integers) $log$ is the decimal logarithm.
If $m_i=0$ or $n_i=0$, the author assigns a very small value to avoid inconsistencies evaluating the $log$ function at $0$.
I understand that this parameter is biased in the sense that it will give more weight to $\chi_i$ factors where $n_i\neq0$; ie: it will pretty much disregard $\chi_i$ factors where $n_i=0$ (which will be replaced by a very small number, say $0.0001$) thus allowing the model to assign almost any number $m_i$ to that bin.
See here for an example of $\chi_i$ when $n_i=0$ (replaced by $0.0001$) and here to see the behavior of $\chi_i$ when $n_i=1$.
Clearly for what I see in the case where $n_i=1$ the values of $\chi_i$ are much bigger than those obtained by the same parameter when $n_i=0$ (replaced by $0.0001$)
I see this as a prove that the statistic is biased. Am I correct here?