Description Usage Arguments Details Value References See Also Examples
It finds the best fitting distribution from supported univariate continuous distributions for given data.
1 2 3 4 5 6 7 8 9 |
x |
a numeric vector; data. |
positive |
a logical constant; distribution type. |
plot |
a logical constant. If |
legend.pos |
a character string. Indicates the legend position and must be one of "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright" (default), "right" and "center". |
dlc |
a vector; probability density line colors for supported (up to 7) distributions. If unspecified, the rainbow color palette will be used. |
dlw |
a numerical constant; probability density line width. |
... |
Further arguments and parameters for the function |
This function is supported following univariate distributions:
for positive random variables: Log normal, Exponential, Gamma and Weibull.
for all random variables: Normal, Cauchy, Log normal, Exponential, Gamma, Weibull and Uniform.
Legends of the plot are ordered by p-values of the test.
A list containing the following items:
the name of the best fitting distribution.
the Kolmogorov-Smirnov test statistic for the distribution.
the p-value of the test.
results similar to above for other distributions.
given data.
the sample size.
William J. Conover (1971). Practical Nonparametric Statistics. New York: John Wiley & Sons. Pages 295–301.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.