powered by
Computes the number of fixed point iterations needed by fixreg to find mtf times a fixed point cluster (FPC) of size cn with an approximated probability of prob.
fixreg
mtf
cn
prob
Thought for use within fixreg.
itnumber(n, p, cn, mtf, prob = 0.95, maxir = 20000)
positive integer. Total number of points.
positive integer. Number of independent variables.
positive integer smaller or equal to n. Size of the FPC.
n
positive integer.
number between 0 and 1.
positive integer. itnumber is set to this value if it would otherwise be larger.
itnumber
An integer.
The computation is based on the binomial distribution with probability given by clusexpect with ir=1.
clusexpect
ir=1
Hennig, C. (2002) Fixed point clusters for linear regression: computation and comparison, Journal of Classification 19, 249-276.
fixreg, clusexpect
# NOT RUN { itnumber(500,4,150,2) # }
Run the code above in your browser using DataLab