We can get the answers to power questions such as what is the power of a paired t-test or what size N should we use in the same way as we did for the…

We can get the answers to power questions such as what is the power of a paired t-test or what size N should we use in the same way as we did for the independent measures t-test. We use the function power.t.test but we include the parameter type = “paired” so that the function for finding the desired sample size might look like this: