Man pages for FitVerse
Parametric Distribution Fitting and Analysis

all_fitsExtract All Individual Fit Results from a Fitted Object
attach_gofRun GoF tests for a single FitVerse fit-result list and...
base64enc_simpleMinimal base64 encoder (avoids base64enc dependency when...
bootstrap_ciBootstrap Confidence Intervals for Distribution Parameters
build_ranking_tableSummarise all fit results into a ranked comparison table
check_dataValidate that input is a suitable numeric vector
clean_dataRemove non-finite values from a vector
compare_distsCompare Distribution Fits and Return a Ranking Table
compute_aicCompute AIC from log-likelihood and parameter count
compute_bicCompute BIC from log-likelihood, parameter count, and sample...
compute_data_summaryCompute a Descriptive Statistics Summary
compute_gofCompute four goodness-of-fit tests for a fitted distribution
dfitverseDensity, CDF, Quantile, and Random Sampling for a Fitted...
dot-build_lmom_resultBuild a standardised L-moment fit result list
dot-build_report_cdf_plotBuild a CDF overlay plot for the report (top_n distributions)
dot-build_report_pp_plotBuild a P-P plot for the report (Hazen plotting positions)
dot-combine_panelsArrange two ggplot objects side by side with an optional...
dot-expose_dist_fnsExpose d/p/q functions from actuar or mc2d into a caller's...
dot-gof_na_frameReturn an all-NA GoF data frame (four rows, one per test)
dot-gof_rowBuild a single GoF result row
dot-grouped_mleFit a single distribution by grouped MLE
dot-lmom_exponentialL-Moments: Exponential parexp returns: para = c(xi, alpha)...
dot-lmom_gammaL-Moments: Gamma pargam returns: para = c(alpha, beta) where...
dot-lmom_gevL-Moments: Generalised Extreme Value (GEV) pargev returns:...
dot-lmom_gloL-Moments: Generalised Logistic (GLO) - full shape parameter...
dot-lmom_gpdL-Moments: Generalised Pareto Distribution (GPD) pargpa...
dot-lmom_gumbelL-Moments: Gumbel pargum returns: para = c(xi, alpha) -> loc...
dot-lmom_invgaussianL-Moments: Inverse Gaussian (Wald)
dot-lmom_kappa4L-Moments: Kappa-4 (Hosking 1994) parkap returns: para =...
dot-lmom_logisticL-Moments: Logistic (via Generalised Logistic with kappa...
dot-lmom_lognormalL-Moments: Log-Normal (3-parameter, with location fixed near...
dot-lmom_lpearson3L-Moments: Log-Pearson Type III Apply Pearson III L-moment...
dot-lmom_normalL-Moments: Normal parnor returns: para = c(mu, sigma) -> R...
dot-lmom_pearson3L-Moments: Pearson Type III parpe3 returns: para = c(mu,...
dot-lmom_wakebyL-Moments: Wakeby (five-parameter quantile distribution)...
dot-lmom_weibullL-Moments: Weibull parwei returns: para = c(zeta, beta,...
dot-lmom_weibull3pL-Moments: 3-Parameter Weibull parwei returns: para = c(zeta,...
dot-loglik_from_paramsEvaluate the log-likelihood for a given set of parameters
dot-lookup_dpqrResolve a d/p/q/r function by distribution key string
dot-make_formula_stripBuild a two-column footer grob: PDF formula (left) and...
dot-mle_birnbaum_saundersMLE for the Birnbaum-Saunders (fatigue-life) distribution
dot-mle_burrMLE for the Burr XII distribution with multi-start...
dot-mle_custom_optimGeneric MLE via stats::optim using the internal d/p/q/r...
dot-mle_evd_gevMLE for the Generalised Extreme Value distribution using...
dot-mle_evd_gumbelMLE for the Gumbel distribution via analytical profile...
dot-mle_exponentialMLE for Exponential: rate = 1 / mean(x) (exact, no optimizer)
dot-mle_fitdistrplusMLE via fitdistrplus::fitdist
dot-mle_gamma3For fixed thres, Y = x - thres ~ Gamma(shape, scale). The...
dot-mle_gengammaProfile-likelihood MLE for the Generalised Gamma distribution
dot-mle_ghypMLE for GHyp: uses ghypFit() if GeneralizedHyperbolic is...
dot-mle_gloMLE for the Generalised Logistic distribution
dot-mle_gompertzMLE for the Gompertz distribution
dot-mle_halfnormalsigma_hat = sqrt(mean(x^2))
dot-mle_invgaussianMLE for the Inverse Gaussian (Wald) distribution
dot-mle_laplaceMLE for the Laplace (double-exponential) distribution
dot-mle_lindleyMLE for Lindley: solve quadratic score equation Score:...
dot-mle_lnorm3For fixed thres, Y = x - thres, then meanlog = mean(log Y),...
dot-mle_lpearson3MLE for the Log-Pearson III distribution
dot-mle_nakagamiMLE for Nakagami: closed-form estimators Omega_hat =...
dot-mle_nigMLE for NIG: uses nigFit() if GeneralizedHyperbolic is...
dot-mle_pearson3MLE for the Pearson Type III distribution
dot-mle_pertMLE for the PERT distribution
dot-mle_rayleighsigma_hat = sqrt(mean(x^2) / 2)
dot-mle_rtriangleMLE for the Right Triangular distribution
dot-mle_snMLE for the Skew-Normal distribution using sn::selm
dot-mle_student_tMLE for the Student-t (Location-Scale) distribution with...
dot-mle_triangularMLE for the Triangular distribution
dot-mle_truncnormMLE for Truncated Normal with fixed bounds at data min/max
dot-mle_weibull3pMLE for the 3-Parameter Weibull distribution
dot-mom_birnbaum_saundersMOM for Birnbaum-Saunders: match E[X]=beta(1+alpha^2/2),...
dot-mom_expexpMOM for Exponentiated Exponential: use digamma-based moment...
dot-mom_fitdistrplusMOM via fitdistrplus::fitdist with method = "mme"
dot-mom_gamma3Match mean, variance, and skewness: skewness = 2/sqrt(shape)...
dot-mom_gengammaMOM for Generalised Gamma via numerical optimisation. Matches...
dot-mom_gpdGPD MOM: closed-form, valid when shape < 0.5
dot-mom_gumbelGumbel MOM: closed-form (Euler-Mascheroni constant gamma_E ~=...
dot-mom_halfnormalE[X] = sigma * sqrt(2/pi) => sigma_hat = mean(x) * sqrt(pi/2)
dot-mom_invgammaInverse Gamma MOM: closed-form, valid when shape alpha > 2
dot-mom_invgaussianMOM for Inverse Gaussian: mu=mean(x), lambda=mu^3/var(x)
dot-mom_kumaraswamyKumaraswamy MOM: numerically match first two raw moments....
dot-mom_laplaceMOM for Laplace: mu=mean(x), b=sd(x)/sqrt(2)
dot-mom_lindleyMOM for Lindley: solve for theta from mean equation E[X] =...
dot-mom_loglogisticLog-Logistic MOM: closed-form solution valid when shape > 2
dot-mom_lomaxMOM for Lomax (Pareto Type II): alpha and lambda from...
dot-mom_lpearson3Log-Pearson III MOM: apply Pearson III MOM to log(x)
dot-mom_manualDispatcher for manual MOM estimators
dot-mom_nakagamiMOM for Nakagami: E[X^2] = Omega; m from mean equation. E[X]...
dot-mom_paretoPareto MOM: closed-form, valid when shape alpha > 2
dot-mom_pearson3Pearson III MOM: closed-form via mean, sd, and skewness
dot-mom_rayleighE[X] = sigma * sqrt(pi/2) => sigma_hat = mean(x) / sqrt(pi/2)
dot-mom_rtriangleMOM for Right Triangular: min=min(x), max=max(x) (closed-form...
dot-mom_student_tMOM for Student-t location-scale. mu = mean(x), sigma =...
dot-mom_triangularTriangular MOM
dot-mom_uniformUniform MOM: a = mean - sqrt(3)*sd, b = mean + sqrt(3)*sd...
dot-mom_weibullWeibull MOM: solve numerically because moments involve the...
dot-mom_weibull3p3-Parameter Weibull MOM
dot-plot_density_panelBuild the histogram + density overlay panel (publication...
dot-plot_to_base64Convert a ggplot2 object to a base64-encoded PNG string
dot-resolve_dpqrLook up a d/p/q/r function for a fit-result list
dot-run_adAnderson-Darling test (goftest package)
dot-run_chisqChi-squared goodness-of-fit test (Pearson, equiprobable bins)
dot-run_cvmCramer-von Mises test (goftest package)
dot-run_ksKolmogorov-Smirnov test (base R)
dot-skewnessSample skewness (type 1: biased)
dot-wakeby_cdf_fastFast Wakeby CDF via Q-grid interpolation
dot-warn_unsupported_methodWarn about distributions excluded because they explicitly...
dpqr_customCustom d/p/q/r Functions for Additional Distributions
dweibull3pThree-Parameter Weibull Distribution
filter_by_supportFilter distribution keys to those compatible with the...
fit_list_keyCreate a unique key for a fit result: "dist_key_METHOD"
fit_lmomFit a single distribution by L-Moments
fit_lmom_allFit all eligible distributions by L-Moments
fit_mleFit a single distribution by Maximum Likelihood Estimation
fit_mle_allFit a list of distributions by MLE and collect results
fit_momFit a single distribution by Method of Moments
fit_mom_allFit all eligible distributions by Method of Moments
fitverseFit Probability Distributions to Univariate Continuous Data
FitVerseAppLaunch the FitVerse Interactive Shiny Application
fitverse_batchFit Distributions to All Columns of a Data Frame
fitverse_censoredFit Parametric Distributions to Censored or Truncated Data
FitVerse_datasetsSample Datasets Bundled with FitVerse
fitverse_distributionsList All Distributions Supported by FitVerse
fitverse_groupedFit Distributions to Grouped or Interval-Censored Data
FitVerse-packageFitVerse: Parametric Distribution Fitting and Analysis
fitverse_s3methodsS3 Methods for 'fitverse' Objects
fitverse_summary-classSummary of a fitverse Object
format_paramsFormat a named numeric vector as "name (symbol) = val, ..."
fv_paletteFitVerse colour palette for multi-distribution comparison...
generate_reportGenerate an HTML or PDF Report for a Fitted Distribution
get_ad_pvalueExtract the AD p-value from a fit result
get_chisq_pvalueExtract the Chi-Squared p-value from a fit result
get_dist_entryRetrieve a Distribution Registry Entry
get_ks_pvalueExtract the KS p-value from a fit result (for ranking...
has_pkgCheck whether an optional package is installed
kurtosis_statSample excess kurtosis
lmrdL-Moment Ratio Diagram and Extreme-Value Threshold Selection
pad_rightRight-pad a string to a fixed width (for aligned console...
plot.fitverseDiagnostic Plot for a 'fitverse' Object
pval_starsRender a star-rating for a p-value (used in GoF table output)
rankingExtract the Ranking Table from a Fitted Object
return_levelCompute T-Year Return Levels from a Fitted Distribution
safe_fitAttempt a fitting call and return NULL (with a message) on...
save_plotSave a FitVerse Diagnostic Plot to File
select_best_fitIdentify the best-fitting model from a ranked table
skewness_statSample skewness (Fisher's moment coefficient)
to_jsonSerialise a 'fitverse' Object to JSON
FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.