WaldWolftest2s: Performs the Wald-Wolfowitz two sample test.

Description Usage Arguments Value Examples

Description

Performs the Wald-Wolfowitz two sample test.

Usage

1
WaldWolftest2s(vFLvector, vFLvector2)

Arguments

x

a FLVector containing the observations.

y

a FLVector containing the observations.

Value

A list with class "htest" outputting the corresponding WW statistic and P Values.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
tbl1 <- FLTable(getTestTableName("tblWW2SMulti"),
                "obsid",
                 whereconditions= "datasetid=1 and groupid=1")
tbl2 <- FLTable(getTestTableName("tblWW2SMulti"),
                "obsid",
                 whereconditions= "datasetid=1 and groupid=2")
v1 <- tbl1$num_val
v2 <- tbl2$num_val
result <- WaldWolftest2s(v1,v2)
result$statistic
result$p.value

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.