Lines Matching refs:chi_square
252 double chi_square;
320 chi_square = 0.0;
331 chi_square += numer / denom;
336 p_value_t = igamc(9 / 2.0, chi_square / 2.0);
461 double chi_square;
496 /* Compute chi_square */
497 chi_square = 0.0;
499 chi_square += (pi[i] - 0.5) * (pi[i] - 0.5);
501 chi_square *= 4 * mbits;
506 printf("chi_square=%f\n", chi_square);
508 p_value = igamc(numblocks * 0.5, chi_square * 0.5);
530 double chi_square;
580 /* Compute chi_square */
588 chi_square = term1 + term2 + term3;
591 printf("fm_0=%u, fm_1=%u, fm_rest=%u, chi_square=%f\n",
592 fm_0, fm_1, fm_rest, chi_square);
594 p_value = exp(-chi_square * 0.5);