useFitdist {rriskDistributions} | R Documentation |
Fitting amount continuous distributions to given univariate data.
Description
Fitting amount continuous distributions to given univariate data
Usage
useFitdist(data2fit, show.output = TRUE, distributions)
Arguments
data2fit |
numerical vector, data to be fitted. |
show.output |
logical value, if |
distributions |
simple character or character vector giving the names of
distribution families, that should be fitted to the data. The possible values
are: |
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
x1 <- rgamma(374, 4,0.08)
res1 <- useFitdist(data2fit = x1)
res1
x2 <- rbeta(300, shape1 = 1, shape2 = 2)
res2 <- useFitdist(data2fit = x2)
res2