dip.pvalue {fpc}R Documentation

Approximates p-value for dip test

Description

Approximates p-value for dip test (see dip) using the information in qDiptab.

Usage

  dip.pvalue(d,n)

Arguments

d

numeric. Value of dip statistic.

n

integer. Number of observations.

Value

Approximated p-value.

Author(s)

Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche/

References

J. A. Hartigan and P. M. Hartigan (1985) The Dip Test of Unimodality, Annals of Statistics, 13, 70-84.

Examples

  dip.pvalue(0.08,15)

[Package fpc version 2.0-3 Index]