Skip to content

SAMBA

1.0.0Package record

Selection and Misclassification Bias Adjustment for Logistic Regression Models

1packages depend
2.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Health research using data from electronic health records (EHR) has gained popularity, but misclassification of EHR-derived disease status and lack of representativeness of the study sample can result in substantial bias in effect estimates and can impact power and type I error for association tests. Here, the assumed target of inference is the relationship between binary disease status and predictors modeled using a logistic regression model. 'SAMBA' implements several methods for obtaining bias-corrected point estimates along with valid standard errors as proposed in Beesley and Mukherjee (2020) doi:10.1111/biom.13400, Biometrics.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-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
  • OK13 OK2026-06-06
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 175 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 1.0.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
83%
Vignettes (1)

Downloads

2.9K
CRAN downloads in the past year
Rank #11,799 · ~8/day · ~244/mo
Daily download trend is not available in this view yet.
33130 days
91590 days
2.9K1 year
Compare downloads with other packages →
Also on74 r2u5 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing SAMBA adds 10 packages (5 with compiled code, 11 MB of source tarballs). Heaviest: survey 2.3 MB, optimx 2.2 MB, nloptr 2.1 MB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Maintainer since 1.0.0 (2026)

Previously maintained by Alexander Rix (0.9.0).

Releases (2)

Pick two releases to compare their code metrics.

  • 1.0.0Latest
    record
    2026-06-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.0
    record
    2020-02-20
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-02-20
Total releases
2 / 6 yrs
License
GPL-3 OSI
Bundled data
52 KB / 1 file
Download size
425 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("SAMBA")
Beesley, L., & Rix, A. (2026). SAMBA: Selection and Misclassification Bias Adjustment for Logistic Regression Models (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.SAMBA

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 SAMBA version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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