CircNNTSRmult-package {CircNNTSRmult}R Documentation

Multivariate Circular Data using MNNTS Models

Description

A collection of utilities for the statistical analysis of multivariate circular data using distributions based on Multivariate Nonnegative Trigonometric Sums (MNNTS). The package includes functions for calculation of densities and distributions, for the estimation of parameters, and more.

Details

Package: CircNNTSRmult
Type: Package
Version: 0.1.0
Date: 2023-09-09
License: GLP (>=2)
Depends: R (>= 3.5.0), stats, psychTools, CircNNTSR
LazyLoad: yes
NeedsCompilation: no

The MNNTS (multivariate NNTS) density on a d-dimensional (d>2) hypertorus by Fernandez-Duran and Gregorio-Dominguez (2014) (see also Fernandez-Duran and Gregorio-Dominguez, 2016) for a vector of angles, \underline{\Theta}=(\Theta_1,\Theta_2, \ldots, \Theta_d)^\top, is defined as

f_{\underline{\Theta}}(\underline{\theta}) = \frac{1}{(2\pi)^d}\underline{c}_{12 \cdots d}^H\underline{e}\underline{e}^H\underline{c}_{12 \cdots d}

= \frac{1}{(2\pi)^d}\sum_{k_1=0}^{M_1}\sum_{k_2=0}^{M_2} \cdots \sum_{k_d=0}^{M_d}\sum_{m_1=0}^{M_1}\sum_{m_2=0}^{M_2} \cdots \sum_{m_d=0}^{M_d} c_{k_1 k_2 \cdots k_d}\bar{c}_{k_1 k_2 \cdots k_d}e^{\sum_{r=1}^d i(k_r-m_r)\theta_r} \nonumber \\

where \underline{c}_{12 \cdots d} is a d-dimensional parameter vector of complex numbers of dimension 2\prod_{r=1}^{d}(M_r+1) - 1 with subindexes given for all the combinations (Kronecker products) of the d vectors \underline{M}_r=(0,1, \ldots, M_r)^\top for r=1,2, \ldots, d where M_r is the number of terms of the sum in the equation for the r-th component of the vector \underline{\Theta}. The vector \underline{c}_{12 \cdots d} must satisfy \underline{c}_{12 \cdots d}^H\underline{c}_{12 \cdots d}=||\underline{c}_{12 \cdots d}||^2=\sum_{k_1=0}^{M_1}\sum_{k_2=0}^{M_2} \cdots \sum_{k_d=0}^{M_d} ||c_{k_1k_2 \cdots k_d}||^2=1. For identifiabily, c_{00 \cdots 0} is a nonnegative real number. The vector \underline{c}_{12 \cdots d}^H is the Hermitian (conjugate and transpose) of vector \underline{c}_{12 \cdots d}. The MNNTS family has many desirable properties, the marginal and conditional densities of any order of an MNNTS density are also MNNTS densities and, independence among the elements of the vector \underline{\Theta} is translated into a Kronecker product decomposition in the parameter vector \underline{c}_{12 \cdots d}. For example, in the trivariate case \underline{\Theta}=(\Theta_1, \Theta_2, \Theta_3)^\top, if \Theta_1, \Theta_2 and \Theta_3 are joint independent then, \underline{c}_{123}=\underline{c}_{1} \bigotimes \underline{c}_{2} \bigotimes \underline{c}_{3} where \underline{c}_1, \underline{c}_2 and \underline{c}_3 are the parameter vectors of the NNTS marginal densities of \Theta_1, \Theta_2 and \Theta_3, respectively. Similarly, if \Theta_1 is groupwise independent of (\Theta_2,\Theta_3)^\top then, \underline{c}_{123}=\underline{c}_{1} \bigotimes \underline{c}_{23} where \underline{c}_{23} is the parameter vector of the bivariate MNNTS density of (\Theta_2,\Theta_3)^\top. These results apply to higher dimensions.

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Maintainer: Maria Mercedes Gregorio Dominguez <mercedes@itam.mx>

References

Fernandez-Duran, J. J. and Gregorio-Dominguez M. M. (2014) Modeling angles in proteins and circular genomes using multivariate angular distributions based on nonnegative trigonometric sums. Statistical Applications in Genetics and Molecular Biology, 13(1), 1-18.

Fernandez-Duran, J. J. and Gregorio-Dominguez, M. M. (2016). CircNNTSR: an R package for the statistical analysis of circular, multivariate circular, and spherical data using nonnegative trigonometric sums. Journal of Statistical Software, 70, 1–19.

Fernandez-Duran, J. J. and Gregorio-Dominguez, M. M (2023). Multivariate Nonnegative Trigonometric Sums Distributions for High-Dimensional Multivariate Circular Data, arXiv preprint arXiv:2301.03643v2


[Package CircNNTSRmult version 0.1.0 Index]