Skip to content

SAMBA

1.0.0

Selection and Misclassification Bias Adjustment for Logistic Regression Models

1packages depend
2.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Lauren BeesleyFirst published 2020-02-202 releasesCRAN page ↗

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
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-06
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 175 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
83%

Downloads

2.6K
CRAN downloads in the past year
Rank #10,976 · ~7/day · ~218/mo
Daily download trend is not available in this view yet.
16730 days
90690 days
2.6K1 year
Compare downloads with other packages →
Also on99 r2u16 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Maintainer
Authors (1)
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.0.0Latest
    2026-06-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.0
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2020-02-20
Total releases
2 / 6 yrs
License
GPL-3 OSI
Bundled data
52 KB / 1 file
Download size
243 KB
Installed size
not tracked yet
With dependencies
not tracked yet

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 is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-13. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-13, 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