Python Charts
    • Matplotlib 63 The core library, with full control over every element
    • Plotly 27 Interactive charts for the web and notebooks
    • Seaborn 17 Statistical plots straight from DataFrames
    • Pandas 8 Quick charts with df.plot()
    • Altair 5 Declarative charts built on Vega-Lite
    • Plotnine 3 ggplot2's grammar of graphics in Python
    • Streamlit 1 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 14 Evaluate and explain scikit-learn models
    • Causal Inference 10 Diff-in-diff, synthetic control, IV and more
    • AI 1 Use LLMs to build charts from your data
  • Python
  • All Posts
  • Ratio Metrics in A/B Tests: The Delta Method in Python
    A/B Testing

    Ratio Metrics in A/B Tests: The Delta Method in Python

    Analyze ratio metrics like click-through rate and revenue per session when you randomize by user. See why the naive test is too confident, compute a delta-method standard error in Python, and check it with a bootstrap and an A/A simulation.

    Nov 26, 2026
    ab testing experimentation ratio metrics delta method click-through rate bootstrap confidence interval pandas

Python plotting and visualization demystified

© 2026 PythonCharts.com. All rights reserved.
  • About
  • Credits
  • Privacy Policy