H A D | resampling.py | 120 p_0 = np.ones(x.shape) / n 149 def __calc_z0(x, p_0, statistic, eps, a_hat, sigma_hat): argument 162 tt_dot[i] = __tt_dot(i, x, p_0, statistic, eps) 168 2 * __tt(x, p_0, statistic)) / eps**2 172 def __tt(x, p_0, statistic=bs_se): argument 193 return statistic(x / p_0) 196 def __tt_dot(i, x, p_0, statistic, eps): argument 203 __tt(x, p_0, statistic)) / eps) 206 def __tt_dot_dot(i, x, p_0, statistic, eps): argument 212 return (__tt_dot(i, x, p_0, statistic, eps) / eps + [all …]
|