Implements the selection of null distribution; to be used within the implementation of the test statistic S.n
NDistDens(x, dist, p1, p2)A vector containing the density values of the designated distribution
A vector of data points - the available sample size.
The null distribution.
Argument 1 (vector or object) for the null distribution.
Argument 2 (vector or object) for the null distribution.
Dimitrios Bagkavos
R implementation and documentation: Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com>
Implements the null distribution evaluation at designated points, given the parameters p1 and p2.
Bagkavos, Patil and Wood: Nonparametric goodness-of-fit testing for a continuous multivariate parametric model, (2021), under review.