ssmdEstCore.homoVAR.fn: calculate UMVUE estimate of SSMD

Description Usage Arguments Value Author(s) Examples

View source: R/ssmdEstCore.homoVAR.fn.R

Description

A function to calculate UMVUE estimate of SSMD

Usage

1
ssmdEstCore.homoVAR.fn(m1, m2, s1, s2, n1, n2, approx = F, method = "UMVUE")

Arguments

m1

sample mean of values in the first group (i.e., the reference group)

m2

sample mean of values in the second group

s1

sample standard deviation of values in the first group (i.e., the reference group)

s2

sample standard deviation of values in the second group

n1

sample size in the first group (i.e., the reference group)

n2

sample size in the second group

approx

approx=TRUE, indicating the use of approximation for the coefficient in the UMVUE estimate of SSMD

method

specify the method for estimating SSMD. It must be

Value

a vector

Author(s)

Xiaohua Douglas Zhang originally in 2007, revised in 2020

Examples

1
2
3
 x = rnorm(304, mean=0, sd=1)
  y = rnorm(8, mean=3*sqrt(2), sd=1)
  ssmdEstCore.homoVAR.fn( mean(x), mean(y), sd(x), sd(y), length(x), length(y), method="UMVUE")

Karena6688/qcSSMD documentation built on July 23, 2020, 9:50 a.m.