Two Sample Test with Distribution-Valued Data

1 2 |

`cases` |
name of case group data (matrix) |

`control` |
names of control group data (matrix) |

`rm.mean` |
standarize each rows of cases and control to mean=0. |

`rm.var` |
standarize each rows of cases and control to var=1. |

`paranum` |
the number of quatile discretization + 1. Default is discretized by 1 %. |

`q` |
power of Wasserstein metric. Default is q = 2. |

`bsn` |
the number of resampling. Default is bsn = 5000. |

`seed` |
seed for random number generator. |

this function is designed for two sample test based on Wasserstein metric. The function computes the the p-values based Wasserstein metric and resampling method. If rm.mean=F and rm.var=F, then statistical test is performed only based on more than 3rd order moments.

pval p-value.

test.stat test statistic.

cases case group data used in the statistical test.

control control group data used in the statistical test.

Yusuke Matsui & Teppei Shimamura

Yusuke Matsui, Masahiro Mizuta, Satoru Miyano and Teppei Shimamura.(2015) D3M:Detection of differential distributions of methylation patterns (submitted). BIORXIV/2015/023879.

Antonio Irpino and Rossanna Verde.(2015) Basic Statistics for distributional symbolic variables: a new metric-based approach. Adv.Data.Anal.Classif(9) 143–175

1 2 3 4 |

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.

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.