get_corr_pairedTtest: Get correlation of paired groups from summary statistics

View source: R/misc_pm.R

get_corr_pairedTtestR Documentation

Get correlation of paired groups from summary statistics

Description

Sometimes, papers report mean and std. dev of paired groups along with a p-value, but not the correlation (Often done in a typical table 1). The latter is needed for sample size calculations and can be recovered with this function.

Usage

get_corr_pairedTtest(meanDiff, sd1, sd2, pValue)

Arguments

meanDiff

Difference of means in two paired groups

sd1

Standard deviation in group 1

sd2

Standard deviation in group 2

pValue

p value as reported in paper

Value

the correlation of the two groups


imbeimainz/IMBEImisc documentation built on Nov. 14, 2024, 1:22 p.m.