lw.t.test: lw.t.test

Description Usage Arguments Value Examples

View source: R/lw.t.test.R

Description

conduct a t test adjusting for ceiling and/or floor effects

Usage

1
lw.t.test(x1, x2, method_type)

Arguments

x1

a (non-empty) numeric vector of data values for group 1 with floor/ceiling effects

x2

a (non-empty) numeric vector of data values for group 2 with floor/ceiling effects

method_type

a character string specifying the preferred method type. "a" uses the original sample size and "b" uses after-truncation sample size.

Value

statistic

the value of the adjusted t test statistics

p.value

the p-value for the test

est.d

effect size estimate as in Cohen's d

conf.int

95% confidence interval

Examples

1
2
3
4
## Not run: 
lw.t.test(x1.c,x2.c,"a") #using truncated n
lw.t.test(x1.c,x2.c,"b") #using original n
## End(Not run)

QMmmmLiu/DACFD documentation built on Nov. 18, 2017, 8:53 a.m.