Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Posts

Making a package from base R files

less than 1 minute read

Published:

This article tries to explain an approach to developing alternative versions of functions which are in the distributed base of R.

portfolio

publications

A Comparison of R Tools for Nonlinear Least Squares Modeling

Published in R Journal, 2023

Abstract
Our Google Summer of Code project “Improvements to nls ()” investigated rationalizing R tools for nonlinear regression and nonlinear estimation tools by considering usability, maintainability, and functionality, especially for a Gauss-Newton solver. The rich features of nls () are weakened by several deficiencies and inconsistencies such as a lack of stabilization of the Gauss-Newton solver. Further considerations are the usability and maintainability of the code base that provides the functionality nls () claims to offer. Various packages, including our nlsr, provide alternative capabilities. We consider the differences in goals, approaches, and features of different tools for nonlinear least squares modeling in R. Discussion of these matters is relevant to improving R generally as well as its nonlinear estimation tools.

Recommended citation: Nash, J. C., & Bhattacharjee, A. (2023). A Comparison of R Tools for Nonlinear Least Squares Modeling. R Journal, 15(4). https://journal.r-project.org/articles/RJ-2023-091/RJ-2023-091.pdf

Differentially Private Nonparametric Modal Learning with Applications to Regression and Clustering

Preprint, submitted to Journal of Machine Learning Research, 2026

Abstract
Existing private methods for estimating density modes mainly recover a single mode, while recovering all modes requires searches from multiple starting locations that can themselves reveal information about individual records. We propose DP-GRAMS, a differentially private algorithm that selects starting locations with a density-aware initialization on a public grid, moves each toward higher estimated density, and groups the endpoints into estimated modes, all within a single privacy budget. We prove that DP-GRAMS satisfies differential privacy and recovers every population mode with high probability, with error bounds that separate statistical error from the cost of privacy and a lower bound showing these rates are nearly optimal. We extend the method to modal regression and clustering and show that it preserves tumor-type separation in cancer gene-expression data.

Recommended citation: Bhattacharjee, A., & Auddy, A. (2026). Differentially Private Nonparametric Modal Learning with Applications to Regression and Clustering. arXiv:2607.29675. https://arxiv.org/abs/2607.29675

talks

teaching