rollmatch

Rolling Entry Matching R Package

https://github.com/rtiinternational/rollmatch

Science Score: 49.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
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

econometrics evaluation healthcare matching propensity-scores
Last synced: 6 months ago · JSON representation

Repository

Rolling Entry Matching R Package

Basic Info
  • Host: GitHub
  • Owner: RTIInternational
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 107 MB
Statistics
  • Stars: 8
  • Watchers: 9
  • Forks: 2
  • Open Issues: 4
  • Releases: 2
Topics
econometrics evaluation healthcare matching propensity-scores
Created over 8 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

rollmatch

travis-ci build status CRAN statusbadge DOI

Rolling Entry Matching R Package

rollmatch is an R package designed to match study participants that start interventions at different times (rolling entry) with an appropriate comparison for the purpose of impact evaluation. Rolling entry presents several challenges for comparison group selection:

  • A small number of entrants in a period can hinder propensity score models
  • Precipitating events prior to entry may be hard to pin down, but generate changes in dynamic variables (e.g., utilization, spending)

This method, called Rolling Entry Matching, assigns potential comparison non-participants multiple counterfactual entry periods which allows for matching of participant and non-participants based on data immediately preceding each participant's specific entry period, rather than using data from a fixed pre-intervention period.

References

Video

Watch the Intro Video

Installation

```r

Install from CRAN:

install.packages("rollmatch")

Or try out the development version on GitHub:

install.packages("devtools")

devtools::install_github("RTIInternational/rollmatch") ```

Usage

```r

Load rollmatch

library(rollmatch)

Load sample dataset

data(package="rollmatch", "remsynthdatasmall")

Reduce the input dataset size, for matching

reduceddata <- reducedata(data = remsynthdatasmall, treat = "treat", tm = "quarter", entry = "entryq", id = "individ", lookback = 1)

Choose confounding variables hypothesized to be associated with both treatment and outcome

fm <- as.formula(treat ~ qtrpmt + yrpmt + age) vars <- all.vars(fm)

Calculate propensity scores for the reduced data

scoreddata <- scoredata(reduceddata = reduceddata, modeltype = "logistic", matchon = "logit", fm = fm, treat = "treat", tm = "quarter", entry = "entryq", id = "individ")

Run the rolling entry matching algorithm

output <- rollmatch(scoreddata, data=remsynthdatasmall, treat = "treat", tm = "quarter", entry = "entryq", id = "individ", vars = vars, lookback = 1, alpha = .2, standarddeviation = "average", num_matches = 3, replacement = TRUE)

View output matches and diagnostics

output ```

Owner

  • Name: RTI International
  • Login: RTIInternational
  • Kind: organization
  • Location: Worldwide

GitHub Events

Total
  • Watch event: 1
  • Push event: 3
Last Year
  • Watch event: 1
  • Push event: 3

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 63
  • Total Committers: 3
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.492
Top Committers
Name Email Commits
Rob r****w@r****g 32
krjones k****s@r****g 17
Rob Chew r****w@u****m 14
Committer Domains (Top 20 + Academic)
rti.org: 2

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 8
  • Total pull requests: 4
  • Average time to close issues: 16 days
  • Average time to close pull requests: about 2 months
  • Total issue authors: 6
  • Total pull request authors: 3
  • Average comments per issue: 0.88
  • Average comments per pull request: 0.25
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jeremysze (3)
  • scotopotomas (1)
  • santoshe1 (1)
  • NamitaPadgaonkar (1)
  • idest88 (1)
  • tanjaclark (1)
Pull Request Authors
  • rchew (3)
  • fossabot (1)
  • kaseyriver11 (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 213 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: rollmatch

Rolling Entry Matching

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 213 Last month
Rankings
Forks count: 17.8%
Stargazers count: 19.8%
Dependent packages count: 29.8%
Average: 32.3%
Dependent repos count: 35.5%
Downloads: 58.7%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.0.2 depends
  • dplyr >= 0.5.0 imports
  • magrittr >= 1.5.0 imports
  • stats * imports
  • testthat >= 1.0.2 suggests