ssmdEst.homoVAR.fn: calculate UMVUE estimate of SSMD between two groups under...

Description Usage Arguments Value Author(s) Examples

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

Description

A function to calculate UMVUE estimate of SSMD between two groups under homoscedasticity

Usage

1
ssmdEst.homoVAR.fn(x, y, pXtrim = 0, approx = F, method = "UMVUE")

Arguments

x

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

y

the values of response in the second group

pXtrim

proportion of trimmed values in the Sample well to form a negative reference

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 either 'UMVUE', 'MLE' or'MM'.

Value

a vector

Author(s)

Xiaohua Douglas Zhang originally in 2007, revised in 2020

Examples

1
2
3
x = rnorm(320, mean=0, sd=1)
  y = rnorm(8, mean=3*sqrt(2), sd=1)
  ssmdEst.homoVAR.fn( x, y, pXtrim=0.05, approx=FALSE, method="UMVUE")

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