QUICK START PACKAGE
Code + reproducible example
Canonical Python reference, simulated input, expected summary, dependencies and a ready-to-run example.
Download Python package ZIP · Visualscapy v1.0VISUALSCAPY CODE
Use the reference implementation to turn estimated direct and specific indirect effects into the Mediation Map and Mediator Fingerprint.
QUICK START PACKAGE
Canonical Python reference, simulated input, expected summary, dependencies and a ready-to-run example.
Download Python package ZIP · Visualscapy v1.0REFERENCE IMPLEMENTATION
Download the canonical implementation directly for integration into your existing analytical workflow.
Download reference .py Python · pandas · NumPy · MatplotlibRUN THE SIMULATED EXAMPLE
Extract the package, install its dependencies in a Python environment, then run the included example. It exports both views as SVG, PNG and PDF, plus a summary CSV.
The example contains simulated data, explicitly labelled in its exported figures.
python -m pip install -r requirements.txt
python generate_demo.pyThe code consumes component, mediator, specific_indirect and direct_effect. It validates pathways and derives I = Σ(aᵢbᵢ) and c = c′ + I. Mediation estimation and statistical inference remain in your original analytical workflow.