Goodness of fit test

Share:

Description

To perform goodness of fit test.

Usage

1
 gof(x, dist, pars, method='ks')

Arguments

x

sample data.

dist,pars

Target population distribution type and parameters.

method

Two options: KS-test or Chi.square test.

Examples

1
2
3
4
  data(hhi)
  hmob <- binning(counts=hhi$mob, breaks=hhi$breaks)
  lmd5 <- fit.GLD.FMKL(hmob)
  gof(lmd5)