Package: HDElliptical 0.1.3

Long Feng

HDElliptical: High-Dimensional Methods for Elliptically Symmetric Distributions

Fast, documented implementations of robust estimation, testing, dimension reduction, classification, and clustering methods for high-dimensional elliptically symmetric data. Computational kernels use 'Rcpp' and 'RcppArmadillo'. The package follows methods reviewed in Feng (2026), "High-Dimensional Data Analysis for Elliptically Symmetric Distributions" <https://github.com/flnankai/HDElliptical/releases>.

Authors:Long Feng [aut, cre, cph], Dan Zhuang [ctb]

HDElliptical_0.1.3.tar.gz
HDElliptical_0.1.3.zip(r-4.7-x86_64)HDElliptical_0.1.3.zip(r-4.7-arm64)HDElliptical_0.1.3.zip(r-4.6-x86_64)HDElliptical_0.1.3.zip(r-4.6-arm64)HDElliptical_0.1.3.zip(r-4.5-x86_64)
HDElliptical_0.1.3.tgz(r-4.6-x86_64)HDElliptical_0.1.3.tgz(r-4.6-arm64)HDElliptical_0.1.3.tgz(r-4.5-x86_64)HDElliptical_0.1.3.tgz(r-4.5-arm64)
HDElliptical_0.1.3.tar.gz(r-4.7-arm64)HDElliptical_0.1.3.tar.gz(r-4.7-x86_64)HDElliptical_0.1.3.tar.gz(r-4.6-arm64)HDElliptical_0.1.3.tar.gz(r-4.6-x86_64)
HDElliptical_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
HDElliptical/json (API)

# Install 'HDElliptical' in R:
install.packages('HDElliptical', repos = c('https://flnankai.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/flnankai/hdelliptical/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

4.60 score 134 downloads 176 exports 3 dependencies

Last updated from:00a73b1ac5. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK429
linux-devel-x86_64OK530
source / vignettesOK729
linux-release-arm64OK461
linux-release-x86_64OK367
macos-release-arm64OK394
macos-release-x86_64OK757
macos-oldrel-arm64OK371
macos-oldrel-x86_64OK879
windows-devel-arm64OK762
windows-devel-x86_64OK696
windows-release-arm64OK882
windows-release-x86_64OK651
windows-oldrel-x86_64OK691
wasm-releaseOK384

Exports:acg_loglikbai_saranadasa_two_sample_testbasic_shapebasics_shapebickel_levina_covariance_thresholdbook_gaussian_alpha_cauchy_testcai_liu_adaptive_covariance_thresholdcai_liu_xia_two_sample_testcca_bartlett_testchen_qin_two_sample_testchen_song_feng_rank_white_noise_testchen_zhang_zhong_covariance_testcheng_sscm_equality_testchime_clusteringclassical_ccaclassical_cusum_testclassical_lda_classifierclassical_pcaclassical_qda_classifierclime_precisioncomposite_t2_two_sample_testconditional_alpha_sieve_designconditional_alpha_sieve_fitconditional_factor_wald_testdsda_classifierec2_covarianceelliptical_factor_numberelliptical_factor_precisionelliptical_oracle_classifierelliptical_regularized_hotelling_cauchy_testelliptical_regularized_hotelling_testerht_change_point_testerht_wbsfair_classifierfantope_pcafeng_jiang_liu_xiong_panel_independence_testfeng_lan_liu_ma_alpha_max_testfeng_liu_ma_white_noise_testfeng_liu_rank_sphericity_testfeng_spatial_rank_proportionality_testfeng_sun_one_sample_testfeng_wang_pdq_two_sample_testfeng_zhang_liu_spatial_rank_testfeng_zou_wang_two_sample_sign_testfeng_zou_wang_zhu_two_sample_testfisher_sun_gallagher_sphericity_testgaussian_alpha_combination_testgaussian_covariance_lrtgaussian_graphical_lassogaussian_lda_oraclegaussian_mixture_emgaussian_qda_oraclegaussian_wilks_independence_testgeneralized_sign_pcageneric_weighted_hr_locationgqda_classifiergrs_alpha_testhallin_paindaveine_shape_testhd_classifier_fithigh_dimensional_hrhotelling_one_sample_testhotelling_two_sample_testhr_estimatorhr_gqdahr_qdaif_pcaindependence_classifierinst_one_sample_testjiang_da_qdajohn_sphericity_testk_spatial_mediankendall_factor_numberkendall_pcali_chen_covariance_testli_shao_sparse_qdali_wang_zou_two_sample_sign_testlinear_pool_covarianceliu_feng_ma_spatial_sign_alpha_testlloyd_kmeanslpd_classifierma_feng_wang_bao_conditional_alpha_testma_lan_su_tsai_conditional_alpha_sum_testmauchly_sphericity_testnagao_identity_testnormalize_shapeollila_raninen_shrinkage_covarianceoracle_weighted_sign_sum_testpark_ayyala_one_sample_testpesaran_cd_testpesaran_yamagata_alpha_testpmd_sparse_ccapmd_sparse_pcapoet_covariancepoet_tmeregularized_spatial_sign_covariancerellipticalrobust_factor_subspacerobust_gqdarothman_levina_zhu_covariance_thresholdrsphericalrts_factorscaled_spatial_mediansdar_qdasemc_fitsemc_select_k_gapshao_threshold_ldasign_whitened_sparse_ccasm_sscmsparse_k_spatial_mediansparse_kmeanssparse_kmeans_select_ssparse_kmediansparse_plugin_ldasparse_plugin_qdasparse_sm_select_ksparse_sm_select_tausparse_spatial_sign_pcaspatial_kendallspatial_medianspatial_rankspatial_rank_covariancespatial_rank_testspatial_signspatial_sign_change_point_testspatial_sign_max_testspatial_sign_maxsum_testspatial_sign_pcaspatial_sign_poetspatial_sign_precisionspatial_sign_precision_ldaspatial_sign_sphericity_testspatial_sign_testspatial_signed_rank_testsrivastava_du_one_sample_testsrivastava_katayama_kano_two_sample_testssccasscmssldassqdatensor_spatial_sign_precisionthreshold_spatial_sign_precisionthreshold_tensor_spatial_sign_precisiontinst_two_sample_testtruncated_power_pcatyler_shapewang_feng_dms_testwang_liu_feng_ma_serial_panel_testwang_liu_feng_vector_independence_testwang_liu_feng_vector_u_independence_testwang_peng_li_one_sample_testwang_xu_approx_randomization_testwang_yao_corrected_john_testwang_yao_corrected_lrtwang_zhao_feng_wang_mutual_fund_fdrweighted_scaled_spatial_medianweighted_spatial_sign_alpha_oracle_testwhite_noise_portmanteau_testxu_lin_wei_pan_aspu_testyan_zhao_feng_weighted_max_testyan_zhao_feng_weighted_maxsum_testzhang_feng_radial_directional_testzhang_feng_rank_one_sample_testzhang_feng_rank_two_sample_testzhang_zhou_guo_linear_hypothesis_testzhang_zhou_guo_one_sample_testzhang_zhou_guo_paired_testzhang_zhu_zhang_two_sample_testzhao_chen_wang_spatial_sign_white_noise_testzhao_chen_zi_inst_alpha_testzhao_conditional_spatial_sign_sum_testzhao_feng_strongcorr_sign_testzhao_feng_wang_wang_robust_alpha_testzhao_wang_conditional_spatial_sign_testzhao_yang_zhang_feng_wang_adaptive_sphericity_testzhao_yang_zhang_feng_wang_sign_max_testzou_peng_feng_wang_sphericity_test

Dependencies:mvtnormRcppRcppArmadillo

Chapter 1: Robust Directional Foundations
Simulating an elliptical sample | Location and directional covariance | Affine-equivariant shape

Last update: 2026-08-15
Started: 2026-08-15

Chapter 2: Location Tests
A reproducible sample | Fixed-dimensional reference procedures | High-dimensional quadratic and diagonal procedures | Precision-adjusted maximum testing | High-dimensional sign tests | Failure policy

Last update: 2026-08-15
Started: 2026-08-15

Readme and manuals

Help Manual

Help pageTopics
Angular central Gaussian log-likelihoodacg_loglik
Original Bai-Saranadasa two-sample mean testbai_saranadasa_two_sample_test
BASIC bias-adjusted spatial-sign shape estimatorbasic_shape
BASICS shrinkage plus bias-adjusted shape estimatorbasics_shape
Bickel-Levina hard-thresholded covariance estimatorbickel_levina_covariance_threshold
Book Gaussian alpha Cauchy benchmarkbook_gaussian_alpha_cauchy_test
Cai-Liu adaptive covariance thresholdingcai_liu_adaptive_covariance_threshold
Cai-Liu-Xia precision-adjusted two-sample maximum testcai_liu_xia_two_sample_test
Bartlett likelihood-ratio approximation for canonical correlationscca_bartlett_test
Chen-Qin two-sample high-dimensional mean testchen_qin_two_sample_test
Chen-Song-Feng rank-based max white-noise testchen_song_feng_rank_white_noise_test
Chen-Zhang-Zhong high-dimensional covariance testchen_zhang_zhong_covariance_test
Cheng-Liu-Peng-Zhang-Zheng two-sample SSCM testcheng_sscm_equality_test
CHIME clustering for a two-component Gaussian mixturechime_clustering
Classical canonical correlation analysisclassical_cca
Classical CUSUM change-point testclassical_cusum_test
Classical plug-in linear discriminant classifierclassical_lda_classifier
Classical principal component analysis with explicit covariance conventionclassical_pca
Classical plug-in quadratic discriminant classifierclassical_qda_classifier
Classical spatial sign and rank location testsclassical_spatial_tests spatial_rank_test spatial_signed_rank_test spatial_sign_test
Gaussian CLIME sparse precision estimatorclime_precision
Feng-Zou-Wang-Zhu Composite T-squared two-sample testcomposite_t2_two_sample_test
Construct a conditional-alpha sieve design from a supplied basisconditional_alpha_sieve_design
Fit the restricted conditional-alpha sieve regressionconditional_alpha_sieve_fit
Fixed-dimensional conditional-factor Wald benchmarkconditional_factor_wald_test
Direct sparse discriminant analysisdsda_classifier
EC2 sparse covariance estimation with an eigenvalue constraintec2_covariance
Select the number of spikes in an elliptical factor modelelliptical_factor_number
Sparse precision estimation for an elliptical factor fitelliptical_factor_precision
Exact oracle classifier for two elliptical populationselliptical_oracle_classifier
Elliptical regularized Hotelling test with Cauchy aggregationelliptical_regularized_hotelling_cauchy_test
Elliptical regularized Hotelling fixed-ridge testelliptical_regularized_hotelling_test
Elliptical regularized Hotelling change-point scanerht_change_point_test
Wild binary segmentation with the ERHT local scoreerht_wbs
Features annealed independence rule (FAIR)fair_classifier
Fantope projection and selection sparse PCAfantope_pca
Feng-Jiang-Liu-Xiong max-sum panel-independence testfeng_jiang_liu_xiong_panel_independence_test
Feng-Lan-Liu-Ma high-dimensional maximum alpha testfeng_lan_liu_ma_alpha_max_test
Feng-Liu-Ma high-dimensional white-noise testfeng_liu_ma_white_noise_test
Feng-Liu spatial-rank sphericity testsfeng_liu_rank_sphericity_test
Feng-Zhang-Liu spatial-rank proportionality testfeng_spatial_rank_proportionality_test
Feng-Sun scalar-invariant one-sample spatial-sign testfeng_sun_one_sample_test
Feng-Wang pairwise-difference-quantile spatial-sign testfeng_wang_pdq_two_sample_test
Feng-Zhang-Liu high-dimensional two-sample spatial-rank testfeng_zhang_liu_spatial_rank_test
Feng-Zou-Wang two-sample multivariate-sign testfeng_zou_wang_two_sample_sign_test
Feng-Zou-Wang-Zhu scale-invariant Behrens-Fisher testfeng_zou_wang_zhu_two_sample_test
Fisher-Sun-Gallagher fourth-to-second trace sphericity testfisher_sun_gallagher_sphericity_test
Feng-Lan-Liu-Ma adaptive Gaussian alpha testgaussian_alpha_combination_test
Classical Gaussian likelihood-ratio test for a covariance matrixgaussian_covariance_lrt
Gaussian graphical lasso with an off-diagonal penaltygaussian_graphical_lasso
Oracle Gaussian linear discriminant classifiergaussian_lda_oracle
Full-covariance Gaussian-mixture EMgaussian_mixture_em
Oracle Gaussian quadratic discriminant classifiergaussian_qda_oracle
Gaussian Wilks block-independence testgaussian_wilks_independence_test
Generalized spatial-sign principal component analysisgeneralized_sign_pca
Generic weighted Hettmansperger-Randles location estimatorgeneric_weighted_hr_location
Generalized quadratic discriminant analysis for elliptical populationsgqda_classifier
Gibbons-Ross-Shanken exact alpha testgrs_alpha_test
Hallin-Paindaveine signed-rank test for elliptical shapehallin_paindaveine_shape_test
Construct a classifier from a scoring functionhd_classifier_fit
High-dimensional Hettmansperger-Randles estimationhigh_dimensional_hr
Classical Hotelling location testshotelling_one_sample_test hotelling_tests hotelling_two_sample_test
Hettmansperger-Randles affine-equivariant location and shapehr_estimator
High-dimensional HR generalized quadratic discriminant analysishr_gqda hr_qda
Influential features PCA clusteringif_pca
Diagonal-covariance independence classifierindependence_classifier
Feng-Liu-Ma one-sample inverse norm sign testinst_one_sample_test
Jiang-Wang-Leng direct sparse QDAjiang_da_qda
John's classical trace test of Gaussian sphericityjohn_sphericity_test
K-spatial-median clusteringk_spatial_median
Robust factor-number selection from multivariate Kendall eigenvalueskendall_factor_number
Multivariate-Kendall principal component analysiskendall_pca
Li-Chen two-sample high-dimensional covariance equality testli_chen_covariance_test
Li-Shao thresholded sparse QDAli_shao_sparse_qda
Li-Wang-Zou simpler spatial-sign-based two-sample testli_wang_zou_two_sample_sign_test
Linear or convex pooling of covariance matriceslinear_pool_covariance
Liu-Feng-Ma robust spatial-sign sum alpha testliu_feng_ma_spatial_sign_alpha_test
Lloyd's deterministic K-means algorithmlloyd_kmeans
Linear programming discriminant classifierlpd_classifier
Ma-Feng-Wang-Bao conditional maximum and adaptive alpha testma_feng_wang_bao_conditional_alpha_test
Ma-Lan-Su-Tsai conditional high-dimensional alpha sum testma_lan_su_tsai_conditional_alpha_sum_test
Mauchly-Box likelihood-ratio test of Gaussian sphericitymauchly_sphericity_test
Nagao's classical Gaussian identity-covariance testnagao_identity_test
Normalize a shape matrixnormalize_shape
Ollila-Raninen elliptical shrinkage covariance estimatorollila_raninen_shrinkage_covariance
Oracle generic weighted-sign sum statisticoracle_weighted_sign_sum_test
Park-Ayyala one-sample high-dimensional mean testpark_ayyala_one_sample_test
Pesaran CD test for cross-sectional independencepesaran_cd_test
Pesaran-Yamagata large-N sum alpha testpesaran_yamagata_alpha_test
Penalized-matrix-decomposition sparse CCApmd_sparse_cca
Penalized-matrix-decomposition sparse PCApmd_sparse_pca
POET covariance estimator with a supplied factor countpoet_covariance
One-step Tyler POET estimator for an elliptical factor modelpoet_tme
Predict from a Chapter 5 classifierpredict.hd_classifier_fit
Predict from a semiparametric elliptical mixture fitpredict.semc_fit
Regularized spatial-sign covariance (RSSCM)regularized_spatial_sign_covariance
Simulate an elliptically symmetric samplerelliptical
Robust principal subspace for an elliptical factor modelrobust_factor_subspace
Generalized QDA from certified robust class fitsrobust_gqda
Rothman-Levina-Zhu generalized covariance thresholdingrothman_levina_zhu_covariance_threshold
Simulate a spherically symmetric samplerspherical
Robust two-step factor estimator based on multivariate Kendall's taurts_factor
Scaled spatial median with diagonal HR standardisationscaled_spatial_median
Sparse discriminant analysis with quadratic interactionssdar_qda
Semiparametric elliptical mixture clusteringsemc_fit
Select the SEMC cluster count by Gap-LSEsemc_select_k_gap
Shao-Wang-Deng-Wang thresholded sparse LDAshao_threshold_lda
Book sign-whitened sparse CCA variantsign_whitened_sparse_cca
Spatial-median clustering with a common SSCM metricsm_sscm
Sparse K-spatial-median clusteringsparse_k_spatial_median
Sparse K-means with ordered-pair BCSS weightssparse_kmeans
Select the sparse K-means L1 bound by permutation Gap calibrationsparse_kmeans_select_s
Coordinatewise sparse K-median clusteringsparse_kmedian
Sparse matrix plug-in LDA classifiersparse_plugin_lda
Certified sparse plug-in QDAsparse_plugin_qda
Select K for Sparse-SM by the BWDM rulesparse_sm_select_k
Select the Sparse-SM threshold by the permutation Gap criterionsparse_sm_select_tau
Sparse spatial-sign principal component analysissparse_spatial_sign_pca
Multivariate spatial Kendall matrixspatial_kendall
Spatial medianspatial_median
Empirical spatial ranksspatial_rank
Spatial rank covariance matrixspatial_rank_covariance
Spatial signsspatial_sign
Spatial-sign max-Linf, max-L2, and adaptive change-point testspatial_sign_change_point_test
Spatial-sign max test for a high-dimensional locationspatial_sign_max_test
Spatial-sign max-sum test for a high-dimensional locationspatial_sign_maxsum_test
Spatial-sign principal component analysisspatial_sign_pca
Spatial-sign POET estimator for an elliptical factor modelspatial_sign_poet
Robust spatial-sign SCLIME and SGLASSO precision estimationspatial_sign_precision
Spatial-sign precision plug-in LDAspatial_sign_precision_lda
Spatial-sign sphericity testspatial_sign_sphericity_test
Srivastava-Du one-sample high-dimensional mean testsrivastava_du_one_sample_test
Srivastava-Katayama-Kano two-sample mean testsrivastava_katayama_kano_two_sample_test
Primary spatial-sign sparse canonical correlation analysissscca
Spatial sign covariance matrixsscm
Spatial-sign direct sparse linear discriminant analysissslda
Spatial-sign sparse quadratic discriminant analysisssqda
Sparse tensor-elliptical precision matrices from tensor spatial signstensor_spatial_sign_precision
Threshold a spatial-sign precision estimatethreshold_spatial_sign_precision
Threshold fitted tensor spatial-sign precision matricesthreshold_tensor_spatial_sign_precision
Huang-Liu-Zhou-Feng two-sample inverse norm sign testtinst_two_sample_test
Truncated-power sparse principal componentstruncated_power_pca
Tyler's shape estimatortyler_shape
Wang-Feng double-max-sum change-point testwang_feng_dms_test
Wang-Liu-Feng-Ma serial-panel Fisher independence testwang_liu_feng_ma_serial_panel_test
Wang-Liu-Feng rank max-sum test for vector independencewang_liu_feng_vector_independence_test
Wang-Liu-Feng degenerate rank-U vector-independence testwang_liu_feng_vector_u_independence_test
Wang-Peng-Li one-sample high-dimensional spatial-sign testwang_peng_li_one_sample_test
Wang-Xu approximate randomization testwang_xu_approx_randomization_test
Wang-Yao corrected John's test of sphericitywang_yao_corrected_john_test
Wang-Yao corrected likelihood-ratio test of sphericitywang_yao_corrected_lrt
Robust mutual-fund selection with SS-BH or FSS-BHwang_zhao_feng_wang_mutual_fund_fdr
Weighted scaled spatial median and diagonal HR scaleweighted_scaled_spatial_median
Oracle weighted spatial-sign alpha statisticweighted_spatial_sign_alpha_oracle_test
Classical Box-Pierce or Ljung-Box white-noise testwhite_noise_portmanteau_test
Xu-Lin-Wei-Pan analytical adaptive sum-of-powers testxu_lin_wei_pan_aspu_test
Yan-Zhao-Feng weighted max testyan_zhao_feng_weighted_max_test
Yan-Zhao-Feng weighted max-sum testyan_zhao_feng_weighted_maxsum_test
Zhang-Feng radial-directional test of an elliptical modelzhang_feng_radial_directional_test
Zhang-Feng adaptive marginal-rank location testszhang_feng_rank_one_sample_test zhang_feng_rank_tests zhang_feng_rank_two_sample_test
Zhang-Zhou-Guo normal-reference mean testszhang_zhou_guo_linear_hypothesis_test zhang_zhou_guo_one_sample_test zhang_zhou_guo_paired_test zhang_zhou_guo_tests
Zhang-Zhu-Zhang normal-reference scale-invariant two-sample testzhang_zhu_zhang_two_sample_test
Zhao-Chen-Wang spatial-sign white-noise testzhao_chen_wang_spatial_sign_white_noise_test
Zhao-Chen-Zi inverse-norm sign alpha testzhao_chen_zi_inst_alpha_test
Zhao robust spatial-sign sum test for conditional alphazhao_conditional_spatial_sign_sum_test
Zhao-Feng strong-correlation spatial-sign wild-bootstrap testzhao_feng_strongcorr_sign_test
Zhao-Feng-Wang-Wang robust maximum and adaptive alpha testzhao_feng_wang_wang_robust_alpha_test
Zhao-Wang robust conditional maximum and adaptive alpha testzhao_wang_conditional_spatial_sign_test
Adaptive dense-sparse elliptical sphericity testzhao_yang_zhang_feng_wang_adaptive_sphericity_test
Zhao-Yang-Zhang-Feng-Wang spatial-sign max sphericity testzhao_yang_zhang_feng_wang_sign_max_test
Zou-Peng-Feng-Wang spatial-sign sphericity testzou_peng_feng_wang_sphericity_test