| nsRFA-internal {nsRFA} | R Documentation |
User-level objects which are for ‘internal’ use only
ksampleA2 provides the Anderson-Darling test statistic;
nonparboot provides a non-parametric bootstrap;
test.GOFmontecarlo is used to test the type I error of goodness of fit tests GOFmontecarlo.
typeIerrorA2_GOFlaio is used to test the type I error of goodness of fit tests A2_GOFlaio.
fw2 is the approximation of the probability distribution of w (first 2 terms) when H_0 is true (Anderson-Darling, 1952); it is used by A2_GOFlaio.
ksampleA2 (x,cod) nonparboot (z,n=length(z)) test.GOFmontecarlo (parameters, type="NORM", alfa=.05, n=30, N=100) typeIerrorA2_GOFlaio (n, T, alfa=0.05, dist="NORM", Nsim=1000) fw2 (w)
x |
vector representing data from many samples defined with cod |
cod |
array that defines the data subdivision among sites |
z |
data sample, used for bootstrap |
n |
length of sample (extracted in nonparboot) |
parameters |
vector of distribution parameters |
type |
distribution type: "NORM", "GENLOGIS", "GENPAR", "GEV", "LOGNORM", "P3" |
alfa |
significance level of the test |
N |
number of iterations |
T |
parameters (position, scale, shape, ...) |
dist |
distribution ("NORM", "LN", "EV1", "EV2", "GEV", "GAM", "LP3") |
Nsim |
number of iterations, as N |
w |
transformed test statistic (Laio, 2004) |
Alberto Viglione, e-mail: alviglio@tiscali.it.