watson.mean.test.boot: Bootstrap version of Watson's two-sample test of common mean

Description Usage Arguments Value Examples

View source: R/Two-sample-tests.R

Description

Bootstrap of Watson's nonparametric test for the similarity of a common mean for two (or more) distributions. Does not assume that the distributions tested have a common concentration or shape.

Usage

1
watson.mean.test.boot(samples, B = 9999, show.progress = T)

Arguments

samples

A list containing the vectors of angles (in radians) to be tested.

B

Number of bootstrap samples to use to obtain the estimated p-value. Default is 9999.

show.progress

Boolean indicating whether or not to display a progress bar as the bootstrap is run.

Value

List containing the test statistic, p-value and ratio of maximum to minimum sample dispersion.

Examples

1
comp <- watson.mean.test.boot(list(q.4.a, q.4.b), B = 99)

ClairBee/AS.circular documentation built on Jan. 24, 2020, 3:57 p.m.