Distribution

Share:

Description

calculates the most likely parameters for a given distribution.

Usage

1
distribution(x, distribution = "weibull", start, ...)

Arguments

x

vector of distributed values from which the parameter should be determined.

distribution

character string specifying the distribution of x. The function distribution will accept the following character strings for distribution:

  • “normal”

  • “chi-squared”

  • “exponential”

  • “logistic”

  • “gamma”

  • “weibull”

  • “cauchy”

  • “beta”

  • “f”

  • “t”

  • “geometric”

  • “poisson”

  • “negative binomial”

  • “log-normal”

By default distribution is set to “weibull”.

start

start values if needed.

...

...

Value

distribution() returns an object of class distrCollection.

Note

This is just a wrapper for the fitdistr function of the MASS library!

Author(s)

Thomas Roth thomas.roth@tu-berlin.de

References

MASS Package.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.