The data generating process is
Let and . Prior probabilities of are assigned to the two hypotheses, and a sample of size yields a maximum value of . Find the -value here.
According to the definition of -value,
and . I am not sure what to do next. Furthermore, intuitively, if the maxima is equal to exactly, shall we get an extremely big or a small one?