Learn R Programming

bda (version 13.4.13)

gof.test: Goodness of fit test

Description

To perform goodness of fit test.

Usage

gof.test(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

Run this code
# NOT RUN {
  data(hhi)
  hmob <- binning(counts=hhi$mob, breaks=hhi$breaks)
  lmd5 <- fit.GLD.FMKL(hmob)
  gof.test(lmd5)

# }

Run the code above in your browser using DataLab