JP.GoF.boot: Bootstrap goodness-of-fit tests for Jones-Pewsey distribution

Description Usage Arguments Details Value See Also Examples

View source: R/Jones-Pewsey.R

Description

Runs a bundle of bootstrap goodness-of-fit tests on the data against the Jones-Pewsey distribution.

Usage

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

Arguments

data

Vector of angles to be tested against the Jones-Pewsey 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 Jones-Pewsey 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 <- JP.GoF.boot(q, B = 99)

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