Extract Paired Correlation
extract_r_paired.Rd
A function for estimating the correlation from a paired samples t-test. Useful for when using tsum_TOST and the correlation is not available.
Arguments
- m1
mean of group 1.
- sd1
standard deviation of group 1.
- m2
mean of group 2 (not required for one-sample tests).
- sd2
standard deviation of group 2 (not required for one-sample tests).
- n
Sample size (number of pairs)
- tstat
The t-value from a paired samples t-test
- pvalue
The two-tailed p-value from a paired samples t-test