Skip to content

Commit

Permalink
Update standardized_differences.Rmd
Browse files Browse the repository at this point in the history
reverting two small changes back to fix lint issues
  • Loading branch information
pdwaggoner authored Sep 19, 2023
1 parent a23b0f7 commit 40c0956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/standardized_differences.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ is larger (and vice versa).
## Two Independent Samples

For two independent samples, the difference between the means is standardized
based on the pooled standard deviation of both samples, which are assumed to be equal in
the population:
based on the pooled standard deviation of both samples (assumed to be equal in
the population):

```{r}
t.test(mpg ~ am, data = mtcars, var.equal = TRUE)
Expand Down Expand Up @@ -222,7 +222,7 @@ cohens_u1(mpg ~ am, data = mtcars)
p_overlap(mpg ~ am, data = mtcars)
```

Note that by default these functions return the parametric versions of these effect sizes: these assume equal normal variance in both populations. When these assumptions are not met, the values produced will be biased in unknown ways. In such cases, we should use the non-parametric versions ($U_1$ is not defined):
Note the by default, these functions return the parametric versions of these effect sizes: these assume equal normal variance in both populations. When these assumptions are not met, the values produced will be biased in unknown ways. In such cases, we should use the non-parametric versions ($U_1$ is not defined):

```{r}
p_overlap(mpg ~ am, data = mtcars, parametric = FALSE)
Expand Down

0 comments on commit 40c0956

Please sign in to comment.