Package: qfratio
Type: Package
Title: Moments and Distributions of Ratios of Quadratic Forms Using
        Recursion
Version: 1.1.2
Date: 2026-07-22
Authors@R: c(person("Junya", "Watanabe",
                    email = "Junya.Watanabe@vetmeduni.ac.at",
                    role = c("aut", "cre", "cph"),
                    comment = c(ORCID = "0000-0002-9810-5286")),
             person("Patrick", "Alken", role = "cph",
                    comment = "Author of bundled C codes from GSL"),
             person("Brian", "Gough", role = "cph",
                    comment = "Author of bundled C codes from GSL"),
             person("Pavel", "Holoborodko", role = "cph",
                    comment = "Author of bundled C codes from GSL"),
             person("Gerard", "Jungman", role = "cph",
                    comment = "Author of bundled C codes from GSL"),
             person("Reid", "Priedhorsky", role = "cph",
                    comment = "Author of bundled C codes from GSL"),
             person("Free Software Foundation, Inc.", role = "cph",
                    comment = "Copyright holder of some bundled scripts"))
Description: Evaluates moments of ratios (and products) of quadratic forms
    in normal variables, specifically using recursive algorithms developed by
    Bao and Kan (2013) <doi:10.1016/j.jmva.2013.03.002> and Hillier et al.
    (2014) <doi:10.1017/S0266466613000364>. Also provides distribution,
    quantile, and probability density functions of simple ratios of quadratic
    forms in normal variables with several algorithms. Originally developed as
    a supplement to Watanabe (2023) <doi:10.1007/s00285-023-01930-8> for
    evaluating average evolvability measures in evolutionary quantitative
    genetics, but can be used for a broader class of statistics. Generating 
    functions for these moments are also closely related to the top-order zonal
    and invariant polynomials of matrix arguments.
License: GPL (>= 3)
URL: https://github.com/watanabe-j/qfratio
BugReports: https://github.com/watanabe-j/qfratio/issues
Imports: Rcpp, MASS, stats
LinkingTo: Rcpp, RcppEigen
Suggests: mvtnorm, CompQuadForm, graphics, testthat (>= 3.0.0), knitr,
        rmarkdown
Encoding: UTF-8
Config/testthat/edition: 3
VignetteBuilder: knitr, rmarkdown
Config/roxygen2/version: 8.0.0
NeedsCompilation: yes
Packaged: 2026-07-22 18:33:50 UTC; junya
Author: Junya Watanabe [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0002-9810-5286>),
  Patrick Alken [cph] (Author of bundled C codes from GSL),
  Brian Gough [cph] (Author of bundled C codes from GSL),
  Pavel Holoborodko [cph] (Author of bundled C codes from GSL),
  Gerard Jungman [cph] (Author of bundled C codes from GSL),
  Reid Priedhorsky [cph] (Author of bundled C codes from GSL),
  Free Software Foundation, Inc. [cph] (Copyright holder of some bundled
    scripts)
Maintainer: Junya Watanabe <Junya.Watanabe@vetmeduni.ac.at>
Repository: CRAN
Date/Publication: 2026-07-22 20:20:02 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-08-23 01:56:49 UTC; windows
Archs: x64
