Skip to content

MarketMatching

Market Matching and Causal Impact Inference

v1.2.1 · Jan 31, 2024 · GPL (>= 3)

Description

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).

Downloads

553

Last 30 days

7289th

1.8K

Last 90 days

8.5K

Last year

Trend: -5.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 dplyr iterators doParallel foreach reshape2 CausalImpact tidyr zoo bsts scales Boom utf8 dtw MarketMatching

Version History

new 1.2.1 Mar 10, 2026
updated 1.2.1 ← 1.2.0 diff Jan 30, 2024
updated 1.2.0 ← 1.1.2 diff Jan 7, 2021
updated 1.1.2 ← 1.1.1 diff Jul 2, 2019
new 1.1.1 Nov 13, 2018