Fitting and Comparing Flexible Continuous Distribution Families

Fits and compares four flexible families of continuous distributions, with the Johnson family as the default. Pearson curves described by Pearson (1895) are fitted by four-moment matching through 'PearsonDS'. The unbounded (SU), lognormal (SL) and bounded (SB) translation systems of Johnson (1949) are fitted by profiled numerical maximum likelihood, and Burr Type III and Type XII distributions of Burr (1942) , see also Tadikamalla (1980) , by numerical maximum likelihood. The generalized lambda distribution of Ramberg and Schmeiser (1974) is used in the parameterization of Freimer, Kollia, Mudholkar and Lin (1988) and is fitted by quantile matching with numerical inversion of its quantile function. Candidates are ranked by descriptive distances between fitted and empirical cumulative distribution functions. Johnson marginal transformations to a common normal scale support descriptive dependence analysis without implying joint normality on the original scale. The package also provides numeric data validation with row-level audits, density, distribution and quantile evaluation, and separate plotting functions. Count data are treated as continuous approximations. The methodology and its application to mobile application usage data are described in Karakaya Demir, Purutçuoğlu and Bursalı (2026), accepted at the 3rd International Conference on Advanced Technology in Electronic and Electrical Engineering (ICATEEE 2026).


DistFamilyFit

Fitting and comparing flexible continuous distribution families in R.

DistFamilyFit fits the Johnson unbounded (SU), lognormal (SL) and bounded (SB) forms, Pearson, Burr (Type III, Type XII) and Freimer-Kollia-Mudholkar-Lin (FKML) generalized lambda families to a numeric variable, ranks the candidates by descriptive cumulative distribution function (CDF) distances and provides separate diagnostic plots. Johnson marginal transformations map several variables to a common normal scale, on which dependence is summarised by covariance and correlation matrices.

Family Estimation
Johnson (default) Profiled maximum likelihood
Pearson Four-moment matching (suggested package 'PearsonDS')
Burr III / XII Numerical maximum likelihood
Generalized lambda (FKML) Quantile matching

Installation

install.packages("DistFamilyFit")

Example

library(DistFamilyFit)
path <- system.file("extdata", "input_template.csv", package = "DistFamilyFit")
d <- read_fit_data(path, columns = c("variable_1", "variable_2"))

u <- fit_univariate(prepare_fit_data(d, columns = "variable_1"))  # Johnson
comparison <- fit_univariate(d$data$variable_1, families = "all")
comparison$ranking

m <- fit_johnson_multivariate(d)
m$correlation_Z

plot_comparison(comparison)
plot_dependence(m)

Distances such as KS and D_CDF are descriptive in-sample measures, not formal goodness-of-fit tests. Count data are treated as continuous approximations, and positive-part fits (component = "positive") are conditional on X > 0.

See vignette("getting-started", package = "DistFamilyFit") and inst/USER_GUIDE.md for the input format, methods and interpretation.

Citation

The package implements the methodology of:

Karakaya Demir, Ş. Ş., Purutçuoğlu, V. and Bursalı, A. (2026). Modeling Mobile Application Usage with Distribution Families. Accepted at the 3rd International Conference on Advanced Technology in Electronic and Electrical Engineering (ICATEEE 2026), Hammamet, Tunisia.

See citation("DistFamilyFit") for BibTeX entries.

Authors

Şule Şevval Karakaya Demir (maintainer), Vilda Purutçuoğlu and Ahmet Bursalı. Supported by the Scientific and Technological Research Council of Türkiye (TÜBİTAK) 1505 research project no. 5240032.

License

MIT + file LICENSE

Author details

The author roles are author (aut) and maintainer (cre). ORCID stands for Open Researcher and Contributor ID.

Author Affiliation Email ORCID
Şule Şevval Karakaya Demir Department of Biomedical Engineering, Middle East Technical University, Ankara, Türkiye [email protected] 0000-0003-1851-4109
Vilda Purutçuoğlu Department of Biomedical Engineering and Department of Statistics, Middle East Technical University, Ankara, Türkiye [email protected] 0000-0002-0757-0837
Ahmet Bursalı Intelligent Application DC Department, Huawei Turkey Research and Development Center, İstanbul, Türkiye [email protected] 0000-0001-7050-769X

DC is retained as supplied in the department name; no expansion was provided.

Terminology

See help("DistFamilyFit_glossary") or GLOSSARY.md in the installed package for expanded abbreviations and output definitions.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("DistFamilyFit")

0.1.1 by Şule Şevval Karakaya Demir, 10 hours ago


Browse source code at https://github.com/cran/DistFamilyFit


Authors: Şule Şevval Karakaya Demir [aut, cre] (ORCID: , Vilda Purutçuoğlu [aut] (ORCID: , Ahmet Bursalı [aut] , TÜBİTAK [fnd] (Scientific and Technological Research Council of Türkiye , 1505 research project no. 5240032)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats, graphics, grDevices, utils

Suggests PearsonDS


See at CRAN