Skip to content

balnet

0.0.4Package record

Pathwise Estimation of Covariate Balancing Propensity Scores

0packages depend
2.3Kdownloads / year
59.8%test coverage
13/13flavors OK

Overview

About

Provides pathwise estimation of regularized logistic propensity score models using covariate balancing loss functions rather than maximum likelihood. Regularization paths are fit via the 'adelie' elastic-net solver with a 'glmnet'-like interface, yielding balancing weights that target covariate balance for the ATE and ATT. Under lasso penalization, lambda bounds the maximum covariate imbalance, so the regularization path traces a sequence of decreasing imbalance tolerances. For details, see Sverdrup & Hastie (2026) doi:10.48550/arXiv.2602.18577.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
Show 4 earlier changesHide 4 earlier changes
  • NOTE12 OK, 1 NOTE2026-04-22
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-04-18
  • NOTE9 OK, 1 NOTE2026-04-08
  • OK4 OK2026-04-04
Advisories

none known

Documentation

In release 0.0.4
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNo
Help pages
18 (5 internal)
Examples that run
0%11 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
11%

Downloads

2.3K
CRAN downloads in the past year
Rank #11,536 · ~6/day · ~196/mo
Daily download trend is not available in this view yet.
28630 days
94090 days
2.3K1 year
Compare downloads with other packages →
Also on223 r2u44 autocran

Repository

4Stars
1Forks
11Open issues
0Open PRs
0Releases
186Commits
2Commit identities
causal-inference
License file reads as MIT · 186 commits · Last activity 2026-08-26 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
12
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-01-15 · 12026-07-07 · 4
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/erikcs/balnet on 2026-10-21.

Continuous integration (1)
GitHub Actions
Docs source (2)

GitHub Pages site last deployed 2026-08-26 · The repository has a site deploy workflow

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing balnet adds 2 packages (2 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (0)
none
Imports (3)
RcppMatrixmethods
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.0.1 (2026)
Contributor
Author of the bundled adelie C++ library.
Releases (4)

Pick two releases to compare their code metrics.

Package metadata

First published
2026-04-03
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Download size
299 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("balnet")
Sverdrup, E., Hastie, T., & Yang, J. (2026). balnet: Pathwise Estimation of Covariate Balancing Propensity Scores (Version 0.0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.balnet

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for balnet version 0.0.4 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy