sdtot2mean2: Calculate mean2 from the total SD

Description Usage Arguments Value Examples

View source: R/summary_functions.R

Description

Calculate mean2 from the total SD

Usage

1
sdtot2mean2(sd_total, n1, mean1 = 0, sd1 = 1, n2 = n1, sd2 = sd1)

Arguments

sd_total

Total SD over groups: i.e. of the combined sample.

n1

Number of measurements in group 1.

mean1

Mean of group 1. Optional: defaults to 0 if only interested in Cohen's D output.

sd1

SD of group 1. Optional: default is 1, in which case sd_total is a proportional increase in SD.

n2

Number of measurements in group 2. Optional: defaults to n1.

sd2

SD of group 2. Optional: defaults to sd1.

Value

List containing mean2 in positive and negative directions, the total mean in positive and negative directions, Cohen's D and the percentage difference.

Examples

1
sdtot2mean2(sd_total=1.2, n1=20)

mathesong/relfeas documentation built on March 4, 2020, 5:29 a.m.