Package: cxreg 1.1.4

cxreg: Complex-Valued Lasso and Complex-Valued Graphical Lasso

Implements 'glmnet'-style complex-valued lasso (CLASSO) and complex-valued graphical lasso (CGLASSO) via a pathwise coordinate descent algorithm for complex-valued parameters, using an isomorphism between complex numbers and 2x2 orthogonal matrices. Also provides a full inference pipeline for high-dimensional sparse spectral precision matrices, including data-driven bandwidth selection, one-step debiasing, asymptotic variance estimation, entry-wise confidence regions, and FDR-controlled hypothesis testing. Supporting tools for cross-validation, simulation, coefficient extraction, and plotting are included. See Deb, Kuceyeski, and Basu (2024) <doi:10.48550/arXiv.2401.11128> and Deb, Kim, and Basu (2026) <doi:10.48550/arXiv.2606.07986>.

Authors:Younghoon Kim [aut, cre], Navonil Deb [aut], Sumanta Basu [aut]

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

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

Bug tracker:https://github.com/yk748/cxreg/issues

Datasets:

On CRAN:

Conda:

4.70 score 8 scripts 240 downloads 17 exports 15 dependencies

Last updated from:4af3eac9c1. Checks:14 OK, 1 WARNING. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK128
linux-devel-x86_64OK155
source / vignettesOK415
linux-release-arm64OK241
linux-release-x86_64OK285
macos-release-arm64OK157
macos-release-x86_64OK236
macos-oldrel-arm64OK183
macos-oldrel-x86_64OK263
windows-devel-arm64OK372
windows-devel-x86_64OK148
windows-release-arm64WARNING377
windows-release-x86_64OK351
windows-oldrel-x86_64OK90
wasm-releaseOK276

Exports:buildPredmatcglassoclassoclasso.controlcoef.classocv.classodecglassodft.alldft.jfhat_atpredict.classoprint.classoprint.cv.classoselect_mspec.fdrspec.testvar.cov

Dependencies:codetoolsdotCall64fieldsforeachgdatagtoolsiteratorslatticemapsMatrixmvtnormRColorBrewerRcppspamviridisLite

An Introduction to cxreg
Introduction | Installation | Example: classo | Example: cglasso | Example: Sparse Spectral Precision Matrix Estimation | Step 1 — Generate a multivariate Gaussian white noise process: | Step 2 — Compute the DFT and smoothed periodogram: | Step 3 — Estimate sparse spectral precision matrix via \texttt{cglasso}: | Step 4 — Visualize the estimated spectral precision matrix: | Step 5 — Compare to the true precision matrix:

Last update: 2026-08-23
Started: 2025-07-01

Inference for Sparse Spectral Precision Matrices with cxreg
Introduction | Background | Spectral density and the DFT | The CGLASSO and deCGLASSO estimators | Step 1 — Generate a multivariate white noise process | Step 2 — Bandwidth selection via GCV | Step 3 — Compute the DFT and smoothed periodogram | Step 4 — Fit CGLASSO and compute the deCGLASSO estimator | Step 5 — Estimate the asymptotic variance | Step 6 — Entry-wise tests and confidence regions | Step 7 — FDR-controlled support recovery | Summary of functions | References

Last update: 2026-08-23
Started: 2026-08-23

Readme and manuals

Help Manual

Help pageTopics
Complex-valued Lasso, graphical Lasso, and spectral inferencecxreg-package
Build Prediction MatrixbuildPredmat buildPredmat.default
fit a complex-valued graphical lassocglasso
Example data for cglassocglasso_example
fit a complex-valued graphical Lasso for a path of lambda valuescglasso.path
fit a complex-valued lassoclasso
Example data for classoclasso_example
Internal classo parametersclasso.control
fit a complex-valued lasso for a path of lambda valuesclasso.path
Extract coefficients from a classo objectcoef.classo predict.classo
Extract coefficients from a cv.classo objectcoef.cv.classo
Cross-validation for classocv.classo
Simulated data for the cxreg vignettecxreg x y
Debias the cglasso estimatordecglasso
Discrete Fourier Transform of matrix Xdft.all
Discrete Fourier Transform of matrix X at a fixed frequency omega_jdft.j
Extract the family from a classo objectfamily.classo family.classofit family.cv.classo
Smoothed periodogram at a fixed frequencyfhat_at
Plot heatmap from a "cglasso" objectplot.cglasso
plot coefficients from a "classo" objectplot.classo
plot the cross-validation curve produced by cv.classoplot.cv.classo
Make predictions from a "cv.classo" objectpredict.cv.classo
print a classo objectprint.classo
print a cross-validated classo objectprint.cv.classo
Select the optimal bandwidth 'm' for spectral density estimationselect_m
FDR-controlled hypothesis testing for spectral precision matrix entriesspec.fdr
Confidence regions and test statistics for spectral precision matrix entriesspec.test
Variance-covariance estimation for the debiased spectral precision matrixvar.cov