yuen: Yuen's test

Description Usage Arguments Value Author(s) Examples

Description

Perform Yuen's test for trimmed means on the data in x and y.

Usage

1
2
3
4
  yuen(x, y, tr = 0.2, alpha = 0.05)

  ## S3 method for class 'yuen'
 print(x)

Arguments

x

Numeric data vector for group 1.

y

Numeric data for vector group 2.

tr

Amount of data to truncate; default is .2.

alpha

Alpha value; default is .05.

Value

Returns a list with items

ci

Lower and upper confidence intervals for the trimmed mean.

p.value

Yuen's p-value.

dif

Mean difference

se

Standard Error

teststat

The calculated test statistic

crit

The critical value

df

The degrees of freedom

Author(s)

Rand Wilcox, Rob Cribbie and Phil Chalmers

Examples

1
2
3
4
5
6
7
8
## Not run: 
hs_less<-c(8,3,6,6,9,7,11,7,4,8,17,6,21,6,4,10,6,9)
greater_hs<-c(7,12,7,6,7,18,15,11,8,7,8,13,12,11,16,15,30,11,10,7,8,25,3,9,5)

### Run a Welch trimmed t-test
yuen(hs_less,greater_hs)

## End(Not run)

mattsigal/psyc6130 documentation built on May 21, 2019, 1:26 p.m.