Skip to content

Commit

Permalink
Update statistical_power.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
pdwaggoner authored Sep 19, 2023
1 parent cb45b0b commit 06fdf34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vignettes/statistical_power.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ Given the simplicity of this example and the prevalence of Cohen's $d$, we will
The first approach is the simplest. As previously hinted at, there is a vast literature on different effect size calculations for different applications. So, if you don't want to track down a specific one, or are unaware of options, you can simply pass the statistical test object to `effectsize()`, and either select the `type`, or leave it blank for "cohens_d", which is the default option.

```{r warning = FALSE}
effectsize(
t,
type = "cohens_d"
)
effectsize(t, type = "cohens_d")
```

*Note*, users can easily store the value and/or CIs as you'd like via, e.g., `cohens_d <- effectsize(t, type = "cohens_d")[1]`.
Expand Down

0 comments on commit 06fdf34

Please sign in to comment.