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`

.

Thought for use within `fixreg`

.

1 | ```
itnumber(n, p, cn, mtf, prob = 0.95, maxir = 20000)
``` |

`n` |
positive integer. Total number of points. |

`p` |
positive integer. Number of independent variables. |

`cn` |
positive integer smaller or equal to |

`mtf` |
positive integer. |

`prob` |
number between 0 and 1. |

`maxir` |
positive integer. |

The computation is based on the binomial distribution with probability
given by `clusexpect`

with `ir=1`

.

An integer.

Christian Hennig c.hennig@ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche/

Hennig, C. (2002) Fixed point clusters for linear regression:
computation and comparison, *Journal of
Classification* 19, 249-276.

1 | ```
itnumber(500,4,150,2)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.