Skip to content

Commit

Permalink
Fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
ajwills72 committed Jan 25, 2024
1 parent 09dc5dd commit 373f8a0
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 70 deletions.
127 changes: 58 additions & 69 deletions docs/power.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/power.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ The reason for switching to a within-subjects design is that it's much more effi

## Within-subjects effect size

Before looking at the power of within-subjects designs, we have to decide how to calculate effect size for this kind of experiment. There are at least [five different ways](http://jakewestfall.org/blog/index.php/2016/03/25/five-different-cohens-d-statistics-for-within-subject-designs/) of doing this, but we'll use the one required by the `pwr.t.test` command - Cohen's $d_{z}$. This is the mean difference between conditions, divided by the standard deviation of the _differences_. The `cohen.d` command we used earlier does **not** calculate this sort of within-subjects effect size. We won't need to calculate $d_{z}$ in this worksheet but, if you need to in later work, see the "[more on power](effsize_from_papers.html)" worksheet.
Before looking at the power of within-subjects designs, we have to decide how to calculate effect size for this kind of experiment. There are at least [five different ways](https://imaging.mrc-cbu.cam.ac.uk/statswiki/FAQ/tdunpaired) of doing this, but we'll use the one required by the `pwr.t.test` command - Cohen's $d_{z}$. This is the mean difference between conditions, divided by the standard deviation of the _differences_. The `cohen.d` command we used earlier does **not** calculate this sort of within-subjects effect size. We won't need to calculate $d_{z}$ in this worksheet but, if you need to in later work, see the "[more on power](effsize_from_papers.html)" worksheet.

<a name="ex3"></a>

Expand Down

0 comments on commit 373f8a0

Please sign in to comment.