Learn R Programming

fpc (version 2.0-2)

dip.pvalue: 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.

References

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

Examples

Run this code
dip.pvalue(0.08,15)

Run the code above in your browser using DataLab