
Asymptotic \(U_n\) Statistic (Finite-Difference Calibration)
Source:R/paper_figures.R
simplex_Un_asymptotic.RdComputes the \(U_n\) statistic using the finite-difference gradient \(J\), which gives the correct asymptotic variance for the simplex class. This is the version whose null distribution is studied in the simulation section of the companion paper (Figure 1).
Details
For the bootstrap test, use simplex_gof instead — the
analytic gradient is bootstrap-invariant and faster.