Computes the minimum size of a fixed point cluster (FPC) which is
found at least mtf
times with approximated
probability prob
by
ir
fixed point iterations of fixreg
.
Thought for use within fixreg
.
minsize(n, p, ir, mtf, prob = 0.5)
positive integer. Total number of points.
positive integer. Number of independent variables.
positive integer. Number of fixed point iterations.
positive integer.
numerical between 0 and 1.
An integer.
The computation is based on the binomial distribution with probability
given by clusexpect
with ir=1
.
Hennig, C. (2002) Fixed point clusters for linear regression: computation and comparison, Journal of Classification 19, 249-276.
# NOT RUN { minsize(500,4,7000,2) # }