gof: Goodness of fit test

Description Usage Arguments Examples

View source: R/gof.R

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)

bda documentation built on May 29, 2017, 12:15 p.m.

Related to gof in bda...