Closed a-torgovitsky closed 4 years ago
This is still using the same example debug.RData.zip :
Done! I have fixed the bug here by using the same bootstrap data for different tau
s.
It is now giving an (weakly) increasing tau
s in your example now. Thanks!
By construction, the DKQS approach should reject more for lower values of tau. This is because the critical value minimization problem is made more slack by lower tau, so lower tau always leads to a smaller critical value.
I am not seeing this behavior, however:
gives
I suspect this is because the bootstrap draws are being re-done for each value of tau. If that were not the case, then this should also give a p-value of .47, but it does not:
gives
The same bootstrap draws should be used for each value of tau so that this behavior does not happen.