I am creating the bootstrap to create a p-value.
Suppose my statistic from the sample is A. Suppose for simplicity, that I do 10 bootstraps and I get A_1, A_2, ..., A_10. Suppose that A_i > A two times and my alpha is .2. Should I reject or fail to reject?
I know that 10 bootstraps is nowhere near enough and that in practice I could just do more bootstraps until the p-value goes above or below. But I'm curious regarding this specific case.
Also how does this answer change if A_i = A for some i. Is that the same as A_i > A or does it count as A_i < A ? Again I don't see this case considered because A is often taken to be continuous. But what about non-continuous test statistic?
I've found this answer: Is a p-value of 0.04993 enough to reject null hypothesis? which suggests I hould reject if there is equality. But the particular case of equality is not explained. I have searched in elementary text books but most just say that p-value is continuous so equality won't happen.
I've also found this answer: Do you reject the null hypothesis when $p < \alpha$ or $p \leq \alpha$? but I don't have the book they mention and it is a little too theoretical for me. I guess my question is partly whether S_1 is {a| a > A} or {a | a >= A}?
I think the above questions have the material to answer my question but I don't know how to implement the knowledge with the specific case of a bootstrap.
My attempt at answer is that if A_i > A two times, we are saying Pr(A_i > A) = .2. We want probability of rejecting, given the null is true, to be .2. So we should reject. But as you can see I don't really understand things.