MarketMatching: Market Matching and Causal Impact Inference

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

Version: 1.2.1
Depends: R (≥ 4.3.0)
Imports: ggplot2, dplyr, utils, iterators, doParallel, parallel, foreach, reshape2, CausalImpact, tidyr, zoo, bsts, scales, Boom, utf8, dtw
Suggests: knitr, rmarkdown
Published: 2024-01-31
DOI: 10.32614/CRAN.package.MarketMatching
Author: Larsen Kim [aut, cre]
Maintainer: Larsen Kim <kblarsen4 at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README
CRAN checks: MarketMatching results


Reference manual: MarketMatching.pdf
Vignettes: MarketMatching Vignette


Package source: MarketMatching_1.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): MarketMatching_1.2.1.tgz, r-oldrel (arm64): MarketMatching_1.2.1.tgz, r-release (x86_64): MarketMatching_1.2.1.tgz, r-oldrel (x86_64): MarketMatching_1.2.1.tgz
Old sources: MarketMatching archive


Please use the canonical form to link to this page.