This Cross Validated answer states that it's valid to do a paired t-test to test whether the difference is greater than a certain value (e.g. 5) by changing the specified value of in the null/alternate hypothesis. My question is: how can I calculate the minimum required sample size for this test?
I already know of methods to calculate sample size when testing whether the difference is greater than zero (e.g. this resource) but how does this change when using a different value of in the null/alternate hypotheses? I'm getting confused here between the minimum detectable effect size (e.g. 1.5) and the effect size that we're testing for (5)