Fitting amount continuous distributions to given univariate data.

Description

Fitting amount continuous distributions to given univariate data

Usage

1
useFitdist(data2fit, show.output = TRUE, distributions)

Arguments

data2fit

numerical vector, data to be fitted.

show.output

logical value, if TRUE the output will be printed.

distributions

simple character or character vector giving the names of distribution families, that should be fitted to the data. The possible values are: norm, cauchy, logis, beta, exp, chisq, unif, gamma, lnorm, weibull, f, t, gompertz, triang.

Details

This function is not intended to be called directly but is internally called in fit.cont.

Value

Returns matrix with fitting results. More information...

Author(s)

Matthias Greiner matthias.greiner@bfr.bund.de (BfR),
Kristin Tolksdorf kristin.tolksdorf@bfr.bund.de (BfR),
Katharina Schueller schueller@stat-up.de (STAT-UP Statistical Consulting),
Natalia Belgorodski belgorodski@stat-up.de (STAT-UP Statistical Consulting)

Examples

1
2
3
4
5
6
7
x1 <- rgamma(374, 4,0.08)
res1 <- useFitdist(data2fit = x1)
res1

x2 <- rbeta(300, shape1 = 1, shape2 = 2)
res2 <- useFitdist(data2fit = x2)
res2

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