View source: R/cutoff.asymptotic.R
cutoff.asymptotic | R Documentation |
Implements an asymptoticaly normal critical value for testing the goodness-of-fit of a parametrically estimated density with the test statistic S.n
.
cutoff.asymptotic(dist, p1, p2, sig.lev)
dist |
The null distribution. |
p1 |
Parameter 1 (vector or object) for the null distribution. |
p2 |
Parameter 2 (vector or object) for the null distribution. |
sig.lev |
Significance level of the hypothesis test. |
Implements the asymptotic critical value defined in Remark 1, Bagkavos, Patil and Wood (2021), equal to z_α σ_{0, θ_0} where z_α is the 1-α quantile of the normal distribution and
σ_{0, θ_0}^2 = 2 ≤ft (\int K^2(u)\,du \right ) ≤ft (\int f^2_0(x; θ_0)\,dx \right ).
A scalar, the estimate of the asymptotic critical value at the given significance level.
Dimitrios Bagkavos
R implementation and documentation: Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com>
Bagkavos, Patil and Wood: Nonparametric goodness-of-fit testing for a continuous multivariate parametric model, (2021), under review.
cutoff.edgeworth, cutoff.bootstrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.