Skip to content

MarketMatching

1.2.1

Market Matching and Causal Impact Inference

0packages depend
8.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

For a given test market find the best control markets using time series matching and analyze the impact of an intervention. The intervention could be a marketing event or some other local business tactic that is being tested. The workflow implemented in the Market Matching package utilizes dynamic time warping (the 'dtw' package) to do the matching and the 'CausalImpact' package to analyze the causal impact. In fact, this package can be considered a "workflow wrapper" for those two packages. In addition, if you don't have a chosen set of test markets to match, the Market Matching package can provide suggested test/control market pairs and pseudo prospective power analysis (measuring causal impact at fake interventions).

Install

Health

CRAN checks
13OK
Slowest check: 7.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 1,791 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
6includes a package overview page
Examples that run
0%5 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

8.9K
CRAN downloads in the past year
Rank #3,820 · ~24/day · ~738/mo
Daily download trend is not available in this view yet.
73330 days
2.4K90 days
8.9K1 year
Compare downloads with other packages →
Also on89 r2u10 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing MarketMatching adds 44 packages (25 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Boom 2.5 MB.

Depends (1)
R >= 4.3.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.1.1 (2018)
Releases (4)

Pick two releases to compare their code metrics.

  • 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
  • 1.2.1Latest
    record
    2024-01-31 · current release · diff ↗
  • 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
  • 1.2.0
    record
    2021-01-08 · diff ↗ ·
    added 2 exports
    roll_up_optimal_pairs, test_fake_lift
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.2
    record
    2019-07-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    record
    2018-11-14
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-11-14
Total releases
4 / 8 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.3.0
Bundled data
5.8 KB / 1 file
Download size
620 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MarketMatching")
Kim, L. (2024). MarketMatching: Market Matching and Causal Impact Inference (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.MarketMatching

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

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