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

Description Usage Arguments Value Examples

Description

Wrappers to compute goodness of fit test froms distfun objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

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

fitur documentation built on Oct. 6, 2021, 5:06 p.m.