GOFTests: Wrappers to compute goodness of fit test froms distfun...

GOFTestsR Documentation

Wrappers to compute goodness of fit test froms distfun objects

Description

Wrappers to compute goodness of fit test froms distfun objects

Usage

ks_test(distfun, x, ...)

## S3 method for class 'distfun'
ad_test(distfun, x)

ad_test(distfun, x)

## S3 method for class 'distfun'
cvm_test(distfun, x)

cvm_test(distfun, x)

Arguments

distfun

a distfun object

x

numeric vector

...

arguments to be passed on to test function

Value

goodness of fit object

Examples

x <- rgamma(100, 1, 1)
fit <- fit_univariate(x, 'gamma')
ks_test(fit, x)
ad_test(fit, x)
cvm_test(fit, x)

datareaver/fitur documentation built on June 18, 2022, 11:04 a.m.