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

This function computes the p-value for an association score using interpolation from a precomputed table (fast - only available for the bivariate case) or using a permutation test.

1 | ```
ma.test(d, maStruct, permPartition, lookup, reps)
``` |

`d` |
the data set |

`maStruct` |
the structure returned by a call to |

`permPartition` |
a permutation partition for the data set depending on
the statistical question being asked.
Defaults to the partition returned by the call to |

`lookup` |
logical, if TRUE then a p-value is interpolated from a table of precomputed p-values. If FALSE then a monte carlo simulation is carried out. Table lookup is only accurate for associations on bivariate data with number of samples <= 400. By default, lookup is TRUE. |

`reps` |
no of repeats for the monte carlo simulation. defaults to 1000. |

Computes a p value for an association from the likelihood ratio statistic
computed by `ma`

. Uses interpolation by default for bivariate associations,
and permutation testing for multivariate associations.

Returns a real number in the range [0,1].

Ben Murrell, Dan Murrell & Hugh Murrell.

Discovering general multidimensional associations, http://arxiv.org/abs/1303.1828

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.