x2 = (ni - ni')2/ni'