The \(t\)-statistic is calculated by:
$$t = \frac{r}{\sqrt{\frac{1 - r^2}{n - 2}}}$$
The \(F\)-statistic is the \(t\)-statistic squared:
$$F = t^2$$
Learn more on our example page.
**Note on function and output names:** This effect size is now implemented
with the snake_case function name `r_correl()` to follow modern R style
guidelines. The original dotted version `r.correl()` is still available as
a wrapper for backward compatibility, and both functions return the same
list. The returned object includes both the original element names (e.g.,
`r`, `rlow`, `rhigh`, `R2`, `R2low`, `R2high`, `se`, `n`, `dfm`, `dfe`,
`t`, `F`, `p`, `estimate`, `estimateR2`, `statistic`) and newer snake_case
aliases (e.g., `r_value`, `r_lower_limit`, `r_upper_limit`, `r2_value`,
`r2_lower_limit`, `r2_upper_limit`, `standard_error`, `sample_size`,
`df_model`, `df_error`, `t_value`, `f_value`, `p_value`). New code should
prefer `r_correl()` and the snake_case output names, but existing code
using the older names will continue to work.