“…We do not put any restriction between the parameters before and after the change under the alternative. Thus our approach differs from a part of the literature, which considers the statistic where (see Chuang and Chan, , or Ciuperca and Salloum, ). In other words, we work with a more general alternative that yields substantial computational advantages because the calculation of the supremum in the denominator of corresponds to a (2 p +2)‐dimensional optimization problem, which has to be solved for each k .…”