Closed a-torgovitsky closed 4 years ago
Done - The reason that I had p_sig
in the bootstrap is that I used the quantile()
function to compute the p-value instead of sorting it. But I think it is not the most appropriate way because the quantile()
function may interpolate two values, which may lead to an inaccurate estimate. Thus, the function has been updated.
A p-value is defined as: The smallest significance level \alpha for which the null hypothesis would be rejected. I don't understand why the number of decimal places comes into this. Determining the p--value should just be a matter of sorting the bootstrap results.