rapidFitFun {qAnalyst} | R Documentation |
Function to obtain rapid fitting of multiple distributions
Description
rapidFitFun
fits parameter on data vector x for some of most important continuous distributions.
Fitted parameters values and names are printed out in a table together. Anderson Darling goodness of fit statistics p-value is moreover provided.
Usage
rapidFitFun(x, rounding = 3, boxcox=FALSE, johnson=FALSE)
Arguments
x |
a vector of countinuous values. All values must be positive |
rounding |
rounding digits to obtain pretty table printing |
boxcox |
Boolean. If true, boxcox normality transformation is performed |
johnson |
Boolean. If true, johnson normality transformation is performed |
Details
rapidFitFun
uses funInfoFun
functionalities to estimate parameters and AD p-value. If either boxcox or johnson are TRUE, estimated AD statistics p-value is related to trasformed data.
Value
rapidFitFun
returns no value
Note
rapidFitFun
is a wrapper for funInfoFun
. Numerical procedures to obtain parameters MLE may not always converge.
In such cases warnings and errors message may be thrown.
Author(s)
Giorgio Spedicato
References
Graybill Mood, Introduction to Statistics, Mc-Graw Hill
See Also
funInfoFun
, andersonDarlingFun
Examples
##brakeCap
data(brakeCap)
rapidFitFun(brakeCap$centering)
#warptiles
data(warpTiles)
rapidFitFun(warpTiles$warping)