vM.GoF.boot: Bootstrap goodness-of-fit tests for von Mises distribution

Description Usage Arguments Details Value See Also Examples

View source: R/vonMises.R

Description

Runs a bundle of bbootstrap goodness-of-fit tests on the data against the von Mises distribution.

Usage

1
vM.GoF.boot(data, B = 9999, show.progress = T)

Arguments

data

Vector of angles to be tested against the von Mises distribution.

B

Number of bootstrap samples to use to obtain the confidence interval. Default is 9999.

show.progress

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

Details

The tests rely on doubling the von Mises distribution function of each angle in the data set, and testing the resulting distribution for uniformity.

Value

List of p-values for the four tests.

See Also

The individual tests included in the bundle: kuiper.test, watson.test, rao.spacing.test, and rayleigh.test.

Examples

1
GoF.boot <- vM.GoF.boot(q, B = 99)

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