gof {bda}R Documentation

Goodness of fit test

Description

To perform goodness of fit test.

Usage

 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

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


[Package bda version 10.1.9 Index]