Giter Club home page Giter Club logo

hhg-test's Introduction

hhg-test

Heller-Heller-Gorfine multivariate test of association

Getting Started

inversions.c must be compiled from C source code into a MEX file.

Prerequisites

This code was tested in MATLAB R2017b. A MATLAB-compatible C compiler is required, as is the MATLAB Statistics and Machine Learning Toolbox.

Usage

HHGPermutationTest takes five input arguments:

  1. X: The first input data matrix. Rows are assumed to represent samples, and columns are assumed to represent dimensions.
  2. Y: The second input data matrix. Y must contain the same number of samples as X.
  3. nperm: The number of permutations to perform. The default value is 100.
  4. maxN: The maximum sample size for which the full distance matrices will be held in memory. If the sample size exceeds maxN, the distance matrices will be computed incrementally and stored on disk.

Once computation is completed, HHGPermutationTest returns up to three output arguments:

  1. p: The p-value of the permutation test. If p < 1/nperm, a value of 0 is returned.
  2. t: The value of the HHG test statistic.
  3. pstat: The values of the HHG test statistic for each permutation.

References

  1. Heller, R., Heller, Y., & Gorfine, M. (2012). "A consistent multivariate test of association based on ranks of distances." Biometrika, 100(2), 503-510. (Link)

License

This project is licensed under the MIT License.

hhg-test's People

Contributors

jzavatoneveth avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

hhg-test's Issues

Problem with the compiler

Hey, sorry to bother but every time I try to run your HHG-test I get this error message back.
I am unsure where it is coming from as I have a compiler and the Machine Learning and statistics toolbox installed. Let me know if you might know where this is coming from?
Thanks
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.