ModalityTestResult

class ModalityTestResult(val maxModes: Int, val criticalBandwidth: Double, val pValue: Double, val numBootstrapSamples: Int)(source)

The outcome of Silverman's test of "at most this many modes".

Parameters

maxModes

the hypothesis tested

criticalBandwidth

the smallest bandwidth at which the estimate has at most that many modes

pValue

the share of smoothed resamples needing at least as much smoothing

numBootstrapSamples

how many resamples the share was taken over

Constructors

Link copied to clipboard
constructor(maxModes: Int, criticalBandwidth: Double, pValue: Double, numBootstrapSamples: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun rejects(level: Double = 0.05): Boolean

Whether the hypothesis is rejected at a level.

Link copied to clipboard
open override fun toString(): String