vM.GoF: 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 goodness-of-fit tests on the data against a specified von Mises distribution.

Usage

1
vM.GoF(data, mu, kappa, display = T)

Arguments

data

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

mu

Mean direction parameter of the von Mises distribution to be fitted.

kappa

Concentration parameter of the von Mises distribution to be fitted. Must be between 0 and 1.

display

Boolean specifying whether to print the results of the four tests to the console or not.

Details

Four of 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 test statistics for the four tests, plus the p-value for the Rayleigh tests.

See Also

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

Examples

1
GoF <- vM.GoF(q, mu, kappa)

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