runs.dist: Distribution of Runs

Description Usage Arguments Value Examples

View source: R/ch15-fn.R

Description

Distribution of Runs Test Statistic

Usage

1
2
runs.dist(n1 = 2:20, n2 = 2:20, alp = 0.05, tab = TRUE,
  side = "two", plot = FALSE)

Arguments

n1

Number of data in group 1, Default: 2:20

n2

Number of data in group 2, Default: 2:20

alp

Level of significance, Default: 0.05

tab

Print critical value table? Default: TRUE

side

Type of alternative hypothesis, Default: 'two'

plot

Plot run distribution? Default: FALSE

Value

None.

Examples

1
2
3
require(randomizeBE)
runs.dist(n1=2:10, n2=2:10)
runs.dist(n1=c(5,20), n2=c(5,20), tab=FALSE, plot=TRUE)

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.