Skip to main content

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 directly from the GitHub repository:

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', 'mexico'],
    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

Metadata

Release files for murray-geo 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for murray-geo 1.1.0
File Size Uploaded
murray_geo-1.1.0.tar.gz 26.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for murray-geo 1.1.0
File Interpreter ABI Platform
murray_geo-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.5 kB

Release files / murray_geo-1.1.0.tar.gz

Download URL murray_geo-1.1.0.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
49425402407e6c1240fcb21fd3d00b287431ef1de70473ec2f062d5aaec2fddc
BLAKE2b-256 checksum
How to use checksums
f4d5d1b498b644251a1dc9a2f56005cd23db93be3c7f4311f650c9ef6ed37ce8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

Release files / murray_geo-1.1.0-py3-none-any.whl

Download URL murray_geo-1.1.0-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c1889494f767f3f8f238412c1028eadba1e9536bb886f033498de41b4a204ff
BLAKE2b-256 checksum
How to use checksums
51ac3ba6f4538c869919f4a4f8effff8dd9876e6e0bd34c4cd1144960049eece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page