Learn R Programming

rollmatch (version 2.0.4)

Rolling Entry Matching

Description

Functions to perform propensity score matching on rolling entry interventions for which a suitable "entry" date is not observed for nonparticipants. For more details, please reference Witman et al. (2018) .

Copy Link

Version

Install

install.packages('rollmatch')

Monthly Downloads

170

Version

2.0.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rob Chew

Last Published

April 15th, 2025

Functions in rollmatch (2.0.4)

run_checks_two

Run checks on variable inputs
check_lookback

Run checks on variable lookback
compare_pool

Create a dataframe of comparisons between all treatment and control data.
make_output

Combine the results of rollmatch into a tidy list for output
run_checks_one

Run checks on variable inputs
trim_pool

Use a caliper to trim the data to only observations within threshold
score_data

Create propensity scores using a logistic or probit regression model
create_matches

Algorithm to find best matches from the comparison pool
reduce_data

Preprocessing Step to Rolling Entry Matching
rollmatch

Rolling entry matching
rem_synthdata_small

Synthetic dataset to illustrate rolling entry (small)
add_matches_columns

Create Additional Columns for the Matches Dataset
rem_synthdata

Synthetic dataset to illustrate rolling entry
add_balance_table

Add the balancing table to the final output