compute_gof: Compute four goodness-of-fit tests for a fitted distribution

View source: R/gof_tests.R

compute_gofR Documentation

Compute four goodness-of-fit tests for a fitted distribution

Description

Compute four goodness-of-fit tests for a fitted distribution

Usage

compute_gof(x, dist_key, params)

Arguments

x

Numeric vector of clean data.

dist_key

Distribution key from the FitVerse registry.

params

Named numeric vector of fitted parameter values.

Value

A data frame with columns: Test, Statistic, P_value, Stars (or NA rows if a test cannot be computed).


FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.