sphunif - Uniformity Tests on the Circle, Sphere, and Hypersphere
Implementation of uniformity tests on the circle and (hyper)sphere. The main function of the package is unif_test(), which conveniently collects more than 35 tests for assessing uniformity on S^{p-1} = {x in R^p : ||x|| = 1}, p >= 2. The test statistics are implemented in the unif_stat() function, which allows computing several statistics for different samples within a single call, thus facilitating Monte Carlo experiments. Furthermore, the unif_stat_MC() function allows parallelizing them in a simple way. The asymptotic null distributions of the statistics are available through the function unif_stat_distr(). The core of 'sphunif' is coded in C++ by relying on the 'Rcpp' package. The package also provides several novel datasets and gives the replicability for the data applications/simulations in García-Portugués et al. (2021) <doi:10.1007/978-3-030-69944-4_12>, García-Portugués et al. (2023) <doi:10.3150/21-BEJ1454>, García-Portugués et al. (2024) <doi:10.48550/arXiv.2108.09874>, and Fernández-de-Marcos and García-Portugués (2024) <doi:10.48550/arXiv.2405.13531>.
Last updated 9 months ago
circular-statisticsdirectional-statisticsuniformityuniformity-testsopenblascpp
5.73 score 8 stars 1 dependents 15 scripts 201 downloadsgoffda - Goodness-of-Fit Tests for Functional Data
Implementation of several goodness-of-fit tests for functional data. Currently, mostly related with the functional linear model with functional/scalar response and functional/scalar predictor. The package allows for the replication of the data applications considered in García-Portugués, Álvarez-Liébana, Álvarez-Pérez and González-Manteiga (2021) <doi:10.1111/sjos.12486>.
Last updated 1 years ago
functional-data-analysisgoodness-of-fitreproducible-researchstatisticsopenblascpp
4.76 score 10 stars 1 dependents 19 scripts 241 downloadsrotasym - Tests for Rotational Symmetry on the Hypersphere
Implementation of the tests for rotational symmetry on the hypersphere proposed in García-Portugués, Paindaveine and Verdebout (2020) <doi:10.1080/01621459.2019.1665527>. The package also implements the proposed distributions on the hypersphere, based on the tangent-normal decomposition, and allows for the replication of the data application considered in the paper.
Last updated 2 years ago
circular-statisticsdirectional-statisticsgoodness-of-fitsemiparametricstatisticscpp
4.58 score 2 stars 4 dependents 32 scripts 370 downloadsridgetorus - PCA on the Torus via Density Ridges
Implementation of a Principal Component Analysis (PCA) in the torus via density ridge estimation. The main function, ridge_pca(), obtains the relevant density ridge for bivariate sine von Mises and bivariate wrapped Cauchy distribution models and provides the associated scores and variance decomposition. Auxiliary functions for evaluating, fitting, and sampling these models are also provided. The package provides replicability to García-Portugués and Prieto-Tirado (2023) <doi:10.1007/s11222-023-10273-9>.
Last updated 1 years ago
circular-statisticsdimensionality-reductiondirectional-statisticsopenblascpp
4.30 score 4 stars 9 scripts 149 downloadsDirStats - Nonparametric Methods for Directional Data
Nonparametric kernel density estimation, bandwidth selection, and other utilities for analyzing directional data. Implements the estimator in Bai, Rao and Zhao (1987) <doi:10.1016/0047-259X(88)90113-3>, the cross-validation bandwidth selectors in Hall, Watson and Cabrera (1987) <doi:10.1093/biomet/74.4.751> and the plug-in bandwidth selectors in García-Portugués (2013) <doi:10.1214/13-ejs821>.
Last updated 2 years ago
directional-statisticsnonparametric-statisticsstatisticsfortran
4.26 score 12 stars 1 dependents 7 scripts 783 downloadssdetorus - Statistical Tools for Toroidal Diffusions
Implementation of statistical methods for the estimation of toroidal diffusions. Several diffusive models are provided, most of them belonging to the Langevin family of diffusions on the torus. Specifically, the wrapped normal and von Mises processes are included, which can be seen as toroidal analogues of the Ornstein-Uhlenbeck diffusion. A collection of methods for approximate maximum likelihood estimation, organized in four blocks, is given: (i) based on the exact transition probability density, obtained as the numerical solution to the Fokker-Plank equation; (ii) based on wrapped pseudo-likelihoods; (iii) based on specific analytic approximations by wrapped processes; (iv) based on maximum likelihood of the stationary densities. The package allows the replicability of the results in García-Portugués et al. (2019) <doi:10.1007/s11222-017-9790-2>.
Last updated 12 months ago
circular-statisticsinferencemaximum-likelihoodreproducible-researchsdestatisticstoroidal-dataopenblascpp
3.88 score 5 stars 1 dependents 9 scripts 230 downloads