Package: MarketMatching 1.2.1
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).
Authors:
MarketMatching_1.2.1.tar.gz
MarketMatching_1.2.1.zip(r-4.5)MarketMatching_1.2.1.zip(r-4.4)MarketMatching_1.2.1.zip(r-4.3)
MarketMatching_1.2.1.tgz(r-4.4-any)MarketMatching_1.2.1.tgz(r-4.3-any)
MarketMatching_1.2.1.tar.gz(r-4.5-noble)MarketMatching_1.2.1.tar.gz(r-4.4-noble)
MarketMatching_1.2.1.tgz(r-4.4-emscripten)MarketMatching_1.2.1.tgz(r-4.3-emscripten)
MarketMatching.pdf |MarketMatching.html✨
MarketMatching/json (API)
# Install 'MarketMatching' in R: |
install.packages('MarketMatching', repos = c('https://klarsen1.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/klarsen1/marketmatching/issues
- weather - Weather dataset
Last updated 9 months agofrom:85cdb5bbd2. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win | OK | Nov 15 2024 |
R-4.5-linux | OK | Nov 15 2024 |
R-4.4-win | OK | Nov 15 2024 |
R-4.4-mac | OK | Nov 15 2024 |
R-4.3-win | OK | Nov 15 2024 |
R-4.3-mac | OK | Nov 15 2024 |
Exports:best_matchesinferenceroll_up_optimal_pairstest_fake_lift
Dependencies:assertthatBoomBoomSpikeSlabbstsCausalImpactclicodetoolscolorspacecpp11doParalleldplyrdtwfansifarverforeachgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrproxypurrrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxtszoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
For each market, find the best matching control market | best_matches |
Given a test market, analyze the impact of an intervention | inference |
Market Matching and Causal Impact Inference | MarketMatching-package MarketMatching |
Roll up the suggested test/control optimal pairs for pseudo power analysis (testing fake lift) | roll_up_optimal_pairs |
Given a test market, analyze the impact of fake interventions (prospective power analysis) | test_fake_lift |
Weather dataset | weather |