andersonDarlingFun {qAnalyst} | R Documentation |
andersonDarlingFun
returns a vector containing AD test statistics and corresponding p-value, from given data and distribution specification.
andersonDarlingFun(x, distribution, theta)
x |
a vector of data |
distribution |
character string specifying hypothized distribution |
theta |
vector of parameter, coherent with |
andersonDarlingFun
currently supports following distributions: normal, lognormal, gamma, weibull, logistic.
A vector of two elements: statistics and p-value
No notes
Andrea Spano', Enrico Pegoraro, Giorgio Spedicato
Stephens, M.A., eds.: Goodness-of-Fit Techniques. Marcel Dekker, New York.
data(warpTiles)
x=warpTiles$warping
infoX=funInfoFun(x,"weibull")
andersonDarlingFun(x=x, infoX$densfun, infoX$theta)