DTComPair

Comparison of Binary Diagnostic Tests in a Paired Study Design

https://github.com/chstock/dtcompair

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords

clinical-epidemiology comparative-analysis cran diagnosis diagnostic-accuracy-studies diagnostic-likelihood-ratio diagnostic-tests medicine predictive-value r r-package sensitivity specificity
Last synced: 6 months ago · JSON representation

Repository

Comparison of Binary Diagnostic Tests in a Paired Study Design

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 2
Topics
clinical-epidemiology comparative-analysis cran diagnosis diagnostic-accuracy-studies diagnostic-likelihood-ratio diagnostic-tests medicine predictive-value r r-package sensitivity specificity
Created about 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# DTComPair DTComPair website



[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![CRAN status](https://www.r-pkg.org/badges/version/DTComPair)](https://CRAN.R-project.org/package=DTComPair)
[![](http://cranlogs.r-pkg.org/badges/last-month/DTComPair)](https://cran.r-project.org/package=DTComPair)
[![](http://cranlogs.r-pkg.org/badges/grand-total/DTComPair)](https://cran.r-project.org/package=DTComPair)


Comparison of the accuracy of two binary diagnostic tests in a "paired" study design, i.e. when each test is applied to each subject in the study.


## Installation

**CRAN**

You can install the current stable version from CRAN with:

```{r cran-installation, eval = FALSE}
install.packages("DTComPair")
```

**GitHub**

You can install the current development version from GitHub with:

```{r gh-installation, eval = FALSE}
if (!require("remotes")) {install.packages("remotes")}
remotes::install_github("chstock/DTComPair")
```

## Scope

Diagnostic accuracy measures that can be computed and compared are sensitivity, specificity, positive and negative predictive values, and positive and negative diagnostic likelihood ratios.  


## Getting Started

**Determine the accuracy of one diagnostic test**

```{r getting-started1}
library(DTComPair)
data(Paired1) # Hypothetical study data
a1 <- tab.1test(d=d, y=y1, data=Paired1)
print(a1)
a1 |> acc.1test(method.ci = "waldci") # default Wald intervals
a1 |> acc.1test(method.ci = "exactci") # Clopper-Pearson intervals
```

**Compare the accuracy of two diagnostic tests**

***Compute accuracy measures***
```{r getting-started2}
b1 <- tab.paired(d = d, y1 = y1, y2 = y2, data = Paired1)
print(b1)
b1 |> acc.paired(method.ci = "scoreci") # Wilson intervals
```

***Compare predictive values***

Test based on weighted generalized score statistic:
```{r getting-started3a}
pv.wgs(b1)  
```


Estimation and test of relative predictive values:
```{r getting-started3b}
pv.rpv(b1)
```


Owner

  • Name: Christian Stock
  • Login: chstock
  • Kind: user
  • Location: Ingelheim am Rhein, Germany
  • Company: Boehringer Ingelheim

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
Last Year
  • Issues event: 1
  • Watch event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 76
  • Total Committers: 3
  • Avg Commits per committer: 25.333
  • Development Distribution Score (DDS): 0.053
Past Year
  • Commits: 76
  • Committers: 3
  • Avg Commits per committer: 25.333
  • Development Distribution Score (DDS): 0.053
Top Committers
Name Email Commits
Stock,Dr.,Christian (MED BDS) BIP-DE-I c****k@b****m 72
anddis a****i@k****e 3
chstock c****k 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 8
  • Total pull requests: 5
  • Average time to close issues: 19 days
  • Average time to close pull requests: about 3 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 3.88
  • Average comments per pull request: 0.0
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: 30 days
  • Average time to close pull requests: about 2 hours
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 4.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • chstock (3)
  • anddis (3)
Pull Request Authors
  • anddis (5)
  • chstock (2)
Top Labels
Issue Labels
enhancement (5)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 340 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 12
  • Total maintainers: 1
cran.r-project.org: DTComPair

Comparison of Binary Diagnostic Tests in a Paired Study Design

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 340 Last month
Rankings
Downloads: 24.8%
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 30.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • PropCIs * depends
  • R >= 3.5.0 depends
  • ellipse * imports
  • gee * imports
  • knitr * suggests
  • rmarkdown * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite