optimParams-class {DistributionFitR}R Documentation

Class “optimParams”

Description

The class optimParams handles the slot fits of the class globalfit. It contains for some given data the optimization results and their characteristics.

Objects from the Class

Objects can be created by calls of the form new("optimParams", family, package, estimatedValues, AIC, BIC, AICc, sanity). More comfortably, you may use the function globalfit. The list elements in the fits-slot of the result is a optimParams-object.

Slots

family

character string; indicating the family name in the package, e.g. “norm”.

package

character string; indicating the package where the family was found, e.g. “stats”.

estimatedValues

named numeric vector; the estimated parameters of the family.

AIC

numeric; Akaike Information Criterion.

BIC

numeric; Bayes Information Criterion.

AICc

numeric; small sample-corrected Akaike Information Criterion.

sanity

named list; with numeric items hist_check und int_check and boolean item good as a result of the sanity check.

Author(s)

Moritz Kern

See Also

globalfitSummary, globalfit

Examples

  data <- rnorm(n=100, mean=10, sd= 1)
  r <- globalfit(data, cores= if (interactive()) NULL else 1,
                 packages="stats", append_packages=FALSE)
  
  # optimParams of best fit
  r@fits[[1]]
    

[Package DistributionFitR version 0.1 Index]