The problem of computing the distribution of quadratic forms in normal variables has a long tradition in the statistical literature. Well-established numerical algorithms that deal with this task rely on the inversion of Fourier transforms or series representations. In this article, the Mellin transform is proposed as a tool to compute both the density and the cumulative distribution functions of a positive definite quadratic form: an outline of the numerical algorithm is presented, providing details on the error analysis. The algorithm’s characteristics allow us to propose an efficient way to compute the random variables’ quantiles. From the theoretical point of view, the analytic properties of the Mellin transform are exploited to provide a novel representation of the distribution of the ratio of independent quadratic forms as a mixture of beta random variables of the second kind. Moreover, algorithms are proposed for computations related to ratios of both independent and dependent quadratic forms. The methods are tested and compared to popular numerical algorithms in terms of computational times and accuracy. The R package QF implementing all the proposed algorithms is also made available. Supplementary materials for this article are available online.
Gardini, A., Greco, F., Trivisano, C. (2022). The Mellin Transform to Manage Quadratic Forms in Normal Random Variables. JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS, 31(4), 1416-1425 [10.1080/10618600.2022.2034639].
The Mellin Transform to Manage Quadratic Forms in Normal Random Variables
Gardini, Aldo
;Greco, Fedele;Trivisano, Carlo
2022
Abstract
The problem of computing the distribution of quadratic forms in normal variables has a long tradition in the statistical literature. Well-established numerical algorithms that deal with this task rely on the inversion of Fourier transforms or series representations. In this article, the Mellin transform is proposed as a tool to compute both the density and the cumulative distribution functions of a positive definite quadratic form: an outline of the numerical algorithm is presented, providing details on the error analysis. The algorithm’s characteristics allow us to propose an efficient way to compute the random variables’ quantiles. From the theoretical point of view, the analytic properties of the Mellin transform are exploited to provide a novel representation of the distribution of the ratio of independent quadratic forms as a mixture of beta random variables of the second kind. Moreover, algorithms are proposed for computations related to ratios of both independent and dependent quadratic forms. The methods are tested and compared to popular numerical algorithms in terms of computational times and accuracy. The R package QF implementing all the proposed algorithms is also made available. Supplementary materials for this article are available online.File | Dimensione | Formato | |
---|---|---|---|
11585_880552.pdf
Open Access dal 19/03/2023
Descrizione: Post-print con copertina
Tipo:
Postprint
Licenza:
Licenza per Accesso Aperto. Creative Commons Attribuzione - Non commerciale (CCBYNC)
Dimensione
470.79 kB
Formato
Adobe PDF
|
470.79 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.