parameters: Central probabilty

Description Usage Arguments Value Author(s) Examples

View source: R/parameters.R

Description

Probability of observing r NN distances at distance c, all previous NN distances at distance < c and all following NN distances at a distance > c

Usage

1
2
parameters(r, i0, c, N)
kr(r, i0, c)

Arguments

r

the number of points that are at the same distance c

i0

which i0-th nearest neighbour we are considering.

c

the distance of the i-th nearest neighbour

N

sample size

Value

for kr the number of possibilities to place r points onto the same distance when we already observed i0 points at a smaller distance

for parameters the probability of observing r NN distances at distance c, all previous NN distances at distance < c and all following NN distances at a distance > c

Author(s)

Sebastian D<c3><bc>mcke duemcke@mpipz.mpg.de

Examples

1
2
knnIndep:::kr(3,5,6)
knnIndep:::parameters(3,5,6,20)

knnIndep documentation built on May 29, 2017, 4:26 p.m.

Search within the knnIndep package
Search all R packages, documentation and source code