Description Usage Arguments Details Note Author(s) References See Also Examples

Approximate number of contingency tables with specified marginal totals.

1 |

`x` |
An integer-valued matrix (with no |

`method` |
The method to use; one of |

`...` |
Further arguments (notably |

All formulae and terminology taken from Good 1976. The letters A-D are from the approximations given on pages 1167 and 1168.

**Note** This function will accept matrices with any `NA`

entries, but a warning is given. The number of permissable boards
will be less than the number of permissible contingency tables
considered by Good.

The approximations are intended to provide rough-and-ready upper
bounds for boards that have a few `NA`

s.

Method “A” is the exact answer, given by
`no.of.boards()`

. Do not use this on large matrices!

Methods “B”, “C”, and “D” give (according to Good) increasingly accurate approximations to the exact answer.

Robin K. S. Hankin

I. J. Good 1976.

*On the Application of Symmetric Dirichlet Distributions and Their Mixtures to Contingency Tables*. The Annals of Statistics 4(6):1159–1189

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.