Skip to main content

A package for geographical incrementality testing

Reason this release was yanked:

It was a mistake to upload it; that version was for testing only.

Project description

Murray

Murray is a Python package for geographic incrementality testing that helps determine the true lift of marketing campaigns through advanced synthetic control methods. It generates heatmaps of Minimum Detectable Effects (MDE) across different configurations to optimize treatment selection, and provides impact analysis through counterfactual modeling.

Installation

You can install Murray using pip:

pip install murray-geo

Also, you can download the package by downloading it from the GitHub repository:

pip install pip install git+https://github.com/entropyx/murray.git

Prepare your data

data = pd.DataFrame({
'time': [...], # timestamps
'location': [...], # location identifiers
'Y': [...] # target metric values
})

Run analysis

results = run_geo_analysis(
    data = data,
    excluded_locations = ['mexico city', 'méxico'],
    maximum_treatment_percentage=0.30,
    significance_level = 0.1,
    deltas_range = (0.01, 0.3, 0.02),
    periods_range = (5, 45, 5)
)

Run evaluation

results = run_geo_evaluation(
    data_input=data,
    start_treatment='01-12-2024',
    end_treatment='31-12-2024',
    treatment_group=['durango','puebla','queretaro'], 
    spend=10000)

Documentation

You can check the documentation here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

murray_geo-1.0.0b6.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

murray_geo-1.0.0b6-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file murray_geo-1.0.0b6.tar.gz.

File metadata

  • Download URL: murray_geo-1.0.0b6.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for murray_geo-1.0.0b6.tar.gz
Algorithm Hash digest
SHA256 44e782144506028be8925dd7417e3617f6e2775ac928fee3349b80dabcb67060
MD5 c11be1cd4c58df5e86cad5b81f557716
BLAKE2b-256 369bcd9b64f410d7edd5e1b198c1b3e8f814435b9a09fd9ed75d69c539899f96

See more details on using hashes here.

File details

Details for the file murray_geo-1.0.0b6-py3-none-any.whl.

File metadata

  • Download URL: murray_geo-1.0.0b6-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for murray_geo-1.0.0b6-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8ef5ef46401747c36e5bf6b930bd55fa1996929b19ee1780a8ae95b8b6a38b
MD5 03ff8460bcafb1cb5cbf304394261ed1
BLAKE2b-256 3477ba0540ef81090cdd7d48ebeec7d7038e77996b7ca6bf12df4aae4f1b1206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page