Search arXiv⌕ Search

arXiv · 2611.15676

NEVEN: An Open-Source Polyglot Infrastructure Bridging Statistical Computing and Spreadsheet Workflows for Reproducible Research

Abstract

We present NEVEN, an open-source infrastructure that embeds R, Julia, Python, Quarto, and JavaScript visualization libraries into Excel through native worksheet formulas. Users run econometric estimators, solve differential equations, and compile reproducible reports using expressions such as =R.MR_Lineal(...), =J.Optimize(...), and =P.ai_call(...), without procedural programming or external application switching. The platform offers over 70 R statistical procedures, 70 high-level Julia procedures backed by more than 200 mathematical functions, and full Python 3 integration for statistical computing and numerical analysis. Each language runtime runs in an independent operating-system process connected to the Excel XLL host via Windows Named Pipes and Protocol Buffers. Fatal errors terminate only the affected child process, leaving Excel operational. A static security sandbox checks user code against 25-30 restricted patterns per language, blocking shell execution, file deletion, unauthorized network access, and dynamic evaluation through five bypass-prevention mechanisms validated by 133 tests. An embedded WebView2 engine displays interactive Plotly charts, D3.js network and hierarchical visualizations, Leaflet maps, pivot tables, LaTeX notation, PDF documents, and Pluto.jl reactive notebooks through a unified formula, =NEVEN.v(). The docked NEVEN Studio environment offers nine specialized modules, including a Chart Gallery with 325 templates, an in-memory DuckDB SQL console, a retrieval-augmented AI assistant, and a multi-language script editor with English and Spanish localization. Econometric estimates match published benchmarks to four decimal places, while Julia linear algebra decompositions achieve machine-precision accuracy (relative error below 10^-14). Released under GNU General Public License v3, NEVEN includes 342 automated unit, property-based, and integration tests.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Minor Bonilla-Gomez, Javier Trejos-Zelaya. 2026-11-11. NEVEN: An Open-Source Polyglot Infrastructure Bridging Statistical Computing and Spreadsheet Workflows for Reproducible Research. https://searcharxiv.org/abs/2611.15676

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

dapper: Data Augmentation for Private Posterior Estimation in R

This paper serves as a reference and introduction to using the R package dapper. dapper encodes a sampling framework which allows exact Markov chain Monte Carlo simulation of parameters and latent variables in a statistical model given privatized data. The goal of this package is to fill an urgent need by providing applied researchers with a flexible tool to perform valid Bayesian inference on data protected by differential privacy, allowing them to properly account for the noise introduced for privacy protection in their statistical analysis. dapper offers a significant step forward in providing general-purpose statistical inference tools for privatized data.

stat.CO↗

WAIVES: Weak-form Asymptotically-unbiased Instrumental-Variable Estimation for SDEs

Weak-form methods have transformed inference for deterministic dynamical systems. By integrating the governing equations against smooth, compactly supported test functions, they trade noise-amplifying differentiation for noise-attenuating integration, yielding fast and robust estimates. Extending this idea to stochastic differential equations (SDEs) has proven harder, and a consistent single-trajectory formulation in the time domain has remained out of reach. Applied naively in the time domain, the weak form makes the regressors and the errors functionals of the same noise, creating endogeneity that leaves weak-form least squares biased and inconsistent. We resolve it with instrumental variables, a classical idea from econometrics. Weak-form integrals over nearby disjoint time windows prove to be valid instruments, correlated with the regressors yet uncorrelated with the error, restoring consistency and asymptotic normality. The resulting generalized-method-of-moments estimator, WAIVES (Weak-form Asymptotically-unbiased Instrumental-Variable Estimation for SDEs), requires only a linear solve, with no likelihood evaluations, filtering, or simulation. It is therefore an order of magnitude faster than exact-likelihood methods where those exist, and it applies unchanged where they do not, with standard errors and calibrated confidence intervals supplied by the moment conditions. It also separates measurement noise from the intrinsic randomness of the dynamics. Across nine example systems, spanning linear, bistable, chaotic, excitable, state-dependent-diffusion, non-polynomial, hypoelliptic, and high-dimensional regimes (up to 120 dimensions), WAIVES recovers nonlinear drift and diffusion with negligible bias and near-nominal interval coverage. We close with two real-data illustrations: a 167-year North Atlantic sea-surface-temperature record and an optical-tweezer calibration.

stat.CO↗

Norm-equation methods for structured group-penalized regression

Group-penalized regression with correlated predictors requires block updates for which familiar group soft thresholding formulas are generally inapplicable. Although proximal-gradient methods can solve such updates directly, their computational cost depends on the penalty and the design. We develop a norm-equation framework for a Euclidean group penalty combined with a finite, closed, convex, positively homogeneous within-group penalty. Each nonzero block minimizer is characterized by a unique scalar root, evaluated through strongly convex inner problems without enumerating sparsity or fusion patterns. Valid inner subgradients provide computable bounds on the scalar function and the block Karush-Kuhn-Tucker (KKT) error. These bounds allow scalar-search decisions and acceptance of approximate updates without solving every inner problem to high accuracy. Accounting for gradient changes during a cyclic sweep then gives a computable global KKT bound. Combined with standard stochastic-score and restricted-curvature conditions, this bound leads to a regularization-scaled stopping rule under which approximate estimators retain the usual estimation and prediction rates. Experiments with sparse-group and fused sparse-group regression show that computational performance depends strongly on the inner solver, with coordinate-descent and dual implementations offering advantages over direct proximal methods in some highly correlated settings.

stat.CO↗