This package gives you the exact first four permutation moments for the most commonly used quadratic form statistics, which need not be positive definite. The extension of this work to quadratic forms greatly expands the utility of density approximations for these problems, including for high-dimensional applications, where the statistics must be extreme in order to exceed stringent testing thresholds. Approximate p-values are obtained by matching the exact moments to the Pearson family of distributions using the PearsonDS package.

Version: | 1.0 |

Imports: | PearsonDS |

Published: | 2014-07-15 |

Author: | Yi-Hui Zhou |

Maintainer: | Yi-Hui Zhou <yihui_zhou at ncsu.edu> |

License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |

NeedsCompilation: | no |

CRAN checks: | quad results |

Reference manual: | quad.pdf |

Package source: | quad_1.0.tar.gz |

Windows binaries: | r-prerelease: quad_1.0.zip, r-release: quad_1.0.zip, r-oldrel: quad_1.0.zip |

macOS binaries: | r-prerelease: quad_1.0.tgz, r-release: quad_1.0.tgz, r-oldrel: quad_1.0.tgz |

Please use the canonical form
`https://CRAN.R-project.org/package=quad`
to link to this page.