deltamad_B: Generate the mean of the contaminated group, the standard...

View source: R/deltamad_B.R

deltamad_BR Documentation

Generate the mean of the contaminated group, the standard deviation of the contaminated group, and delta MAD for one randomly distributed data set against a normal data set contaminated with a uniform distribution data set

Description

Generates the mean of the contaminated group, the standard deviation of the contaminated group, and delta MAD effect size for one randomly distributed data set against a normal data set contaminated with a uniform distribution data set with defined characteristics (number of subjects, percent of subjects with x mean and y standard deviation, percent of subjects with z mean and a standard deviation, mean of the first data set, x mean, z mean, standard deviation of the second data set, y standard deviation, and a standard deviation)

Usage

deltamad_B(num0, num1, num2, bef, aft1, mini, stdev0, stdev1, maxi)

Arguments

num0

number of subjects

num1

percent/decimal of subjects for the first group

num2

percent/decimal of subjects for the second group

bef

mean of the original group

aft1

mean for the first group

mini

minimum for the second group

stdev0

standard deviation of the original group

stdev1

standard deviation for the first group

maxi

maximum for the second group

Value

vector with mean of the contaminated group, standard deviation of the contaminated group, and delta MAD

Examples

deltamad_B(75,0.8,0.2,0,1,0.5,1,1,2)

dakthomps00/researchfunctions documentation built on March 19, 2022, 10:50 a.m.