JP.psi.LR.boot: Bootstrap likelihood ratio test for Jones-Pewsey against...

Description Usage Arguments Details Value Examples

View source: R/Jones-Pewsey.R

Description

Bootstrap likelihood ratio test of Jones-Pewsey distribution with MLE parameters against a simpler model with a specified value of psi.

Usage

1
JP.psi.LR.boot(data, psi.0 = 0, B = 9999, alpha = 0.05, show.progress = T)

Arguments

data

Vector of angles to be tested.

psi.0

Value of psi specifying a simpler model, to test against the three-parameter Jones-Pewsey.

B

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

alpha

Significance level of likelihood ratio test. Default is 0.05 (95% confidence interval).

Details

von Mises has psi -> 0; cardioid has psi = 1; wrapped Cauchy has psi = -1.

Value

List containing the deviance, p-value, matrix ofthe parameters tested, and a comment explaining the output.

Examples

1
JP.LR.test <- JP.psi.LR.boot(q, psi.0 = 1, B = 99)

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