ustats: R Interface to Python Tools for Computing Higher-Order
U-Statistics
Provides an R interface to the Python package 'u-stats'
<https://pypi.org/project/u-stats/> for efficient computation of
higher-order U-statistics using Einstein summation notation,
implementing the methods of Chen, Zhang, and Liu (2025)
<doi:10.48550/arXiv.2508.12627>. The
package automatically converts R objects to 'NumPy' or 'PyTorch'
tensors via 'reticulate' and supports GPU acceleration when 'PyTorch'
with 'CUDA' is available. Python dependencies are declared via
'reticulate' and can be installed automatically on first use.
Designed for large-scale statistical estimation where numerical
stability and performance are critical.
| Version: |
0.1.5 |
| Imports: |
reticulate (≥ 1.41) |
| Suggests: |
knitr, rmarkdown, rstudioapi, testthat (≥ 3.0.0) |
| Published: |
2026-06-18 |
| DOI: |
10.32614/CRAN.package.ustats (may not be active yet) |
| Author: |
Xingyu Chen [aut, cre],
Ruiqi Zhang [aut],
Lin Liu [aut] |
| Maintainer: |
Xingyu Chen <xingyuchen0714 at sjtu.edu.cn> |
| BugReports: |
https://github.com/cxy0714/U-Statistics-R/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/cxy0714/U-Statistics-R,
https://pypi.org/project/u-stats/ |
| NeedsCompilation: |
no |
| SystemRequirements: |
Python (>= 3.11); Python packages: u-stats, numpy,
torch (installed automatically on first use, or via
setup_ustats()) |
| Language: |
en-US |
| Materials: |
NEWS |
| CRAN checks: |
ustats results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=ustats
to link to this page.