Complex sentence: It can be equivalently thought of as the probability of correctly accepting the alternative hypothesis when the alternative hypothesis is true-that is, the ability of a test to detect an effect, if the effect actually exists.
Split into simpler sentences: It can be equivalently thought of as the probability of correctly accepting the alternative hypothesis when the alternative hypothesis is true. That is, the ability of a test to detect an effect, if the effect actually exists.