* @brief Perform the one-sample t-test transition step */
| 111 | * @brief Perform the one-sample t-test transition step |
| 112 | */ |
| 113 | AnyType |
| 114 | t_test_one_transition::run(AnyType &args) { |
| 115 | TTestTransitionState<MutableArrayHandle<double> > state = args[0]; |
| 116 | double x = args[1].getAs<double>(); |
| 117 | |
| 118 | updateCorrectedSumOfSquares( |
| 119 | state.numX.ref(), state.x_sum.ref(), state.correctedX_square_sum.ref(), |
| 120 | 1, x, 0); |
| 121 | |
| 122 | return state; |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * @brief Perform the two-sample t-test transition step |
nothing calls this directly
no test coverage detected